Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS background and css problem

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43757
    devil3682116
    Participant

    can anyone just check if my css are correct??http://demo.capitaleyenepal.com/bckup/

    #130121
    Senff
    Participant

    More specific please?

    #130122
    devil3682116
    Participant

    yeah the problem starts when i use those three boxes… if i remove those clearfix and use simple clear:both then the background dont expand as wrapper content , why?? besides i was wondering if there is anyone who could just suggest me about my css.

    #130123
    Paulie_D
    Member

    Why remove the clearfix? It can’t do any harm.

    #130139
    wolfcry911
    Participant

    The clear: both is not for the parent to contain the children floats. The clear: both is for an element after the floats causing the parent to envelope that element as well as the floats. If you’re adverse to using clearfix (you shouldn’t be, as Paulie_D states), you could add overflow: hidden to the parent, or float the parent (there’s a couple other ways also).

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.