View Single Post
Old 12-07-2005, 07:42   #7 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
Quote:
Originally Posted by max h
Thanks 4 all that guys. loads of reference points there. have ordered Web Standards Solutions, nowt like a bit of paper reference!
Well done, it shall serve you nicely.

CSS-based layouts aren't like tables. You create individual boxes of content, basically (a div for the header, a div for navigation, a div for content, a div for a sidebar, and so on) - where tables are rigid, CSS is not. Of course, it's easier to mindlessly control layouts with tables, but their in-flexibility, bulky code, and inaccessibility are major problems.

From there, CSS is used to position the boxes, size them, add margins, padding, etc. It's really simple once you get the hang of it. However, be ready for mayhem in IE when you start floating things.

Another tip: Always develop your sites and test in Firefox. Once it works there, then check IE, where it will be broken (probably). Then hack to fix for IE. It's a pain, I know.
  Reply With Quote