otuatail Posted April 15, 2011 Share Posted April 15, 2011 I have a default fon, size and color on the web page. Table ignores size * { padding: 0; margin: 0px; } body { font-family: Impact; font-size: 10px; color: #00aa00; } http://www.des-otoole.co.uk/streetangels/News/Threads.php Any reson for this please. Desmond. Quote Link to comment Share on other sites More sharing options...
analog Posted April 15, 2011 Share Posted April 15, 2011 The HTML is being rendered in Quirks Mode which causes some legacy behavior meaning that the font size isn't inherited properly. See http://devedge-temp.mozilla.org/viewsource/2002/table-inherit/ If you put a doctype at the top it should fix it. e.g. put: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> at the very top of the HTML that should fix it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.