Dev.Opera - Follow the standards, break the rulesDev.Opera - Follow the standards, break the rules

Login

Lost password?

Forums » Article Discussions

Discuss the articles posted on Dev.Opera.

Note: You need to login to post in the forums. if you don't have an account you first need to sign up.

By bhenick anchor Friday, 26. September 2008, 06:34:20

30: The CSS layout model - boxes, borders, margins, padding

Another fairly complicated - but fundamental - area of CSS is the layout model. How do different elements stack on top of one another? How does padding, margin, etc. affect the space between different elements? What about border, width, height? In this article Ben Henick sheds light on all these topics. The box model is explained here.

( Read the article )

By AndBre anchor Wednesday, 28. January 2009, 17:57:54

avatar1. "h1 {color:red font-size:2em; }": missing semicolon after "red"
2. "unless they unless they're so"
3. "the content of decedent elements"
4. "greektext": Lorem ipsum etc. is Latin

By chrismills O anchor Thursday, 29. January 2009, 11:57:10

avatar

Originally posted by AndBre:

1. "h1 {color:red font-size:2em; }": missing semicolon after "red"2. "unless they unless they're so"3. "the content of decedent elements"4. "greektext": Lorem ipsum etc. is Latin



All fixed - thanks!

Moderators: pepelsbey | dstorey | mcx | operadev | chrismills | shwetankdixit | brucelawson | iheni | andreasbovens | zibin | mollydotcom