View Full Version : Flash, frames, html, annoying gaps
pissant
August 25th, 2003, 07:57 AM
Ho hum...I decided to make a flash nav bar in a seperate frame for an html site. But I cannot for the life of me stop the gap appearing between the two frames using tables. Using layers / <div>, it works (because of the absolute alignment?).
I was just wondering if the problem could be solved with tables, for the sake of completeness?
Cheers.
abzoid
August 25th, 2003, 09:58 AM
It sounds like you've failed to set some f the table attributes to zero, border and cellspacing must be explicitly set to zero or they will default to 2 pixels. You may also need to set the page margins to zero. Within the BODY tag set leftmargin="0" topmargin="0" marginwidth="0" marginheight="0".
JMS
August 25th, 2003, 09:25 PM
Frames can be a real pain. I have found that unless they are a round number like say 80px or 90px rather than 83px they do random things. Especially in netscape.
Resize the browser and the frames adjust by a couple of pixels. Resize again and the frames adjust again. If you really have to use frames, make sure you make the size multiples of 10. Works for me.
Also, remember that while each page has its own margins you can set to 0, the frameset can also set the margin of the page to be loaded. Make sure you set both.
pissant
August 26th, 2003, 10:23 AM
Thanks guys! I think I've got it sussed now.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.