...

View Full Version : Aligning images with wrapping text



heppy
09-15-2007, 05:53 PM
Alright here it is, another one of these stupid situations that anyone can code, except me. I want to align both images to the right, seemlessly, and have the text wrap perfectly around them. This is somewhat foolish because this has to be in a e-mail, so no negative padding/margins and so on (there went the wrong, yet easy way). Anyways I appreciate the help.


<div style="padding-top: 40px">
<a href="http://www.cpifoam.com/prd-psr.htm">
<div align="right" style="clear: right; margin: 0px; padding: 0px">
<img style="margin: 0px; padding: 0px" src="http://cpifoam.com/images/trailers-1.jpg" border="0" alt="" width="217" height="105" />
</div>
<div style="float: right; margin: 0px; padding: 0px">
<img style="margin: 0px; padding: 0px" src="http://cpifoam.com/images/trailers-2.jpg" border="0" alt="" width="108" height="125" />
</div>
</a><span style="font-weight: bold; font-size: 1.07em; color: #000000; font-family: Verdana, Arial; text-decoration: underline">Mobile Spray Rigs by CPI</span><br />
<br />
Almost everybody in our industry is faced with this question: should I build my own mobile spray rig or buy a finished one. We think most people, who choose to build their own do it because they think they&rsquo;ll save money. We think the only way you will save money is if you don&rsquo;t count your own time. First of all, you&rsquo;ll have to deal with about 15 vendors &ndash; a time-consuming process if you want to get competing bids from most of them. Then there may be custom items like hose racks or barrel braces. Often do-it-yourselfers go with compromises &ndash; resulting in less than perfect rigs. Now consider a professionally manufactured rig by CPI. On average, we build a rig every four work days, which has allowed us to optimize procurement, production, and customization. All our trailers feature the sharp CPI silver look and include full business and spray training in our Foam School, not to mention our life-time free technical support by phone! The real surprise: fully equipped Contractor Series with a Graco E-20, generator, compressor, fresh air system, etc. start at $41,900. We&rsquo;ve heard a number of times from our customers: &ldquo;If we built it ourselves, we would spend 150 hours and still pay more&rdquo;. For the ultimate rig with separate power and foam compartments, hydraulic foam machine, air conditioning, 40 kW diesel generator and even a refrigerator to keep your drinks and sandwiches cool, check out our Platinum Series. Prices start at $63,850.
</div>

rams1703
09-15-2007, 06:18 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<div style="padding-top: 40px">
<a href="http://www.cpifoam.com/prd-psr.htm">
<div style="clear: right;float:right; margin: 0px; padding: 0px;">
<img style="margin: 0px; padding: 0px" src="http://cpifoam.com/images/trailers-1.jpg" border="0" alt="" width="217" height="105" />
</div>
<div style="float: right; margin: 0px; padding: 0px">
<img style="margin: 0px; padding: 0px" src="http://cpifoam.com/images/trailers-2.jpg" border="0" alt="" width="108" height="125" />
</div>
<!--<div style="clear:both;"></div>--> <!--This tag is for bring all content to bottom of the image.-->
</a><span style="font-weight: bold; font-size: 1.07em; color: #000000; font-family: Verdana, Arial; text-decoration: underline">Mobile Spray Rigs by CPI</span><br />
<br />
Almost everybody in our industry is faced with this question: should I build my own mobile spray rig or buy a finished one. We think most people, who choose to build their own do it because they think they&rsquo;ll save money. We think the only way you will save money is if you don&rsquo;t count your own time. First of all, you&rsquo;ll have to deal with about 15 vendors &ndash; a time-consuming process if you want to get competing bids from most of them. Then there may be custom items like hose racks or barrel braces. Often do-it-yourselfers go with compromises &ndash; resulting in less than perfect rigs. Now consider a professionally manufactured rig by CPI. On average, we build a rig every four work days, which has allowed us to optimize procurement, production, and customization. All our trailers feature the sharp CPI silver look and include full business and spray training in our Foam School, not to mention our life-time free technical support by phone! The real surprise: fully equipped Contractor Series with a Graco E-20, generator, compressor, fresh air system, etc. start at $41,900. We&rsquo;ve heard a number of times from our customers: &ldquo;If we built it ourselves, we would spend 150 hours and still pay more&rdquo;. For the ultimate rig with separate power and foam compartments, hydraulic foam machine, air conditioning, 40 kW diesel generator and even a refrigerator to keep your drinks and sandwiches cool, check out our Platinum Series. Prices start at $63,850.
</div>
</body>
</html>


gud day,
rams

heppy
09-15-2007, 06:22 PM
I want to have the first text, wrapped in the <span>, start inline with the first image and then the text continue wrap down.

Again all of this code is actually contained within and <td> so i'm not sure if that somehow affects it, because when i copied this code in the images are not even on two seperate lines, trailers-1 is aligned to the right and trailers-2 is directly to the left of trailers-1.

rams1703
09-15-2007, 06:40 PM
do u want to align image one on left & other on right ?

or else draw ur requirement & attach it !

regards,
rams



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum