|
Convenient web based access to our favorite web design Usenet groups
|
 |
This is Interesting: Free Magazines for Graphics designers and webmasters
| Author |
| Thread |
 |
|
|
|
|
|
 |
 |
|
|
 |
 |
Re: Without Microsoft font specs x-small is bigger than small for Verdana |
 |
|
 |
|
|
|
  07-17-04 - 09:15 AM
|
"Randall Parker" <techiepundit@futurepundit.com> wrote in message
news:d7ce4c24.0407161503.68b6064a@posting.google.com...
> Using IE 6.x (whatever is the latest) on Windows 2000.
>
> For these two CSS definitions if I remove the 2 lines that have the
> "mso-" font family definitions (mso-fareast-font-family, and
> mso-bidi-font-family) then the "SmallerText" assigned as a class to a
> div tag produces larger text than the "SmallerText2". So x-small is
> treated as a bigger font size than plain old small.
>
> How the heck is one supposed to know all the MS stuff one needs to add
> to CSS to make CSS behave the way it is supposed to in IE?
>
> Also, x-small, small and medium are bigger in IE than in Mozilla. How
> to adjust for this to make pages look the same on both browsers and
> yet still use relative font sizes?
>
>
> div.SmallerText
> {color:#000;
> margin:0in;
> margin-bottom:.0001pt;
> punctuation-wrap:simple;
> text-autospace:none;
> font-size:x-small;
> font-family:"Verdana,Arial";
> mso-fareast-font-family:"Verdana,Arial";
> mso-bidi-font-family:"Verdana,Arial";}
> div.SmallerText2
> {color:#000;
> margin:0in;
> margin-bottom:.0001pt;
> punctuation-wrap:simple;
> text-autospace:none;
> font-size:small;
> font-family:"Verdana,Arial";
> mso-fareast-font-family:"Verdana,Arial";
> mso-bidi-font-family:"Verdana,Arial";}
A few things,
First, your CSS is not valid. Run it through the CSS validator. E.g., in
font-family:"Verdana,Arial", drop the quotes: there is no font named
"Verdana,Arial".
Second, mso-fareast-font-family and mso-bidi-font-family are not valid CSS.
I don't know what IE will do with this, but other browsers will ignore it.
Third, punctuation-wrap is also not valid CSS. Neither is text-autospace.
Fourth, font sizing is different with IE6 than it is with IE 4 or IE5. You
should code around this.
I suggest that you review the CSS specs and go back to the drawing board.
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
| All times are GMT. The time now is 04:32 AM. |
 |
|
|
|
|
|  |
|