(Untitled)

May 21, 2005 10:19

Anyone know how to make an image stretch across livejournal instead of being a repeating tile?

Leave a comment

Comments 4

itsthetwilight May 21 2005, 18:31:54 UTC
Stretch as in... the image is too small so you want it to actually stretch over the whole page like you would with your desktop or do you just want it to not repeat?

Reply

symphony_of_sin May 21 2005, 19:01:46 UTC
see the background I have now, I want it stretched all over my LJ, non repeating

Reply

itsthetwilight May 21 2005, 20:02:45 UTC
To my knowledge, html doesn't have the ability to actually stretch images.. you'd have to do it yourself.

As far as not repeating goes, I imagine your code looks something like this:

body {
background-color: white;
background-image: url(http://img.photobucket.com/albums/v11/caseclosed/prettypretty.jpg);
background-attachment: fixed;
background-position: 0% 40%;
}

Maybe?

Add "background-repeat: no-repeat;" in there somewhere and you have that.
I'll keep trying and see if I can find some way to make it stretch but, I just don't think that's possible with html. I'd suggest going to paint and making it bigger if you want it bigger.

Reply


ctrlx May 22 2005, 00:13:20 UTC
Resize the image in Photoshop however wide your resolution is (so if you're in 1024x768 make the image 1024 pixels wide) then replace the scrollbar color code you have with this:

Reply


Leave a comment

Up