Session IV: CSS Intermediate/Advanced Techniques

Presenter: Eric Meyer

Changing the topic .. Session IV: CSS Intermediate/Advanced Techniques Ways of Thinking

CSS doesn't care what you think HTML elements should do.

Examples:

  • display header content in page
  • messing with default table layout (turning a table with numbers into a graph) http://meyerweb.com/eric/css/edge/bargraph/demo.html

CSS by default Position: static;

HTML is such a textual medium, it is best to key off of font sizes. (use em's)

Position: absolute to top left of the item, then use negative margins to bring up and left by 50%

attribute selectors

use a doctype in new format to expect good css (not quirks mode)

This entry was posted in Hacking and tagged . Bookmark the permalink.