Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

1px border needed for boxes?


Top_Speed

Recommended Posts

Posted

Hi,

 

I would like a 1px border on my L&R boxes but have been having some probs.

In stylesheet I have added this but it also added the border around all the cells within the box also:

 

 

.infoBoxContents {

background: #f8f8f9;

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

border: 1px;

border-style: solid;

border-color: #b6b7cb;

 

I have tried this in also in .infoBox BUT won't work because of the Shadow Contrib i have installed. (it creates a 1px box around the shadow).

 

Hope there is a solution.

 

Thanks, KJ

define('PROJECTS', 'Something that goes on forever!');

  • 6 months later...
Posted
Hi,

 

I would like a 1px border on my L&R boxes but have been having some probs.

In stylesheet I have added this but it also added the border around all the cells within the box also:

.infoBoxContents {

  background: #f8f8f9;

  font-family: Verdana, Arial, sans-serif;

  font-size: 10px;

  border: 1px;

  border-style: solid;

  border-color: #b6b7cb;

 

I have tried this in also in .infoBox BUT won't work because of the Shadow Contrib i have installed. (it creates a 1px box around the shadow).

 

Hope there is a solution.

 

Thanks, KJ

 

I'm having this problem. Have you found a solution yet? Thanks

Posted
have alook here

 

http://www.oscommerce.com/forums/index.php?sho...&hl=box+borders

 

You have to alter the colours in your infoboxes in your styleshet.

 

look at the stylesheet in catalog/stylesheet.css

 

TABLE.infoBox & TABLE.infoBoxContents

 

-p

 

That would be easy and have of course tried that.

 

The problem is that the boxes we are talking about have a shadow, and doing the css as noted just adds the 1px line around the outside of the shadow.

define('PROJECTS', 'Something that goes on forever!');

Archived

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

×
×
  • Create New...