Forum Moderators: not2easy
<div STYLE="float: right;"><img src="images/wg_lechatnoir_title2.gif" width="150" height="351"></div>
<div align="right"><img src="images/wg_lechatnoir_title1.gif" width="306" height="179"></div>
Also, I noticed that with borders on both the images and the DIV tags, it appears that the divs line up seamlessly, but the title1 image stays a few pixels away from being aligned to right...
Any ideas?
Thanks,
Tobyn.
P.S. Also, I hear the align="right" tag is depricated in the new standard, so what's a good alternative?
Thanks!
<div STYLE="float: right;"><img src="images/wg_lechatnoir_title2.gif" width="150" height="351"></div>
<div STYLE="float: right;"><img src="images/wg_lechatnoir_title1.gif" width="306" height="179"></div>
<DIV STYLE="margin-left: 10px; margin-right: 10px">
<p>
<b><div style="font-size: 14px; margin-left: 20px;">As the third in a weekly series searching for Whatcom’s best secret getaways, The AS Review takes aim at Le Chat Noir.</div></b>
<div style="clear: both; margin-left: 10px; margin-right: 10px">
<p style="font-size: 14px; font-weight: bold; margin-left: 20px;">As the third in a weekly series searching for Whatcom’s best secret getaways, The AS Review takes aim at Le Chat Noir.</p>
</div>
You should validate your code - <b> should not wrap a div, and a </p> and a </div> are missing.
Perhaps you need to rework your page design (determine where you want table/div) and rework code as a whole instead of picking away at it piecemeal.
Okay, I just tried it in a slightly different way!
Before, I had two images, one on the left, and one on the right. The one on the right was much taller than the one on the left, but I wanted the two to line up along the top and seamlessly come together, and have the bottom hang down. Then, I wanted text to fill in the space created on the left.
Now, I still have two images, but one takes up the whole top, and the other is floated to the right below it. Much simpler, and it works like a charm, now.
Unfortunately, I found I had to use the align="right" tag, as floating it to the right made the text wrap around it even with it set to clear both. Is there a way around that?
Thanks,
-Tobyn
<div STYLE="clear: both;" align="right"><img src="images/wg_lechatnoir_title1.gif"></div>
<div STYLE="float: right;"><img src="images/wg_lechatnoir_title2.jpg"></div>
<DIV STYLE="margin-left: 10px; margin-right: 10px;">