NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Please help with CSS problem

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 03-02-2005, 09:49 AM THREAD STARTER               #1 (permalink)
First Time Poster!
Join Date: Mar 2005
Location: Idaho
Posts: 1
fooled is an unknown quantity at this point
 



Please help with CSS problem


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!
fooled is offline  
Old 03-02-2005, 02:25 PM   #2 (permalink)
NamePros Regular
Join Date: Oct 2003
Location: Sweden
Posts: 395
cerebus has a spectacular aura aboutcerebus has a spectacular aura about
 


Animal Rescue Wildlife Animal Cruelty
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).
cerebus is offline  
Old 03-07-2005, 04:55 AM   #3 (permalink)
New Member
Join Date: Mar 2005
Posts: 3
neilturner24 is an unknown quantity at this point
 



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
neilturner24 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
css problem horizontally centered website lomokev Programming 0 03-08-2005 07:21 AM
div positioning + css + IE problem? countcobolt Programming 0 12-22-2004 07:55 AM
Mozilla Engine, CSS, Scrolling problem crache Programming 7 06-06-2004 09:28 PM
CSS Alignment problem wistow Programming 4 05-21-2004 01:02 PM
Css layout problem biovelocity Programming 5 01-06-2004 11:20 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:15 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger