Quote:
Originally Posted by DNSB
Since earlier RMSDK did not implement the margin left/right auto technique for centering, you would need to use (100-60)/2 to give a 20% left and right margin. Note that unless your text/image fills the 60%, it is likely to left align inside the 60%.
Code:
.center {
text-align:center;
width: 60%;
background: yellow;
margin-right: 20%;
margin-left:20%;
}
|
Good point. I just assumed my suggestion was only a start. Of course you would need to adapt. That said, i'm going to adjust my code as you suggest. Thanks.