Thu Feb 16, 2012 4:09 pm
<html>
<head>
<title>Change the float of the img</title>
<style type="text/css">
P {
background:#4BF
}
img.leftImage {
float: left
}
img.rightImage {
float: right
}
</style>
</head>
<body>
<p>
In this example we change the flot of the img tag.
</p>
<p> Left float image </p>
<img src="site_logo.gif" class="leftImage" alt="leftImage" />
<p align="right">Right float image </p>
<img src="site_logo.gif" class="rightImage" alt="rightImage" />
</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.