Kornowski
VIP Member
Anybody here know CSS?
Basically, I'm working on a portfolio for University and I need to centre a DIV (which is going to contain everything).
Here's my design (made at 1024 x 768 to accommodate for people running a smaller resolution);
I want to have everything in it's own DIV and then position them using CSS, so that they float in the centre of the page.
For the life of me I can't figure it out, I know it's probably really easy, too. I've tried changing them from relative to absolute, setting the margins, alignment and I just can't get it.
Any ideas how I'd do this? Thanks!
Basically, I'm working on a portfolio for University and I need to centre a DIV (which is going to contain everything).
Here's my design (made at 1024 x 768 to accommodate for people running a smaller resolution);

I want to have everything in it's own DIV and then position them using CSS, so that they float in the centre of the page.
For the life of me I can't figure it out, I know it's probably really easy, too. I've tried changing them from relative to absolute, setting the margins, alignment and I just can't get it.
Any ideas how I'd do this? Thanks!