0

Hey guys I am having trouble with my CSS. I am doing work with Drupal and I am re-styling the CSS for the site. I have it laid out the way I want buy on some web browsers my wrapper or the center of the page where the content is does not proportion itself to the browser it is usually off to the right.

Here is the wrapper code. Let me know if you need any more info.

#wrapper {
  margin-top:50px;
  margin-right: 230px;
  margin-left: 230px;
  padding: 0 10px;
  width: 940px;
  background: #666666;
  border:solid #50021B 5px;

Thanks in advance,
Justin

3
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by ON_Jtharpe
0

Not sure I am understanding your issue. Are you saying you want your site content centered in the browser no matter what the size?

If so then set your wrapper div to:

#wrapper {
margin: 50px auto 0 auto;
}

Edited by teedoff: n/a

0

Let me give an example the site is tmcphotographymaine.com viewed on a 1024x768 screen the content is centered however on my 13 inch mac air it is not. How can I make it center no matter the size.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.