html - backgroud-color just working for 1st cell -


...     <th style='background-color:#cccccc;font-weight:bold'><td></td><td>anschrift</td><td>nachname</td><td>vorname</td><td>plz</td><td>ort</td></th>     ... 

i wonder why first cell of th being formatted style attributes, ideas this? appreciated, regards ismir

edit: 1st empty cell intended

without seeing remainder of html, i'd start reformatting code follows:

<table>   <tr>     <th>table heading</th>     <th>table heading</th>     <th>table heading</th>   </tr>   <tr>     <td>anschrift</td>     <td>nachname</td>     <td>vorname</td>   </tr> </table> 

that may 1 of issues you're encountering, wrapping <tr>'s, <td>'s in table heading element.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -