0

Hi
This is the first time I have had any need to use css and I am confused.
I want to make the border of my table dashed and I managed to do so but how do I keep the colour of the border the same (before it was #cc3300 Orange) and now it has changed to black here is the code:

table {border-style: dashed;}
td     {border-style: dashed;}

Many thanks
HLA91

3
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by azzu5
0

table { border-color: #cc3300; }
td { border-color: #cc3300; }

or you can combine the two commands into one:

table { border: 1px dashed #cc3300; }

Hope this helps.

Nick

0

You can also short the class like this...


table, td { border: 1px dashed #cc3300; }

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.