Forum Moderators: open

Message Too Old, No Replies

Blank vertical space between frames

         

nube101

3:41 pm on Aug 13, 2007 (gmt 0)

10+ Year Member



Hello!

I continue to get a blank vertical space between 2 frames.
(Scratches head!)

My code is:

<frameset cols="212,*">
<frame name="lh" src="lh_side.html" frameborder="0">
<frame name="rh" src="rh_side.html" frameborder="0">
</frameset>

The L/H frame is longer than the screen, so there is
a scroll bar. Just to the right of that scroll bar is
the white space. How to get rid of it, please?

The_Hat

7:27 pm on Aug 13, 2007 (gmt 0)

10+ Year Member



try frameborder="no" instead

lavazza

9:32 pm on Aug 13, 2007 (gmt 0)

10+ Year Member



For cross-browser compatibility:
FRAMEBORDER=NO FRAMESPACING=0 BORDER=0

------
FRAMES=NO might be even better ;)

tedster

5:31 am on Aug 14, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As I recall, for really strong cross-browser results you need attributes in both the frameset tag and in each frame tag.

<frameset frameborder="no" framespacing="0" border=0>
<frame frameborder="0">

Note: in the <frameset> tag, I used frameborder="no", but in the <frame> tag, I used frameborder="0". Also make sure that the body element of the framed document has zero margin and/or borders.

I haven't used frames in a long time, and I don't recall anymore which browsers needed which attributes, but I do recall getting crazy before I pinned it all down. These attributes are not all W3C "valid", but they don't generate true errors, either.

nube101

7:01 pm on Aug 14, 2007 (gmt 0)

10+ Year Member



The Hat, lavazza and tedster,

It is so fine to no longer see that divider.

Thank you all.