|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CSS problem: IE6 <td>
I have a css stylesheet that has:
td.itemtitle ( background: #efe; font-size: 16pt; font-weight: bold; ) then my html page has: <table> <tr> <td class="itemtitle ">Title</td> </tr> </table> But the css doesn't get applied! Why is this! The following css line does work, though... it's just when applying a class to a td that it doesn't work: td { background:#000000; text-align:left; font-style:italic; color:yellow; padding-left:15px } what's going on!? thanks |
|
#2
|
|||
|
|||
|
try removing the space after itemtitle and before the quote
The following works, your's did not. PHP Code:
|
|
#3
|
|||
|
|||
|
got it: user error
crap... the problem was just that I had parenthesis instead of brackets on that one.
|
|
#4
|
|||
|
|||
|
Re: got it: user error
Quote:
ooops, noticed that too, just assumed it was a copy and paste error ![]() |
|
#5
|
||||
|
||||
|
Edging toward OT
It appears that a more appropriate set of tags would be:
Code:
<table border="" class="" summary="">
<caption class="">Table Name</caption>
<thead class="">
<tr>
<th>col 1 header</th>
<th>col 2 header</th>
<th>col 3 header</th>
</tr>
</thead>
<tbody class="">
<tr>
.
.
.
cheers, gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing. Ask a better question, get a better answer. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS problem: IE6 <td> |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|