Forum Moderators: not2easy
layer (header)
table (main stuff)
layer (footer)
NOTE: make sure the body has margin 0!
Make the layer for the header (we'll give it an id of header yea?) is like this:
#header {
top:0 /*so that its 0px from the top!*/
position: relative; /*this is so that your layout can be centered (if you want!) */
margin: 0 auto 0 auto /*This will only work in XHTML 1.1! */
height: whatever the header is;
width: same as;
}
do the same for the footer, but change the top to bottom and keep it at 0!
Make sure you're main table has a position of relative because this will push the footer down to the bottom!
Tell me if this dont work or if you need more help!
I will be using a <table> for my body content.
A <table>? Really?
Why don't you use a couple of <ul>s?
Or a mix of <blockquote>s and <img>s?
If you're this far ahead with css and ready to take the next step you really might as well really go for it and lay out the whole page with absolute positioning, relative positioning and floats.
I know it seems a bit daunting at the start, but you'll thank yourself later on for taking the plunge.
Lose the layout tables. Seriously.
Check out my site source code (www.firestartermedia.com) cos it sounds like ur after something like that! if not, check out www.#*$!.com or www.projectseven.com. They have good CSS tutorials!