FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

iFrame / Frame Weird Border Problem

 


Yazz
Yeah, I'm not too sure about why it's even happening, or what's causing it, but I'm getting these two white lines at the top and bottom of my frame.

Here is what it should look like.

Here is what it DOES look like.

I'm not sure why it's showing up. The difference between those two sites is that on frihost I eliminated one of my frames pages (there was one called main.html and it was seriously not doing anything but wasting bandwidth) But now that I've removed it, I get these white lines.

Can anyone shed some light on my problem? Thanks!

Oh, and I'd appreciate some feedback on my site, even though it's just a personal site. It took me some time to get it right. It's not 100% finished yet, though.

-Yazz
Nyizsa
You may try to enlarge the size of the iframe by ~30 pixels in both ways.
Code:
<iframe src="whatever.html" width=x height=y />

Increase x and y. Alternatively, you can reduce the size of the object you want to show in the iframe. There is a way to simply hide the scrollbars, but I can't remember how to do it. Also, it would cut your object.
Yazz
The iFrame holds the whole 550px by 550px site layout. I don't think that's the problem.



Edit: I figured it out. I was missing a border="0" attribute in my frameset tag.

Thanks for trying to help, though.

-Yazz
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.