...

View Full Version : text wrap question...



chump2877
02-24-2005, 02: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:


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

<td>

<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>

</td>


</td>
</tr>
</table>
</center>

thanks.

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

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

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

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

rmedek --> :cool:

rmedek
02-24-2005, 03: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