PDA

View Full Version : IE doesn't like my CSS


Darth Evad
08-26-2004, 06:22 PM
in firefox the font is the proper size.
in IE the font is HUGE for centerrow!

body {
background-image: url(http://www.whopissedyouoff.com/images/forumbg.gif);
color: #0066b2;
font-family: arial;
font-size: 12px;
}

a:link {
color: #0066b2;
text-decoration: none;
}

a:visited {
color: #0066b2;
text-decoration: none;
}

a:hover {
color: #0066b2;
text-decoration: underline;
}

.smaller {
font-size: small;
}

.small {
background-color: white;
font-size: x-small;
}

.centerrow {
background-color: white;
color: black;
padding-left: 0.25cm;
font-size: 12px;
}

.header {
background-image: url(http://www.whopissedyouoff.com/images/header_fill.jpg);
background-repeat: repeat-x;
font-size: 16px;
}

.quote {
font-weight: bold;
font-size: small;
}


------------------
Pissed off? (http://www.whopissedyouoff.com)

[This message has been edited by Darth Evad (edited August 26, 2004).]

Aaron
08-26-2004, 10:15 PM
Seems normal when I tried it. Possibily you have the text size under view set to a larger size?

Impi
08-27-2004, 02:10 AM
Try it without spaces, like so:

body {
background-image:url(http://www.whopissedyouoff.com/images/forumbg.gif);
color:#0066b2;
font-family:arial;
font-size:12px;
}


I heard that some browsers have problems with spaces.

------------------
Sorry for the lousy English

Cool Matty
08-27-2004, 06:31 AM
Make sure in the center row itself that it doesn't have any overriding font sizes. Even plain HTML will override CSS in some cases.

------------------
"The future is not determined by a throw of the dice, but is determined by the conscious decisions of you and me."
I am addicted to ellipses!!! AHHH!!! ...
Make Sorrowind Worthwhile... join it! http://sorrowind.net

Aaron
08-27-2004, 09:44 AM
<font face="Verdana, Arial" size="2">Originally posted by Cool Matty:
Make sure in the center row itself that it doesn't have any overriding font sizes. Even plain HTML will override CSS in some cases.

</font>

Though poor style, I think that behavior is by spec.

Cool Matty
08-27-2004, 06:25 PM
It's by design, and for good reason. Sometimes you want just one item to have a different size or something, that's why inner CSS works before outer CSS.

------------------
"The future is not determined by a throw of the dice, but is determined by the conscious decisions of you and me."
I am addicted to ellipses!!! AHHH!!! ...
Make Sorrowind Worthwhile... join it! http://sorrowind.net

herb
08-27-2004, 11:32 PM
It's a good idea to use pt or em instead of pixels. It allows for consistent sizing between browsers (with a bit of extra work admittedly, but it also resizes when you change the browser from "Medium" to something else).

Darth Evad
08-28-2004, 05:43 PM
blech...

it was the font size setting in ie.

thanks everyone.

------------------
Pissed off? (http://www.whopissedyouoff.com)