john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

css tutorial

For best SEO results, easy maintenance, and of course, so it LOOKS GOOD:

Break the page into it's basic elements:

  1. content in the static .htm page - preferrably with an organized folder/naming scheme
  2. formatting in the css file(s) - preferrably in a css folder & named to match the static htm file included in the e.g.
  3. images in the images folder & organized by folder/naming scheme access via

    p2{ line-height: 200% } //for double line spaces <!-- static=ignore all positioning relative=reposition it once from where it would normally be absolute=reposition it all the time

    top/bottom=(length,%,auto,inherit) how far offset from top right/left=how far offset from the right edge

    z-index=highest value layer stacks on top

    -->


  • « display an external website
  • css top menu »

Published

Feb 6, 2010

Category

css

~109 words

Tags

  • css 19
  • tutorial 6