CSS question

exilera

Senior member
Apr 12, 2005
940
0
0
I'm trying to add a border to the left of a paragraph. I have on an eternal style sheet the following command:

.bord { border-left-width: 10px;
border-top-width: 0px;
border-bottom-width: 0px;
border-right-width: 0px;
border-color: #FD8500 }

On the doc, I have this...

<p class="bord">Pricing for our support...

The site works fine; the stylesheet is linked correctly, etc. For some reason, I can't get this to work. Any suggestions?
 

exilera

Senior member
Apr 12, 2005
940
0
0
Originally posted by: aceadrian1
Maybe try putting

border-style: solid;

in there. I'm no CSS expert mind.

It worked :) Thank you very much for the suggestion. I didn't think the style needed to be specified; guess I learned something!
 

hellman69

Member
Feb 15, 2003
180
0
71
Just a quick note on defining border styles. Instead of the above, you can just do this:

.bord { border-left:10px #FD8500 solid; }

Trevor