Yeah, so? Are we supposed to guess at what you want and what it is that's causing your anguish? Describe the problem and post your code, or possibly a link. gary
Chances are you've aligned your containers using absolute values, which is a common mistake beginners make. It'd be much easier for us to tell you what the problem is if you could provide us with the code or, preferably, with a URL.
Two things are possible for this. First : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> Replace your document type with the above code. Second: in body Style give the values margin-right: auto; margin-left: auto; It will fix the issue
Unless the OP has declared a width for body, it will take up the full width of the viewport. There will be no side margins to adjust. There is no point in suggesting a transitional xhtml DTD. He may be using an html syntax. Without compelling reason otherwise, one should use a strict DTD. There is no point in guessing. If the OP desires a solution, he will post the information needed to help him. cheers, gary