For some reason I cannot define table borders via an external stylesheet linked in the <head> tags. All the other bits, such as text, refer back to it fine. I am using the "class" tag within the <table> tag but the only way I can get it to work is by using the "style" tag and defining it internally. Any ideas?do you have a link and/or full source code? Most likely, you are merely defining your borders incorrectly<div class="yadda">
<table class="target"><tr><td></td></tr></table>
</div>
either:
.target {border: 1px red solid;}
or:
table.target {border: 1px red solid;}
or:
.yadda .target {border: 1px red solid;}
Depends on whatever else you have specified . Sometimes u have to be more specific. There are other combos you can use to talk to the table, mixtures of above examples.The <div> method does not work either, however I have found that by using an inline stylesheet it works fine. Even more of a mystery because as I said before everything else I have defined in the external stylesheet works fine. Where now, I need to be able to define externally!?I am really dumb...it was a stray close bracket instead of } at the end of a previous css defintion...this will teach me to not bother with error checking! Many thanks for all your help though!
<table class="target"><tr><td></td></tr></table>
</div>
either:
.target {border: 1px red solid;}
or:
table.target {border: 1px red solid;}
or:
.yadda .target {border: 1px red solid;}
Depends on whatever else you have specified . Sometimes u have to be more specific. There are other combos you can use to talk to the table, mixtures of above examples.The <div> method does not work either, however I have found that by using an inline stylesheet it works fine. Even more of a mystery because as I said before everything else I have defined in the external stylesheet works fine. Where now, I need to be able to define externally!?I am really dumb...it was a stray close bracket instead of } at the end of a previous css defintion...this will teach me to not bother with error checking! Many thanks for all your help though!