Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adjusting Margins


AJRYAN

Recommended Posts

Posted

Well, I've searched everywhere but have been unable to find any help with this.

 

I am trying to narrow my site along the sides a bit, but don't want to affect the top margin. If I set the margin in the stylesheet it affects all margins.

 

How do I go about adjusting the top margin to where I want it ?

 

Thanks in advance.

 

Art

Posted

You will have to break the margins down. The current margin setting in the stylesheet does it for all 4 margins. You will need to get rid of that and use individual margin settings.

 

So instead of margin use margin-bottom, margin-left, margin-right, margin-top. Then just set each accordingly. You probably want to keep top and bottom to what margin is currently set at, then alter the left and right.

Posted

Thanks Jeff:

 

I had tried using topmargin bottommargin rightmargin and leftmargin which obviously did not work.

 

Your suggestion was just what the doctor ordered - Thanks much!!

 

 

Art

Archived

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

×
×
  • Create New...