Staredit Network

Staredit Network -> Computers and Technical -> iframe help
Report, edit, etc...Posted by chuiu on 2007-02-07 at 00:14:12
Well I've done some searches and played around with it for a while but I can't solve my problem. Whenever I use the code

CODE
<iframe src="http://www.staredit.net" title="Staredit" height="100%" width="100%" frameborder="0"
marginwidth="0" marginheight="0" vspace="0" hspace="0">
</iframe>


It displays the page in an iframe just fine, but there is like a 20 pixel or so border around the entire iframe that I cannot seem to get rid of. I've tried messing with the <body>, <iframe>, and even messing with <div> tags but I can't figure out how to get the iframe to extend to all sides of the page and display as if there was no iframe to begin with.
Report, edit, etc...Posted by Pie_Sniper on 2007-02-07 at 01:29:49
Have you tried

CODE
html, body
{
 padding: 0px;
 margin:  0px;
}

?
Report, edit, etc...Posted by Pyro-Fire on 2007-02-07 at 01:57:57
QUOTE(Pie_Sniper @ Feb 7 2007, 01:29 AM)
Have you tried

CODE
html, body
{
 padding: 0px;
 margin:  0px;
}

?
[right][snapback]624104[/snapback][/right]

he said border.

try:

<iframe src="http://www.staredit.net" style="border:0px;" />
Report, edit, etc...Posted by chuiu on 2007-02-07 at 09:33:36
Pie_Sniper was dead on with that, it worked. But I don't understand why putting that css in the <body> tag didn't work for me because thats one of the first things I tried. Thanks!
Next Page (1)