Hi everyone I'm new to CSS and I've been having troubles getting certain layouts using this technology. I'm so used to using tables in HTML. What I can't seem to figure out is how to imitate the <div align="center"> tag in CSS. I've looked at all the CSS properties and there is nothing that allows you to align elements such as div. The closest thing that I came up with is text-align: center. But that doesn't give me the results I want. I'm surprised that there's a vertical-align property in CSS but no horizontal-align property or just a plain old align property. The layout I'm trying to achieve is to center the document in the web browser, so that if the user adjusts the size of the browser, the document will adjust automatically with the new window size. In HTML all I had to do was wrap the whole document in a div tag and set it's attribute to align="center". Can someone show me how to achieve the same results. There have been a couple of people who have tried to help me on this issue before but their advice was to use position: absolute and set the left, and right properties. But that won't automatically adjust the document if the user changes the window size. I'm sure there has to be a way using CSS right? Thanks for the help.