Introduction:
The CSS
float
property enables you to determine where to position an element relative
to the other elements on the page. When you use the float property,
other elements will simply wrap around the element you applied the float
to.
Example:
<html> <head> <title></title> </head> <body> <div style="width:180px;"> <div style="float:left;min-height:60px;margin-right:10px;padding:5px;background-color:cornsilk;"> <a href="http://gohilinfotech.blogspot.in/search/label/ASP.NET">ASP.NET</a><br> <a href="http://gohilinfotech.blogspot.in/search/label/HTML">HTML</a><br> <a href="http://gohilinfotech.blogspot.in/search/label/CSS">CSS</a><br> </div> <p>Feel free to check out the links in the box that's floating to the left of this text. Whether you need web hosting or copy/paste HTML codes, there's bound to be something for you!</p> </div> </body> </html>
0 comments :
Post a Comment