How clear float left and float right with clear tag in website design?

Discussion in 'Website Development & Design' started by bmwillsmith, Feb 22, 2014.

  1. bmwillsmith

    bmwillsmith
    uix_expand uix_collapse
    Member

    Joined:
    Jan 23, 2014
    Messages:
    380
    Likes Received:
    10
    Clear is the css property used to clear to html tags to avoid unnecessary tag mixing.
    If you say one div has to move to left side and we have a sidebar on right side that sidebar has to move to right side with some width then the next design part should be cleared.

    After saying float left and float right then we should take one more extra div apply a class called clear. The clear class syntax will be like this:

     

Share This Page