Forum Moderators: not2easy
I'm attempting to teach myself how to use CSS by rebuilding a very simple site I built using tables a long, long time ago...
Designing a page in CSS is a different thing from designing a page with tables. I think people would be better off starting with a fresh site, and thinking in a CSS way. Table parts always fit exactly together, and all the parts make an exact rectangle. With CSS divs you aren't restricted to that model: each div has freedom to go wherever you want, overlapping others if you like. The design doesn't have to be rectangular with no gaps. It can be much more free-form.
To design a site with tables, do this:
Get a piece of paper, a ruler, and a pencil. Draw a line (horizontal or vertical) across the paper from edge to edge to divide it in two. Draw more dividing lines until you have a layout that looks good.
To design a site with divs, do this:
Cut out a rectangle of paper (any size or proportions) for one of the components of your layout. Cut out more rectangles for other components. Lay them out on the floor and shuffle them around until you get a layout that looks good. The bits of paper can have gaps in between, or overlap each other, or whatever.
I'll bet that your table site and your div site both look good.
I'll bet that they don't look anything like each other.
:-D
I tried to change an existing site for my first CSS page, and failed miserably. I then built a small site - unconnected with the first - and used CSS from day one. It was amazingly simple to build!
With the experienced gained (and a lot of reading of this forum) I returned to my original site, rethought it, and succeeded in getting it right second time around. But people should realise that changing a site to CSS is a two-stage process - first undesign it, then design it anew. Never try a short-cut!