I'm working at the same objective here. I have two iframes, side by side, inside a div. The div has a border of 1px. When I use {float: left;} on the left iframe, it covers the div's left border. But when I use {float: right;} on the right iframe, it does NOT cover the div's right border.
To get the page to appear how I want, I only use the {float: right;}, but from what I know and have experiences with iframes and html, this shouldn't work this way. Can someone explain this to me?
And the reason I'm using the div tag is that I want my content centered on the page, and while "body {text-align: center;}" makes things look fine in IE, it does not in Firefox 4. If there are any ideas why this is so, please add to reply.
I'm working at the same objective here. I have two iframes, side by side, inside a div. The div has a border of 1px. When I use {float: left;} on the left iframe, it covers the div's left border. But when I use {float: right;} on the right iframe, it does NOT cover the div's right border.
To get the page to appear how I want, I only use the {float: right;}, but from what I know and have experiences with iframes and html, this shouldn't work this way. Can someone explain this to me?
And the reason I'm using the div tag is that I want my content centered on the page, and while "body {text-align: center;}" makes things look fine in IE, it does not in Firefox 4. If there are any ideas why this is so, please add to reply.
Thanks
sounds like a default css setting issue. post yer code in a new thread and we can take a look at it
I figured this out. Chrome reads carriage returns as white space, and thus, I needed to scale down my iframe so the whitespace plus the iframe would fit in the alotted space.
Bookmarks