DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
rameshrr3



Group memberships:
Premium Members

Joined: 10 May 2004
Posts: 597
Location: BRENTWOOD, TN
Points: 6741

Post Posted: Thu Mar 27, 2014 3:46 pm Reply with quote    Back to top    

One problem I see with the famous 'Code tags ' is that they are related to the Font type - Courier New , So when i have a different plain text font in my browser - like consolas or lucida typewriter , they dont show up as plaintext . So the webmaster or site manager needs to make sure code tags display as plain text not Courier [ an eyesore of a font Sad ]
asorrell
Site Admin

Group memberships:
Premium Members, DSXchange Team, Inner Circle, Server to Parallel Transition Group

Joined: 04 Apr 2003
Posts: 1637
Location: Colleyville, Texas
Points: 22256

Post Posted: Mon Mar 31, 2014 9:16 am Reply with quote    Back to top    

I don't think that it can be done on this version of phbb. This is an ancient version and there aren't a lot of BBCode options. If someone knows how, please let me know!

_________________
Andy Sorrell
Certified DataStage Consultant
IBM Analytics Champion 2009 - 2017
Rate this response:  
Not yet rated
chulett

Premium Poster


since January 2006

Group memberships:
Premium Members, Inner Circle, Server to Parallel Transition Group

Joined: 12 Nov 2002
Posts: 42285
Location: Denver, CO
Points: 217115

Post Posted: Mon Mar 31, 2014 9:29 am Reply with quote    Back to top    

Pulled this conversation off into a more appropriate forum.

_________________
-craig

Watch out where the huskies go and don't you eat that yellow snow
Rate this response:  
Not yet rated
qt_ky



Group memberships:
Premium Members

Joined: 03 Aug 2011
Posts: 2668
Location: USA
Points: 19836

Post Posted: Sat May 10, 2014 2:07 pm Reply with quote    Back to top    

The Courier hasn't bothered me too much over the years, although I do prefer Consolas because out of the fonts mentioned it's the only one that actually puts slashes through zeros to distinguish them from letter O... very helpful for code (and passwords).

Another important aspect of code tags is that they are monospaced or fixed-width (vs. delimited Wink ). You don't want to lose fixed-width by choosing the wrong font or by choosing a font that not everyone has installed. Courier is probably universal. Not sure about Consolas outside of Windows; that would need a bit of research to see what happens on a smart phone, tablet (or Mac).

Someone with site access could update the "code" class in only one place in the main.css file to affect code tags site wide, after testing such a change elsewhere first:

Code:
/* Code blocks */
.code{background:#fafafa;border:1px solid #d1d7dc;color:#006600;
font:11px Courier,"Courier New",sans-serif;padding:5px}

_________________
Choose a job you love, and you will never have to work a day in your life. - Confucius
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours