image on right
Posted: Sat Nov 20, 2004 1:06 pm
Hey people,
I have a little problem with css.
i have a table like this:
arr.gif should be near the right border even everything is aligned to left.
How can i set this?
These are the css properties for this table:
I have a little problem with css.
i have a table like this:
Code: Select all
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="block">
<tr>
<th scope="col"><img src="ui/dot.gif" alt="" />module name<img src="ui/arr.gif" alt="" width="10" height="9" /></th>
</tr>
<tr>
<td>module info</td>
</tr>
</table>How can i set this?
These are the css properties for this table:
Code: Select all
#block {
background-color: #DECDBC;
border: 1px solid #95612F;
height: auto;
text-align: left;
width: 100%;
}
#block img {
margin-right: 5px;
}
#block td {
padding-left: 3px;
}
#block th {
background-color: #95612F;
color: #E0D1C3;
font-size: 1.0em;
font-weight: bold;
padding: 1px 1px 2px 3px;
vertical-align: middle;
}