M
my-wings
I have a page here: http://www.mywingsbooks.com/coll-terms/bce.shtml
That looks OK in IE but doesn't work in Navigator.
I have the following CSS coding in the document:
div.va img {
margin-left: 0px;
float: left;}
div.va p {margin-left: 455px;
margin-top: 0px;}
div.va br {clear: both}
hr {color: #0033ff;
height: 3px;
width: 100%}
There is additional CSS coding here:
http://www.mywingsbooks.com/css-ssi/main.css , but I don't think that is
making a difference.
The effect I'm trying to achieve is a picture 450px wide on the left and a
paragraph on the right with a horizontal rule at the end of the
picture/paragraph pair. Both the IMG and the P are within a DIV tag. The HR
element is between the DIV's. I also want to prevent the paragraph from
wrapping under the picture, hence the BR tag right before the end of each
paragraph. So...the whole set-up is this:
<div class="bodytext">
<div class="va">
<img>
<p>
some text<br>
</p>
</div>
<hr>
repeat from <div class="va"> to <hr> multiple times
</div>
It does what I want in IE, but in Netscape Navigator, the IMG's just stack
up on the left, and the paragraphs stack up on the right, and the HR's are
inserted after the end of the paragraphs and just slice across the images
wherever they happen to fall. I suspect I'm not using the "clear" properly
for the BR tag, since I don't think it's actually a block element, but the
W3schools Validator didn't give me an error for that, and I'm not sure
what's best to try next.
I would appreciate any suggestions.
Thanks!
Alice
That looks OK in IE but doesn't work in Navigator.
I have the following CSS coding in the document:
div.va img {
margin-left: 0px;
float: left;}
div.va p {margin-left: 455px;
margin-top: 0px;}
div.va br {clear: both}
hr {color: #0033ff;
height: 3px;
width: 100%}
There is additional CSS coding here:
http://www.mywingsbooks.com/css-ssi/main.css , but I don't think that is
making a difference.
The effect I'm trying to achieve is a picture 450px wide on the left and a
paragraph on the right with a horizontal rule at the end of the
picture/paragraph pair. Both the IMG and the P are within a DIV tag. The HR
element is between the DIV's. I also want to prevent the paragraph from
wrapping under the picture, hence the BR tag right before the end of each
paragraph. So...the whole set-up is this:
<div class="bodytext">
<div class="va">
<img>
<p>
some text<br>
</p>
</div>
<hr>
repeat from <div class="va"> to <hr> multiple times
</div>
It does what I want in IE, but in Netscape Navigator, the IMG's just stack
up on the left, and the paragraphs stack up on the right, and the HR's are
inserted after the end of the paragraphs and just slice across the images
wherever they happen to fall. I suspect I'm not using the "clear" properly
for the BR tag, since I don't think it's actually a block element, but the
W3schools Validator didn't give me an error for that, and I'm not sure
what's best to try next.
I would appreciate any suggestions.
Thanks!
Alice