I'm new to webdesign. I've done horizontal centering for a small website. I was scratching my head for vertical in combination with horizontal centering. Your links have been useful to me.
very useful things. I have already make used of one of the guide.
__________________
Please login or register to view this content. Registration is FREE Visit Mauritius Island for your holidays! Please login or register to view this content. Registration is FREE
Quote:
Originally Posted by audiomad
or simply use this
}
#container {
margin:0 auto;
width:860px;
bottom:0;
}
Quote:
Originally Posted by LadynRed
It's not ALWAYS that simple.. and as you can see if you read the articles, there are many different solutions.
Isn't that like all you neeed?... It's the only one I know, and has never failed me. XP
As I stated, there are many solutions depending on what you're trying to accomplish and how your layout is done. Most of the time the margin:0 auto with a width is all that's needed to horizontally center a layout. Some people want to center vertically too, and others who use absolute positioning for everything may not be able to use this simple solution. So.. it depends!
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!