SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: centering the entire layout
-
Mar 16, 2003, 06:45 #1
- Join Date
- Jul 1999
- Location
- A cave with 47 computers and an internet feed
- Posts
- 3,559
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
centering the entire layout
What would I need to make this entire layout centered so that it expands to fit either 800x600 resolution, and 1024x768? I know there is a way to do it..but I can't seem to recall the CSS code for it.
http://host40.ipowerweb.com/~justswe...ers/index.html
Thanks in advance
-SparkieSherice Jacob - Web Improvement Expert
Improve Website Conversions | eBook Covers
Follow Me on Twitter!
-
Mar 16, 2003, 07:27 #2
put this in your CSS:
Code:body { margin-left: auto; margin-right: auto; }
-
Mar 16, 2003, 12:14 #3
- Join Date
- Jul 1999
- Location
- A cave with 47 computers and an internet feed
- Posts
- 3,559
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Ooooh! that worked wonderfully! Thanks Vinnie!
But now my form fields don't have the CSS backgrounds that they used to..How do I get those back?Sherice Jacob - Web Improvement Expert
Improve Website Conversions | eBook Covers
Follow Me on Twitter!
-
Mar 16, 2003, 12:16 #4
- Join Date
- Jul 1999
- Location
- A cave with 47 computers and an internet feed
- Posts
- 3,559
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Oops. Well, I thought it worked wonderfully..but when I resize to 1024x768 resolution, it still has a big gap on the right.
Sherice Jacob - Web Improvement Expert
Improve Website Conversions | eBook Covers
Follow Me on Twitter!
Bookmarks