M
my-wings
This is my last try before caving and going back to tables to align these
pages.
Here is the problem page:
http://www.mywingsbooks.com/coll-terms/TEST_HRinside.shtml
The page is divided as follows: below the navigation bar, "DIV.sidebar"
floats left and holds the side menu. "DIV.bodytext" holds the rest of the
page. Within "DIV.bodytext" are a sequence of picture/paragraph pairs, each
pair followed by a horizontal rule. Each set -- picture (floating left),
paragraph, and horizontal rule -- is enclosed by "DIV.va" tags. The
horizontal rule is set to "clear: both" and "width: 100%".
It looks fine in Netscape Navigator 7.1. In IE 6.0, there is a large space
below the first picture/paragraph combination before the second one starts.
(This will be most evident if your browser is sized so that the text is
shorter than the photograph in the first picture/paragraph set.)
This is because in Netscape, the horizontal rule only "clears both" sides
within the "DIV.va" tag, but in IE, the horizontal rule waits to print until
it's also cleared the "DIV.sidebar tag."
I've tried every permutation I can think of (HR's inside or outside the
"DIV.va" tag, "clear: both" or "clear: none", completely removing the HR's)
and I just can't get this to work.
Can anyone see anything I'm overlooking? I would appreciate any suggestions
or comments.
Alice
pages.
Here is the problem page:
http://www.mywingsbooks.com/coll-terms/TEST_HRinside.shtml
The page is divided as follows: below the navigation bar, "DIV.sidebar"
floats left and holds the side menu. "DIV.bodytext" holds the rest of the
page. Within "DIV.bodytext" are a sequence of picture/paragraph pairs, each
pair followed by a horizontal rule. Each set -- picture (floating left),
paragraph, and horizontal rule -- is enclosed by "DIV.va" tags. The
horizontal rule is set to "clear: both" and "width: 100%".
It looks fine in Netscape Navigator 7.1. In IE 6.0, there is a large space
below the first picture/paragraph combination before the second one starts.
(This will be most evident if your browser is sized so that the text is
shorter than the photograph in the first picture/paragraph set.)
This is because in Netscape, the horizontal rule only "clears both" sides
within the "DIV.va" tag, but in IE, the horizontal rule waits to print until
it's also cleared the "DIV.sidebar tag."
I've tried every permutation I can think of (HR's inside or outside the
"DIV.va" tag, "clear: both" or "clear: none", completely removing the HR's)
and I just can't get this to work.
Can anyone see anything I'm overlooking? I would appreciate any suggestions
or comments.
Alice