This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Learn Java with Math: Using Fun Projects and Games and have Ron Dai on-line!
See this thread for details.
Win a copy of Learn Java with Math: Using Fun Projects and Games this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Code Formatting

 
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?
 
Trailboss
Posts: 23036
IntelliJ IDE Firefox Browser 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.
 
Wanderer
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).]
 
Sheriff
Posts: 9099
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).]
 
mister krabs
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: 23036
IntelliJ IDE Firefox Browser 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.
 
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 ).
 
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: 9099
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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!