Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Border Using Style Sheet


e22jolleyp

Recommended Posts

I have recently used a contribution to fix my site centrally and add a border, however when I enter the code it does not work. I am using Dreamweaver and below is how it diplays the faults with the highlighted ones being underlined.

BODY {

text-align: center;

background: #ffffff;

color: #000000;

margin: 0px;

}

.fixcentre {

width: 758px;

border: solid; border-width: 1px;

background: #ffffff;

color:#000000;

margin: auto;

margin-top: 20px;

text-align: left;

 

Help appreciated..

 

 

Regards

Paul

Link to comment
Share on other sites

You need to change the border declaration to border-style and also add a border colour for it to display properly. I personally prefer to declare all border properties in one statement. eg:

 

border: 1px solid #000000;

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...