Replies

Aug 31, 2015 10 years ago
Horus
has a massive family
User Avatar

Hi, i'm not new at subeta but this is the first time that i am trying to make my pets' profiles. First of all I don't know if this is the right forum to ask for some help, if it isn't please just tell me.

This is the background on the page http://subeta.net/pets/Berg (it gets larger and with bad quality) and this is the background http://i162.photobucket.com/albums/t279/jcma_2007/layerberg1_1.png

I also want to make the background fixed and remove the scrolling bar this is the code: html { margin: auto !important; width: 100%; height: 100%; background: url(http://i162.photobucket.com/albums/t279/jcma_2007/layerberg1_1.png) no-repeat ; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-color: white; }

if anyone could help me i would be very grateful! (sorry for the english)

Horus, with love.

Sep 2, 2015 10 years ago
Luck
is unlucky
User Avatar
Bella

I'm not really sure if this is what you mean, but try adding this to the rest of the code concerning the html { overflow-y: hidden;

he/him / 31 / EST



My best friend is



Sep 7, 2015 10 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

you're using code that automatically scales the background image with the size of the browser window, so if you make the browser window bigger the background gets bigger and if you make the window smaller the background gets smaller. instead of stating 100% for the height and width, you need to use exact pixel values, but it appears that your background image is only 537x430 pixels, which is far too small for a profile - you need it to be at least 1000 pixels wide to appear high quality and fill the page.

one thing you could do is just make the background a large, solid image (that is, get rid of the white bar down the center) and make that scale with the page, and then code in the white bar with CSS so the background fills the page but the main section with all the information keeps a fixed position.

Please log in to reply to this topic.