Flash, frames, html, annoying gaps

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.

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”.

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.

Thanks guys! I think I’ve got it sussed now.