Hi, I'm trying to do probably the most simple thing in the world... format a table using an external stylesheet.
And my stylesheet would look something like:
I've tried this and about a gozillion variations of this, but to no avail. I've tried wrapping the table in div's, but that didn't work either. I've been fighting with this for a while and I even searched the web but my idiotness must be carrying over to general internet use because I couldn't find anything to help.
And I was able to get some php to work, but I guess some simple CSS is out of my league...
Code:
<table class="blah">
<tr>
<td>data1</td>
<td>data2</td>
</tr>
<tr>
<td>data3</td>
<td>data4</td>
</tr>
</table>
And my stylesheet would look something like:
Code:
.blah {border: 2px solid black; font-family: arial; }
.blah td {text-align: center; }
I've tried this and about a gozillion variations of this, but to no avail. I've tried wrapping the table in div's, but that didn't work either. I've been fighting with this for a while and I even searched the web but my idiotness must be carrying over to general internet use because I couldn't find anything to help.
And I was able to get some php to work, but I guess some simple CSS is out of my league...