Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Complete Tutorial On Margins, Borders, and Padding (HTML & CSS)

Share this post!
 Vote this!

One of the coolest things about CSS is that you can style features such as margins, borders and padding. It's not even just being able to style such things that I find so exciting, but the flexibility we have with the styles available.
Consider that all elements have a margin, a border, and padding within the CSS visual model. The reason for this is that every element creates a box. Two types of boxes exist: block boxes (related to block-level elements) and line boxes (related to inline boxes). The figure shows the difference.  more...

0 comments:

Post a Comment