View Full Version : How do you centre a background?
I used to have the code, but I cant find it.
Whats the code to center a background?
So if ur on widescreen, the center of the bg will be the same as normal screen
ty XD
<style type="text/css">
<!--
body {
background-color: #333333;
background-image: url(skins/habbo-plasto/bg.png);
background-position:center;
background-repeat:repeat-y;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
Ty xD
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.