globally set your margin/padding

topic posted Mon, March 12, 2007 - 2:43 PM by  /* j */
Share/Save/Bookmark
Advertisement
*{margin:0;padding:0; /*would you like fries with that?*/}

if you place that in the top of you first loading css file you can further refine typography with more css following.

* {} means everything, that is p,h4,body etc. will no longer have padding or a margin unless if you specify.

html {min-height: 100%;height: auto;} is useful if you need to bottom align a background image in the body

adjacent selectors are pretty cool too: h4 + p{} means that if you have a p that follows an h4, it should have these additional properties / overrides. www.w3.org/TR/REC-CSS2/...ent-selectors
posted by:
/* j */
SF Bay Area
Advertisement
Advertisement

Recent topics in "CSS is not a disease!"