[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 03-02-2005, 08:49 AM   #1 (permalink)
First Time Poster!
 
Join Date: Mar 2005
Location: Idaho
Posts: 1
2.00 NP$ (Donate)

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, 01:25 PM   #2 (permalink)
NamePros Regular
 
Join Date: Oct 2003
Location: Sweden
Posts: 395
655.10 NP$ (Donate)

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, 03:55 AM   #3 (permalink)
New Member
 
Join Date: Mar 2005
Posts: 3
4.00 NP$ (Donate)

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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

Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 12:07 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85