Template Categories

templates categories Automobiles
templates categories Business
templates categories CSS Templates
templates categories E-Commerce
templates categories Education
templates categories Fashion
templates categories Greeting Cards
templates categories Hotels
templates categories Jewelry
templates categories kids
templates categories Models
templates categories Music - Films
templates categories Night Club
templates categories Real Estate
templates categories Restaurant
templates categories Software
templates categories Sports
templates categories Travel
templates categories Web-design
templates categories Wedding

Tutorial Categories

tutorial categories AJAX
tutorial categories CSS
tutorial categories Dreamweaver
tutorial categories Flash
tutorial categories FTP - File Transfer
tutorial categories HTML Emails
tutorial categories Javascript
tutorial categories Microsoft Excel
tutorial categories Microsoft Windows
tutorial categories Microsoft Word
tutorial categories MySql
tutorial categories Photoshop
tutorial categories Php
tutorial categories Windows Movie Maker
tutorial categories Xhtml / Html
SIMPLE CSS FLOAT TUTORIALS

CSS FLOAT TUTORIALS

 

float example

Here the image is set to float left with a text padding of 5px. Here the image is set to float left with a text padding of 5px. Here the image is set to float left with a text padding of 5px.Here the image is set to float left with a text padding of 5px. Here the image is set to float left with a text padding of 5px. Here the image is set to float left with a text padding of 5px. Here the image is set to float left with a text padding of 5px..

<style type="text/css">
#image
{
float:left;
width: 150px;
padding-right:5px;
}
</style>

<div id="image">
<img src="float1.jpg" alt="float example" width="150" height="120" border="0">
</div><P>
Your text which will wrap around the image.
</P>

In the above code DIV is set up with an image floating on the left and the text wrapping around it. The float property is used to float an element on the left or right. There is one more value, which is none.
 
Hope you have enjoyed this short tutorial CSS float.