Hello folks,
Is it possible to position an item within a <td> element? For
instance see below. The table has multiple rows, one for each
database record. Each row has 3 hrefs associated with it (for
edit, delete and update). I want to position these 3 href items
in the same columns, which would be posible if the span could be
positioned - for instance on the extreme right of the td in
which it is contained.
I can't use 2 or more <td> elements as the <td> is put there
using an ASP.NET repeater control - so unless there is an
equivalent of this control using <div> and <span> that is not
possible.
Somehow, I anticipate that the answer will be to use a different
ASP.NET control. Don't bother posting a reply if that is the
case.
++++++++++
<html>
<head><title>Da taList Position</title>
<style type="text/css">
cControl {position:inher it; left:600px; text-align:right;
float:right}
</style>
</head>
<body>
<p>
<table>
<tr>
<td> -- Content --
<span class="cControl ">
<a href="href A">E</a>
<a href="href B">D</a>
<a href="href C">U</a>
</span>
</td>
</tr>
<tr>
<td> -- Some other Content --
<span class="cControl ">
<a href="href A">E</a>
<a href="href B">D</a>
<a href="href C">U</a>
</span>
</td>
</tr>
</table>
</body>
</html>
Is it possible to position an item within a <td> element? For
instance see below. The table has multiple rows, one for each
database record. Each row has 3 hrefs associated with it (for
edit, delete and update). I want to position these 3 href items
in the same columns, which would be posible if the span could be
positioned - for instance on the extreme right of the td in
which it is contained.
I can't use 2 or more <td> elements as the <td> is put there
using an ASP.NET repeater control - so unless there is an
equivalent of this control using <div> and <span> that is not
possible.
Somehow, I anticipate that the answer will be to use a different
ASP.NET control. Don't bother posting a reply if that is the
case.
++++++++++
<html>
<head><title>Da taList Position</title>
<style type="text/css">
cControl {position:inher it; left:600px; text-align:right;
float:right}
</style>
</head>
<body>
<p>
<table>
<tr>
<td> -- Content --
<span class="cControl ">
<a href="href A">E</a>
<a href="href B">D</a>
<a href="href C">U</a>
</span>
</td>
</tr>
<tr>
<td> -- Some other Content --
<span class="cControl ">
<a href="href A">E</a>
<a href="href B">D</a>
<a href="href C">U</a>
</span>
</td>
</tr>
</table>
</body>
</html>
Comment