View Single Post
Old 06-26-2026, 09:20 AM   #13
BillPearl
Member
BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.BillPearl ought to be getting tired of karma fortunes by now.
 
Posts: 10
Karma: 591908
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by DNSB View Post
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.
BillPearl is offline   Reply With Quote