I learn't by practice, not from books. kk5st hit the nail on the head... And there was really no need to insult my ability simply because I code differently to you.
I think the most effective way is to import css file in your html page. With this option you can have full control over your display from CSS file rather than HTML. This is the code I use for all my CSS file and it works fine in IE, FF or Safari... BODY { margin : 0px 0px 0px 0px; margin-bottom : 0px; margin-top : 0px; background-color:#ffffff; } try this way... it will make your life easy for ever. good luck.
the problem can be solved like this: <div id="wrapper"> <!-- content here --> </div> the css: #wrapper { margin:0 auto; width: {in here the width of your content exactly} } I mention that this solution works ONLY with a strict doctype. Aparently IE6 does not understand the auto value for margin unless it's declared with a strict doctype. However, if you have a trans or loose doctype, for IE there is another solution: body { text-align:center; } -> Remember this is only for IE. Presumably it will work for versions earlier than ie6.0 (meaning 5.0 and 5.5). Good luck. PS: don't forget that width, because a div has 100% of the parent element's width as a starting option (keeping in mind that body is it's parent, it will have 100% of the viewport).