<html>
<head>
<style type="text/css">
.lbl {background-color:#DCDADA; color:#000000; font-weight:bold;
font-family:"Arial"; font-size:12px; text-align:center;}
.updated {background-color:pink; position:absolute; top:2px; width:45px;
font-size:10px; font-family:arial; text-align:right;}
</style>
</head>
<body>
<div class="lbl" style="position:absolute; left:003px; top:003px;
width:211px; height:015px; clip:rect(0 211px 015px 0)">REVENUE<div
class="updated">01/06/02</div></div>
</body>
</html>
I want the "pink" box to be right-aligned within the gray box yet the text
within the gray box must remain centered. I am unable to make this happen.
Any suggestions?
[snipped]
> >
> > I want the "pink" box to be right-aligned within the gray box yet the
text
> > within the gray box must remain centered. I am unable to make this
> happen.
> > Any suggestions?
> >
> Add "right: 0;" to the 'updated' class definition.
>
Worked great! Thanks!