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

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.


You can also short the class like this...

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