Quote:
|
right now I have three seperate div's, is this okay, or should I have some sort of wrapper?
|
It is generally a good idea to add a "wrapper" around your content, especially if you're using a fixed-width layout. Set it to position:relative.
Quote:
I am trying to align everything left so I used the "clear: both;" attribute on the footer style is this correct?
|
Clearing is only necessary if you've got floated elements in the document. If you don't have any floats, you don't need the clear:both;
Quote:
|
My first two divs seem to automatically align left, but should I be telling them to stay left somehow?
|
Nope, the normal document flow is top to bottom, left to right. Unless you want to move them around, you don't have to tell it anything.
You should also get in the habit of zeroing out margin and padding for all elements, like this: *{margin: 0; padding: 0;}.
It's also good practice to define your font family and size on the body in your css.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
Last edited by LadynRed; 12-05-2007 at 03:47 PM..
|