View Full Version : whitespace on top of the frame using iframe
DNiXoNS
Nov 1st 2007, 7:13 pm
Hello
We have a website that uses Wordpress, and on one page I have use the <iframe> tags to insert a html page, but we are having one small problem, there is a white horizontal space on top of the <iframe> html page, what could be causing this problem? :confused:
Any help will be appreciated! :)
soulscratch
Nov 1st 2007, 7:14 pm
Are you using a universal reset?
soulscratch
Nov 1st 2007, 7:49 pm
Sorry if I misunderstood, but are you referring to the space at the top of the page, or the iframe? If it's the whole page, then the cause would be
.header {
background: url('img/backgr.gif') repeat-x;
height: 270px;
margin: 0 auto;
width: 760px;
padding-top: 18px;
/* padding-top sets page horizontal space */
If you were referring to something else, let me know.
DNiXoNS
Nov 1st 2007, 7:58 pm
Sorry if I misunderstood, but are you referring to the space at the top of the page, or the iframe? If it's the whole page, then the cause would be
If you were referring to something else, let me know.
Thanks, I was actually referring to the top of the iframe, it shows OK in Firefox but not in IE. In IE you will notice a white horizontal space on top of the iframe within the page.
Thanks again :)
DNiXoNS
Nov 1st 2007, 9:04 pm
Thanks for the help, your other suggestion on PM work! :) Green rep added!
style="margin: 0px; padding: 0px"
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.