Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to get rid of the white border outside the shop?


BigBossMan

Recommended Posts

Hello,

 

i'm new to osCommerce and using the contribution "Fixed Width Site with CSS":

 

http://addons.oscommerce.com/info/2710

 

I changed "widh" to "max-width", because i only want a maximum width to prevent the layout being streched to much:

 

BODY {

text-align: center;

background: #f8f8f9;

color: #000000;

margin: 0px;

}

 

.fixcenter {

max-width: 1024px;

background: #f8f8f9;

color: #000000;

margin: auto;

margin-top: 20px;

text-align: left;

}

 

this is how the shop looks now:

 

http://i37.tinypic.com/2nlsd20.png

 

As you can see, i designed my shop with special rounded down borders (graphics) and with a special color outside of the store(blue). My problem is the white background far outside, the shop design is completely surrounded by the white color! I tried to change the body-tag in index.php without success:

 

</head>

<body bgcolor="#8099ca" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<!-- header //-->

 

Even if i change the bgcolor in "BODY" of stylesheet.css, it only takes effect on the content area of my shop. Can you tell me how to get a blue background completely outside of the store and still a white background color in the content area of the shop?

 

EDIT: Sorry, i found the mistake, i only have to change the first color in stylesheet.css

 

Sorry...

Link to comment
Share on other sites

EDIT: Sorry, i found the mistake, i only have to change the first color in stylesheet.css

 

Sorry...

Now the solution is available in the forum, glad you fixed it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...