Jump to content

  • Free consultations and support
  • Live chatClick Here for Live Chat
  • Call ico 1888-906-1888
    Phone support: Open

    Ready for your call :)

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

    Phone support: Closed

    We are back in: 1h 20m

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams


CSS Box Model

css box model

  • Please log in to reply
 

#1 DesGuru

DesGuru

    Senior Member

  • Designer
  • 220 posts

Posted 08 November 2012 - 10:32 PM

In CSS, "box model" is usually when using design and layout. The CSS box model is mainly a box that rapping HTML elements. CSS Box Model consists of: borders, padding margins, and content. This box model enables us to place borders around elements and also space elements in relative to different elements.

Brief explination of the CSS Box Model parts:

•The border goes around the content and padding. It’s affected by the box’s background color
•The Margin clears areas around borders. It is transparent and does not have a background color.
•The Padding Clears areas around contents. It’s affected by the box’s background color
•The Content the box, is where the text and images appear




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users