Click to See Complete Forum and Search --> : Layer won't move to the right


Nicodemas
09-26-2003, 04:12 PM
How does one push a DIV over to the right side of their page?

I've tried align="right" and text-align:right ... but it just won't push over.

What's the deal?


<div class="red-box">
.
.
.
</div>

class red-box:

{
display:block;
background-color:#630400;
border: solid 1px rgb(99,4,0);
width:60%;
filter:alpha(opacity=50);
padding: 10px 10px 10px 10px;
}

pyro
09-26-2003, 04:27 PM
Try using either float: left; or position: absolute; right: 0px;