scouse
11-28-2006, 01:56 PM
Hey
I've been dabbling in CSS for a while now, but never had the time to sit and learn how to build a website without using tables... well now I've got some spare time and determined to master it. Basically I've read a lot about techniques and how to do certain things but I just need a quick pointer.
I'm trying to set out my footer and I've got a <div> tag with an id="footer". However I'm trying to make a footer that looks like this:
Footer (http://www.siesta-media.co.uk/css/footer.jpg)
now if I was doing this with tables I'd do something like this
Footer with tables (http://www.siesta-media.co.uk/css/footer_table.jpg)
But I've become a bit stuck how I'd slice it up and create it using Divs. Also, I've read a lot about how the HTML should be markup just for your content and presentational code should be kept seperate. I was thinking a possible way of doing this would be to use some kind of nested divs... but wouldn't that mean the code for presentation would be in the HTML markup??? :confused: :confused:
Help, I really want to get to grips with this, but I'm getting confused and wanting to resort to my old habits!
Thanks
I've been dabbling in CSS for a while now, but never had the time to sit and learn how to build a website without using tables... well now I've got some spare time and determined to master it. Basically I've read a lot about techniques and how to do certain things but I just need a quick pointer.
I'm trying to set out my footer and I've got a <div> tag with an id="footer". However I'm trying to make a footer that looks like this:
Footer (http://www.siesta-media.co.uk/css/footer.jpg)
now if I was doing this with tables I'd do something like this
Footer with tables (http://www.siesta-media.co.uk/css/footer_table.jpg)
But I've become a bit stuck how I'd slice it up and create it using Divs. Also, I've read a lot about how the HTML should be markup just for your content and presentational code should be kept seperate. I was thinking a possible way of doing this would be to use some kind of nested divs... but wouldn't that mean the code for presentation would be in the HTML markup??? :confused: :confused:
Help, I really want to get to grips with this, but I'm getting confused and wanting to resort to my old habits!
Thanks