07-10-2009, 14:06
Treść tabeli jest na pewno pobierana z bazy danych przez skrypt php. Ale sama tabela to podstawy html i css.
Tu html
a tu css
jedyne co zrobić jeszcze - ustawić sobie szerokości kolumn.
Tu html
Kod:
<table>
<tr id="t_header">
<td colspan="2">Archiwum newsów</td>
</tr>
<tr id="c_headers">
<td>Data</td>
<td>Tytuł</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
a tu css
Kod:
table {
padding: 3px;
border: none;
font-size: 12px;
}
#t_header {
color: #0066CC;
font-weight: bold;
text-transform: uppercase;
}
#c_headers {
color:#999999;
font-size: 10px;
}
jedyne co zrobić jeszcze - ustawić sobie szerokości kolumn.
"Kod ma być koszerny!"
![[Obrazek: 106.gif]](http://www.siemiwidzi.pl/smilies/usmiechy/emocje/106.gif)