I have read the sticky, and plenty of other sites, and for some reason i can not get centering to work =(. This is my first attempt at a webiste, so I am not very good at it :P. Here is the code, I hope someone can help .
for the #container rule. Of course it won't center if it doesn't have a width.
Also, what is this?
Quote:
</body>
</center>
A closing </center> tag, after the closing </body> tag?? This tag is depreciated anyway, and shouldn't be used, but even if it was ok, it definitely doesn't belong here.
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE .
Anything from /site will be pages on my website. I have a general layout down but decided not to do much writing until I get the template down .
I removed all abolute tags, and now it seems like it will only put one image per line. So now i have a bunch of images running down the page, and the images are not able to be placed on the same line. Does this mean I sliced it wrong in photoshop?
I'm about to leave... I guess I was hoping to see an actual live link of exactly how the site is displaying in the browser. I can help you later today, but in the meantime, if you can post the site to the web so we can look at it, that would be very helpful...
__________________
I build web things. I work for the startup Please login or register to view this content. Registration is FREE .
1 - your DOCTYPE is in the wrong place, it belongs at the very TOP of your document, even before the HTML declaration.
2 - Get RID of all the absolute positioning, it's not necessary and causes problems, particularly with IE. Typical DW garbage code I'm afraid. Learn to use the normal document flow and floats for your layout.
3 - position:center - invalid, get rid of it.
4 - Set #container to position:relative and that should be the only positioning you need for the layout. Then with margin: 0 auto; on #container it will center.
You've got that layout all chopped up like you would with a table and that is the wrong approach. I suggest you try reading this: http://www.cssslicingguide.com
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!