Replies

Apr 22, 2016 9 years ago
Shake that healthy butt,
Battle
User Avatar
Crab

So recently I had a hosting problem with my pets layout. I just got my computer up and running today and I need help with an issue that I believe to be a re-sizing issue. This is the pets layout in question. I did save the original file in case i screwed something up. If the issue is re-sizing, how do i do that and to what does it get sized too? Thank you in advance to the kind soul(s) who help me.

[center]

Apr 26, 2016 9 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

how big is the image supposed to be? it looks like you have the background image assigned to both html and body, which isn't really necessary; also the body background is attributed with 'repeat-x' so you can fix this by changing this piece of code:

html{background: url('http://i68.tinypic.com/dvjxvn.jpg');} body{background: url('http://i68.tinypic.com/dvjxvn.jpg') repeat-x; width: 796px; height: 596px;}

to this:

body{background: url(http://i68.tinypic.com/dvjxvn.jpg) no-repeat; width: 796px; height: 596px}

(also you don't need the quotes around the image url) now, this leaves a lot of white space around the background, so what you could do is then make a repeating pattern of just the brown stripes and assign THAT to html, so that would look like this:

html{background: url(URL) repeat-xy}

this would let you have the background 'extend' across the whole page no matter how big or small someone makes it, while still maintaining the size and position of the actual background image itself.

Please log in to reply to this topic.