tags:

views:

48

answers:

3

Hi!

When I do this:

<iframe src="mypage.html" style="border: 0; width: 100%; height: 100%">Your browser doesn't support iFrames.</iframe>

It doesn´t go all the way... a +- 10px white "border" surrounds the iframe, how could I solve this?

Thanks in advance!!

TRufa

EDIT:

An image of the problem. maybe it is clarifying:

http://pimod.com/mvdsimple/

alt text

BTW could it be that scrolling=no does not work in chrome? is this topic for another question?

+3  A: 

Impossible to say without seeing a live example, but try giving both bodies margin: 0px

Pekka
please look at my edit, thank you!!
Trufa
@Trufa it could be the margin, but it could also be something else. Best use Firebug's "Layout" view to find out
Pekka
Thank you very much Pekka!!! anyway @kevingessner nailed it!
Trufa
A: 

try frameborder=0

Newbie
Thanks but that is "inside the iframe" I needed to modify the outside (I didnt know that until @kevingessner answer) thank you!!
Trufa
+2  A: 

The body has a default margin in most browsers. Try:

body {
    margin: 0;
}

in the page with the iframe.

kevingessner
Perfect!!! worked like a charm! thank you very much!!
Trufa