July 11, 2007

Float CSS Elements

Filed under: CSS, Design — kenjun @ 10:42 pm

What is a float?

When you float an element it becomes a block box. This box can then be shifted to the left or right on the current line. The markup options are “float: left”, “float: right” or “float: none”.


1 Comment »

  1. Can it not be moved in “Z” space?…for example forward or backward of an image that might be covering or beneath the box?

    Comment by tran862005 — February 3, 2009 @ 6:35 pm

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: