Help > Layout & Coding Help > Post Reply     

Help needed

Player Avatar
Gone for good
August 2nd, 2018 9:57:30pm
1,294 Posts

https://horsephenomena.com/home.php?id=33730 can anyone tell me where I have gone wrong in getting the image to sit tight within the border across all users screens? on firefox it looks fine to me, on chrome its over to the left and i cant work out where I have gone wrong :( willing to pay 




 


View Comments 1


Player Avatar
shee ‡ the lavish lhasas
August 3rd, 2018 5:39:55am
173 Posts

Instead of:

body {
background-image:url(https://i.imgur.com/dTHeKxk.png);
background-repeat: no-repeat;
background-position: top 20px left 175px;

 

 

Try

body {
background-image:url(https://i.imgur.com/dTHeKxk.png);
background-repeat: no-repeat;
background-position-x:center;
background-position-y:25px;

 

It looks good on Chrome when I changed those couple things. :)




 

Player Avatar
shee ‡ the lavish lhasas
August 5th, 2018 4:04:06am
173 Posts

You're welcome! :)




 

View Comments 1