This is a discussion on "Need Help Centering my index page???" within the Starting Out section. This forum, and the thread "Need Help Centering my index page??? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Need Help Centering my index page???
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Need Help Centering my index page???
Very new to webdesign and I thought what better way to learn then to design a webpage for my wife. Here is the site www.mommyandmimi.com If you look at the site you will notice that information box is not centered on the page. Does anybody know how to get this centered. Its driving me nuts and I have no way how to fix it. Thanks for listening!
Lee |
|
|
|
#2
|
|||
|
|||
|
Re: Need Help Centering my index page???
I'm not really sure I understand what it is that you want centered.
- The site pretty broken up in Firefox. Most of the images don't show up. - The site doesn't validate. You have 96 errors - No doctype (which tells the browser how to handle your code) I could go on and on ... |
|
#3
|
|||
|
|||
|
Re: Need Help Centering my index page???
Hey there,
Thanks for the quick reply. The reason the page has so many problems is because my host is having issues and I have not been able to load anything for 30 hours now. I got to upload the page and then it crashed which is currently leaving me stuck with what I have. I was basically referring to the centering of the page.......see how the all the text is to the left. I was wondering what I was doing wrong in order to get that to the center of the page. Thanks everywhere |
|
#4
|
|||
|
|||
|
Re: Need Help Centering my index page???
For centring the page, add this to your stylesheet:
Don't have a stylesheet? You'll need to learn about them soon **EDIT** I see that you have already tried this, and it didn't work. Want to know why it didn't work? It's because you have no doctype. You need to fix your site's many errors. To start with, put a correct doctype at the top of the page. This goes before anything else, even the <html> element:
|
|
#5
|
|||
|
|||
|
Re: Need Help Centering my index page???
Oh ok .. so just centering the whole site. Yeah you can do the margin: 0 auto on the body or wrapping a div around the whole thing
How to center your site horizontally body can be used to style too! Integrating CSS in your website Depending on how much you want to get into this, you might want to ditch SiteBuilder and start hand-coding your site. WYSIWYG editors like SiteBuilder and Dreamweaver (using the Design View) really generate crappy code and leave you with endless errors. Using Dreamweaver and the likes |
|
#6
|
|||
|
|||
|
Re: Need Help Centering my index page???
Thanks so much for the help. I was able to get the page centered.......now I can start working on the 8 million errors
Lee |
|
#7
|
|||
|
|||
|
Re: Need Help Centering my index page???
haha...Good luck!
|
![]() |
| Tags |
| centering, index, information box |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| index page help? | Timmo88 | Starting Out | 1 | Jun 4th, 2008 18:49 |
| Centering a Page In CSS | britishchampion | Web Page Design | 5 | Jan 3rd, 2008 16:20 |
| Centering an image on my web page | Fysicus | Web Page Design | 8 | Sep 21st, 2007 12:43 |
| Index page | coffee | Classic ASP | 1 | Jun 7th, 2006 12:34 |
| Centering layers in a page | gwx03 | Web Page Design | 9 | Nov 26th, 2003 19:55 |