![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have the font size for pre tags defined in a CSS stylesheet. This works in Firefox, but the text displays too large in IE as it seems to completely be ignoring the "font-size" property. This causes the box to be to large and screw other properties up. the code is: pre { border:1px solid #56b7f4; padding:3px; margin-right:1px; font-family:Courier,"Courier New","fixed width"; font-size:11px; background-color:#0062a0; } so you can see it, the page is at http://www.incrediblecss.com/csstutorial/intro.php |
#3
| |||
| |||
|
|
On 2006-08-06, adamstoffel (AT) gmail (DOT) com wrote: I have the font size for pre tags defined in a CSS stylesheet. This works in Firefox, but the text displays too large in IE as it seems to completely be ignoring the "font-size" property. This causes the box to be to large and screw other properties up. the code is: pre { border:1px solid #56b7f4; padding:3px; margin-right:1px; font-family:Courier,"Courier New","fixed width"; font-size:11px; background-color:#0062a0; } so you can see it, the page is at http://www.incrediblecss.com/csstutorial/intro.php You have more problems than that. Take a look at how it appears in my browser: http://cfaj.freeshell.org/web/examples/incrediblecss.jpg>. I would suggest that you learn more about CSS before trying to teach others how to use it. Get rid of the fixed widths in pixels, get rid of font-sizes in pixels, and most of your problems will disappear. |
#4
| |||
| |||
|
|
On 2006-08-06, adamstoffel (AT) gmail (DOT) com wrote: so you can see it, the page is at http://www.incrediblecss.com/csstutorial/intro.php You have more problems than that. Take a look at how it appears in my browser: <http://cfaj.freeshell.org/web/examples/incrediblecss.jpg>. |
|
I would suggest that you learn more about CSS before trying to teach others how to use it. |
|
Get rid of the fixed widths in pixels, get rid of font-sizes in pixels, and most of your problems will disappear. |
#5
| |||
| |||
|
|
Chris F.A. Johnson wrote: On 2006-08-06, adamstoffel (AT) gmail (DOT) com wrote: so you can see it, the page is at http://www.incrediblecss.com/csstutorial/intro.php You have more problems than that. Take a look at how it appears in my browser: <http://cfaj.freeshell.org/web/examples/incrediblecss.jpg>. How did you get to see .. um .. words? |
|
Here's what I see: http://k75s.home.att.net/show/incrediblecss.jpg |
|
I would suggest that you learn more about CSS before trying to teach others how to use it. Second the motion. <g Get rid of the fixed widths in pixels, get rid of font-sizes in pixels, and most of your problems will disappear. ..and that font Helv. |

![]() |
| Thread Tools | |
| Display Modes | |
| |