![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello all I have recently discovered that when adding colour to a table border with HTML, it will only appear correctly in IE. To ensure the colours appear correctly in other browsers, this should be done with CSS. I have one style sheet for my entire site. Admittedly, I an not well versed in CSS at all. Saying that, I would love to know the basic entry you use to dictate table border colour. I thank you all very much in advance! Ben |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
|
table { color:black; } or create the class like one below , and apply it to the table <table class="table_border .table_border { color:black; } |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
.table{ border: 1px solid; color: #E0D4C4; } |
|
Thank you both for the quick responses. Here is a sample of my current style sheet: .text { font-family: Geneva, Arial, Helvetica, sans-serif; color: #866B64; font-size: 13px; } .quotetext { font-family: Geneva, Arial, Helvetica, sans-serif; color: #000066; font-size: 13px; } Would the next entry (for the table border) be: .table{ border: 1px solid; color: #E0D4C4; } Thank you so much again!! I really appreciate the help. |
#8
| |||
| |||
|
|
Thank you both for the quick responses. Here is a sample of my current style sheet: .text { font-family: Geneva, Arial, Helvetica, sans-serif; color: #866B64; font-size: 13px; } .quotetext { font-family: Geneva, Arial, Helvetica, sans-serif; color: #000066; font-size: 13px; } |
![]() |
| Thread Tools | |
| Display Modes | |
| |