XHTML META corrupts CSS on NN4/Mac ?! - TechRepublic
General discussion
October 27, 2001 at 05:39 AM
cres

XHTML META corrupts CSS on NN4/Mac ?!

by cres . Updated 24 years, 8 months ago

Trying to push a few of my pages to validate under the latest XHTML standards, I took the advice of the HTML validator at the w3c site to add the following META tag to the head section of each page:

For some reason, however, this seemed to disturb the CSS formatting for font-family display in Netscape 4.7 for the Mac, as all the fonts rendered as Times Roman instead of the “Verdana,Arial,Helvetica,sans-serif” that I’d coded for. This didn’t happen in any other browser that I tested (MSIE/Win, Netscape 4/Win, or MSIE/Mac).

When I deleted this META tag and made no other changes, the pages displayed in sans-serif as I’d coded, although they will no longer validateat the w3c validator that way.

Anyone know a fix for this that will let the page validate?

This discussion is locked

All Comments