Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Code Formatting  RSS feed

 
Michael Burke
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I notice that a lot of times when code is part of a message the font size is very small making it hard to read. Why is that and can I change the size to make it more readable? Also, what exactly is UBB code and or code tags, are they one and the same and what is the benefit of using them?
 
paul wheaton
Trailboss
Posts: 22521
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never tried tweaking the size or font from within a message. That should be interesting.
UBB codes are the ones that are provided by the software we use. UBB codes will work in every forum, whereas some forums have HTML turned off.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're using MS Internet Explorer 5, you can find options under View -> Text Size to change the displayed text size. Other versions and other browsers probably also have a feature like this somewhere if you look.
[This message has been edited by Jim Yingst (edited November 26, 2000).]
 
Marilyn de Queiroz
Sheriff
Posts: 9080
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll find a link to UBB Code under the Submit Reply button when you edit or compose a message. Follow the UBB Code link to see what tags are available and how to use them.

[This message has been edited by Marilyn deQueiroz (edited November 27, 2000).]
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul, there should be an option in UBB to change the default font size when using UBB tags.
 
paul wheaton
Trailboss
Posts: 22521
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The new version of UBB has a lot of new stuff in it including fixes for some problems we have been experiencing. Check www.infopop.com for the latest info. Maybe it's time to upgrade.
 
Michael Burke
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the replies. I can change the font under IE 5 but then the non-UBB text becomes too big. Switching back and forth between font sizes is the only option at present.
 
Rick Reumann
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the verdict on this? Is there a way to make the font larger when I use the UBB code tags? It's not a large problem for me right now because I've switched to using Opera since it retains the formatting for when I cut and paste code into my IDE and Opera displays the text between code tags much better than IE. However, most people still use IE and the text really small between UBB code tags. Yes, you can increase the view under tools but this increases the size of all the fonts which is really annoying. I used to be able to get around this by using html tags in the programmers certification forum but am I to assume that is now turned off in that forum? If it is, is there some work around to make code look larger?
( I also would love to be able to have all messages from a particular forum be mailed to me as they are posted ).
 
Pauline McNamara
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this: use html font tags with size=+1 just outside the ubb code tags.

font size + 1:



[ January 22, 2002: Message edited by: Pauline McNamara ]
 
Marilyn de Queiroz
Sheriff
Posts: 9080
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used to be able to get around this by using html tags in the programmers certification forum but am I to assume that is now turned off in that forum?

That won't work, Pauline. Html is now turned off in that forum because it creates problems when posting code. I have my IE fonts set to
Times New Roman and Lucinda Sans Typewriter, View Size = medium. It's not great, but it seems to be better.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!