/ Published in: HTML
Remove the doctype and any xml namespace declarations from your header and quirks mode will take care of the rendering, additionally this fix is not compatible with IE8 rendering so we need to put IE8 in emulation mode
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<html> <head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="bar.css" /> </head> <body> <iframe id="frame" src="_" /> </body> ******* CSS ******* body { padding: 0px; margin: 0px; } #frame { border: none; width: 100%; height: 100%; } #bar { height: 50px; border-bottom: 3px solid #000000; }
URL: http://www.sitepoint.com/forums/showthread.php?t=633501