Hey,
I want to add a div that takes the position from the left margin not the right. Is there a way to get css to ignore the right margin so its always in the same place? I dont really wanna use absolute positioning I want it like this( See attachment) or is the only way to have fixed positioning.
my css so far is:
body
{
background-image: url('images/background.jpg');
background-repeat: no-repeat;
background-color: #D42D97;
}
.maincontent
{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
margin-left: 50px;
text-align: right;
}
I want to add a div that takes the position from the left margin not the right. Is there a way to get css to ignore the right margin so its always in the same place? I dont really wanna use absolute positioning I want it like this( See attachment) or is the only way to have fixed positioning.
my css so far is:
body
{
background-image: url('images/background.jpg');
background-repeat: no-repeat;
background-color: #D42D97;
}
.maincontent
{
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
margin-left: 50px;
text-align: right;
}