Teen Programmers Unite  
 

 

Return to forum top

add a CSS varible for the fixed width font

Posted by AnyoneEB [send private reply] at May 13, 2002, 03:08:21 PM

On my computer, and on other people's computers, the fixed-width font shows up too small, and IE has no way to change the size, just what font shows up. If possible please add an entry in the CSS file to be changed for the fixed-width font or explain to me how to do it myselfsince I'm new to CSS.

Posted by Psion [send private reply] at May 13, 2002, 03:11:31 PM

It just uses <pre> tags, so there must be a way to modify that using CSS! I have no idea how to do it, however!

Posted by AnyoneEB [send private reply] at May 13, 2002, 04:21:09 PM

got it, add the following code to your css file.

PRE {
	//css stuff for the fixed-width font
}


I tested it by changing the color and it worked.
Posted by taubz [send private reply] at May 13, 2002, 04:21:12 PM

Add to the CSS file:

PRE { font-size: 10pt }


or whatever point size looks best. You can get more control with:

PRE { font-family: Courier New; font-size: 10pt }


- taubz
Posted by AnyoneEB [send private reply] at May 13, 2002, 04:22:03 PM

beat ya! :)

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.