The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Html/xhtml vs widscreen laptop

Where do I start?lol

Ive recently started out building sites (my own) and Ive encountered a problem..
I use xhtml and css to design and it works great, I hate tables, but my problem came when I bought a widescreen laptop.
The pixel settings is set to big thus my sites look like they are all clinging to the left and there is a wide open space to the right.
I want to build my sites so no matter what setting you use you see the same thing.
Then I thought...ok lets ad a <div align="center">, because my background is made up of what I need so with css I just place everything where it needs to be.http://www.freewebs.com/nattaliegeorge
This worked fine, but I had to use relative positioning as absolute dont work,cause at work I get a different view cause of the smaller pixels settings.
What I actually just want to know is...
What do I do to build a site in the center of a browser, but still allows me to use absolute positioning and not using tables!!!
oh and ive tried the doctypes...but my scrollbarr colors dont work then as xhtml transitional is for browsers that dont support css right?

You can set a max width, and you should use margin: 0 auto if you're going to set one. IE 5.x and 6 won't recognize max-width though, so you'll have to use an expression (don't put it in your main stylesheet, either use a conditional comment to link to a separate stylesheet, or wrap the expression inside the * html hack, put that inside a separate stylesheet, and then @import that one into your main stylesheet).