Forums

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

Home Forums CSS Why webdesigner use this

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23262
    jitendra
    Participant

    Why webdesigner use this

    Code:
    #49806
    chazzwick
    Member

    it might be due to the box model problems of IE. You cant apply a width and margin/padding to a div without it screwing up, so you define the width on the "header" div and define padding/margin on the "inside" div.

    Read this for more info http://www.w3.org/TR/CSS2/box.html

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