Quote:
Originally Posted by BillPearl
|
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%;
}