View Single Post
  #3  
Old 05-27-2008, 06:35 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Background Color

The easiest (and W3C compliant way) to center your site is to create a 'container' <div> like this:

<div class="container">

And then put this in your CSS file:

.container {margin: 0 auto; width: 950px;}

You'd then add the background color to the .body class which would fill in the sides next to the centered 'box'.

rajdeep, what is wrong with their signature? The full X-Cart version is there?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote