1 reply [Last post]
bavithraguptha
bavithraguptha's picture
Offline
newbie
Last seen: 4 years 36 weeks ago
Timezone: GMT+5.5
Joined: 2010-01-02
Posts: 1
Points: 2

could u plz explain me the use of clearfix usuage when using ul and seperatiion of left and right header in css.
And the use of clear:both.

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 1 year 6 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Clearfix is just one method

Clearfix is just one method of containing floats. clear:both is for clearing preceding floats. clear:left is if the preceding content is floated left, clear: right if it was floated right and clear: both if you need to clear floats in both directions.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference