View Full Version : text wrap question...

02-24-2005, 01:02 AM
another easy one, probably....

I want the text to be flush at the top and right of the image, inside the table cell....

Here is my code:

<table border="1" cellpadding="10" cellspacing="0" width="100%">


<div><IMG SRC="ASUS_P4SP-MX_SiS651_2.jpg" style="margin:0;margin-right:10"></div>
<div style="float:right"><span style="font-weight:bold">Mother Board -</span><span> Socket 478 for Intel Pentium 4/ Celeron On-die 512KB/256KB L2 Cache with full speed Intel® Hyper-Threading Technology. Supports next generation Intel Prescott CPU.<br>Price</span><span style="color:red"> $56.71</span><br><span>Part#MB1212</span></div>




02-24-2005, 01:18 AM
Remove the float: right;
On the div which contains the image, add float: left;

02-24-2005, 01:20 AM
You could even remove all the divs and simply float the image itself left

02-24-2005, 01:33 AM
oof... I'm seeing double (http://codingforums.com/showthread.php?t=53085). :)

02-24-2005, 02:09 AM
Excellent, thanks, that worked.... :thumbsup:

rmedek --> :cool:

02-24-2005, 02:12 AM
Excellent, thanks, that worked.... :thumbsup:

rmedek --> :cool:

The big difference between my answer and this one is that shlagish knows how to answer a post in less than three zillion words... :D

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum