Link Details

Link 65206 thumbnail
User 1 avatar

By rick
via css.dzone.com
Published: Feb 07 2008 / 06:53

If you are familiar with the concepts of "floats", you know that if you float a page element to the left, that the next page element will move up next to that element on the right, if possible. But have you ever seen your floated elements "stepdown"?
  • 12
  • 1
  • 1045
  • 403

Comments

Add your comment
User 256617 avatar

dragmire replied ago:

0 votes Vote down Vote up Reply

It should be noted that this seems to be an IE issue only.

Another remedy is to float the li element as well. That removes the kind of awkward block element within an inline element issue.

User 203051 avatar

petvirus replied ago:

0 votes Vote down Vote up Reply

doesnt everyone know this trick already?
this is basic css

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (12)



Voters Against This Link (1)