PDA

View Full Version : [SOLVED] No borders/padding on an iframe?



Dustin2128
April 28th, 2011, 11:49 PM
I'm working on a social website for my friends and me to use, and I'm going for a more... unified look and feel. The website contains a forum, however, which cannot be made to cleanly integrate into the rest of the website. So what I did was I created a page with both the title/navbar, and a frame pointed at the forum. However, there are two things that annoy me about this solution:
A. The frame does not occupy all of the width of the body- there are slivers on the left right and bottom where undesired strips of background image can be seen, and
B. The frame has a border that cannot be removed with border="0". Ideas?
EDIT: Resolved A, but b is a standing issue.

myrtle1908
April 29th, 2011, 01:34 AM
B. The frame has a border that cannot be removed with border="0".


style="border:0px"

or


style="border:none"

One of those oughta do it ... untested.

fdrake
April 29th, 2011, 02:05 AM
check this site :http://devedge-temp.mozilla.org/library/manuals/1998/htmlguide/tags11.html

Dustin2128
April 29th, 2011, 02:40 AM
style="border:0px"or


style="border:none"One of those oughta do it ... untested.
ah, thanks, that fixed it!