background help, background |
background help, background |
Jun 16 2004, 11:07 AM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 16 Joined: Jun 2004 Member No: 22,640 |
hi! am new with xanga thingy, i would like to create a stretched background,u know what i mean? coz i tried putting a background, but it's tiled. how am i gonna put it as stretched background? help!
|
|
|
|
![]() |
Jun 16 2004, 12:21 PM
Post
#2
|
|
![]() local html help ![]() ![]() ![]() ![]() Group: Member Posts: 146 Joined: Mar 2004 Member No: 9,395 |
<style type="text/css">
body { background-image: url("urlhere"); background-attachment: fixed; background-repeat: no-repeat; background-position-x: XX; background-position-y: YY; background-position: absolute; } </style> put that in. replace urlhere with the url of the image. replace xx with the x coordinate, yy with the y coordinate. this wont stretch it but it will cause it to not repeat. personally, i just size it to what i want in photoshop instead of having the browser stretch it. |
|
|
|
Jun 16 2004, 01:07 PM
Post
#3
|
|
![]() that girl is poison. ![]() ![]() ![]() ![]() Group: Member Posts: 283 Joined: Feb 2004 Member No: 3,511 |
uhmm ... you might want to resize the image and then put it on there. there isn't any html that does that. lol. you'll have to do it in like ps or psp if you want it done proportionally. otherwise you can do it the best you can in paint or something.
|
|
|
|
Jun 16 2004, 05:47 PM
Post
#4
|
|
![]() ^_^ ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,666 Joined: Feb 2004 Member No: 4,225 |
here's the code- a bit more clear!
CODE <!-- begin code provided by createblog.com --> <style type="text/css"> body { background-image: url("urlhere"); background-attachment: fixed; background-repeat: no-repeat; background-position-x: XX; background-position-y: YY; background-position: absolute; } </style> <!-- end code provided by createblog.com --> replace ("urlhere") with image url |
|
|
|
![]() ![]() |