Wednesday, January 25, 2012

Turning off Float- Using Clear


Elements after the floating elements will flow around it. To avoid this, use the clear property. The clear property specifies sides of an element other floating elements are not allowed. Add a text line into the image gallery, using the clear property.
Example:
.text_line{clear:both;}

No comments:

Post a Comment