PDA

View Full Version : Css


ermo
02-19-2005, 01:18 AM
How can I align table in css or add background images?

SlOtH
02-19-2005, 01:29 AM
Try using a sheet of paper. Name it sally, then yell at it.

Stupified
02-19-2005, 04:06 AM
-To align:

<TABLE>
<TR>
<TD ALIGN="center">Alignment</TD>
</TR>
</TABLE>

Replace "Center" with "right" or "left", Or keep it.

-To make an image background:

<STYLE TYPE='text/css'>

BODY, HTML {
background: url('http://image_address_here')
}
</STYLE>

born2lose
02-19-2005, 08:21 AM
how about this
<div style="text-align:center">
<table>
<tr>
<td>blah</td>
</tr>
</table>
</div>