Thu Feb 16, 2012 4:26 pm
<html>
<head>
<title>Wrapping text around an image</title>
<style type="text/css">
img.floatImage {
float: left;
margin-right: 2px;
margin-bottom: 1px;
}
img.nofloatImage {
margin-right: 2px;
margin-bottom: 1px;
}
</style>
</head>
<body>
<center>
<b> This example shows you the difference when using the float attribute with your image.
Using this attribute allow you to wrap the text around the image.
</b>
</center>
<p>
<img src="site_logo.gif" class="floatImage" alt="image" />
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
</p>
<p>
<img src="site_logo.gif" class="nofloatImage" alt="image" />
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
your content here. your content here. your content here. your content here.
</p>
</body>
</html>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.