Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Please help with CSS problem

SpaceshipSpaceship
SpaceshipSpaceship
NamecheapNamecheap
Watch

fooled

New Member
Impact
0
Hi.

First, thanks to everyone who is reading this post and to anyone who can (will) help!

I have decided to make my web site more compliant to web standards. This means that I have to change from HTML 4.01 to XHTML 1.0 (done) and change my table layout to CSS (almost done). I had to use Dreamweaver to convert because I'm still not comfortable with CSS. However, I don't know how to center the layers/layout so that it's in the middle of the page and yet will work with all resolutions.

http://www.helenhunt.org/main3.html There's a link. Any help would be appreciated! :-/
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Make a fixed width layer to hold your entire layout and set margin:auto for that layer. In correct browsers that will center the layout. However IE does not support that correctly. To solve that you most commonly add text-align:center to the body tag. (This should not center the layer at all in a correct browser).
 
0
Close
Yeah, as above but don't forget to set the correct doc-type at the top of the page or else you'll have problems....
-----------------------------------------------------
www.neilturnerfreelance.com
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Search: choose where to search from the All tab
Open the search at the top of any page. On the All tab, the list next to the search box lets you choose where to search: everything, all...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back