I’m using two different nested tables in one of my sites. They each have their on id. When I try style the borders using an external style sheet and give each table it’s own border style it will always revert to the last css style.
How do I get around this?
Let me know if that works?
If it doesnt work, the above is a load of old tosh. :hattip:
I have tried that and it does not work.
I have searched Google and W3Schools, they tell you how to style a border but not two different borders on different tables, so maybe it can’t be done.
It would be good to see the css and tables but this worked. Not sure if it what you want.
[HTML]
cell item | cell item | cell item |
|
heres the css from the external style sheet
.t1 { border: 4px solid blue; }
.t2 { border: 2px solid red; }
.t1 td { border: 1px solid green; }
.t2 td { border: 1px dashed black; }[/HTML]
I have seen the error of my ways.
Stupid me had a comma in the mix.
I feel like a twerp. :bigsmile: Thanks for the help.
Ixian you TWERP!
The big font is justified in this case :hattip:
Thanks Martyn :roflmao:
Please login or Register to submit your answer