How can i make an iframe the absolute size of a web browser? I'm playing around with this (http://liquor.com/askmen-jardinie开发者_C百科re/) yet whatever I do in Firebug it's showing scrollers on the right and bottom. I've set the width/height to 100% but that doesn't work, auto width/height won't work, even setting scroller="no" or scrolling="no" isn't working.
Seeking a guru to lend a hand if possible. Any help would be greatly appreciated.
[EDIT] Aha I found the Answer (at least it seems like it):
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
</head>
<body style="paddin:0px;margin:0px;">
<iframe src="http://liquor.com/askmen-jardiniere/" scrolling="no" style="width:100%;height:100%;border:none;"/>
</body>
</html>
This is because browsers have default stylesheets and the put paddings for the Body tag.
精彩评论