fixed background w/ transparent tables?, myspace background |
fixed background w/ transparent tables?, myspace background |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 7 Joined: Jul 2005 Member No: 169,076 ![]() |
seems like i keep using contradicting codes. im trying to use a background image on myspace, streched like as if it was a desktop background, and having my tables transparent so theres no borders or anything like that, just text. heres my current code, just wondering what i need to add/change. thanx to any help
|
|
|
![]() |
![]()
Post
#2
|
|
![]() ;) ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 9,573 Joined: Feb 2005 Member No: 99,124 ![]() |
^Where's your image url?
|
|
|
![]()
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Duplicate Posts: 1,912 Joined: May 2005 Member No: 137,527 ![]() |
CODE <style type="text/css">
table, td { background-color:transparent; border:none; border-width:0;} </style> |
|
|
![]()
Post
#4
|
|
Newbie ![]() Group: Member Posts: 7 Joined: Jul 2005 Member No: 169,076 ![]() |
right on, that worked. the only thing is that im trying to make my background stretch the whole way because the actual image size is not that big. what would i need to add? thx
|
|
|
![]()
Post
#5
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 187 Joined: Jul 2005 Member No: 165,292 ![]() |
I don't it is possible to stretch the image when placed in a body tag. What you can do is stretch the image using a graphic program first, save it at the proper dimension, and then post it on your profile. another option is to place the image inside a div tag and stretch the image by changing the width and height properties.
|
|
|
![]()
Post
#6
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Sep 2007 Member No: 575,249 ![]() |
Just to let you know, there is new css3 tag which will alow you to stretch your image to fit the entire window. Unfortunatly, no browsers currently support this, but you may add it now. It won't conflict with your browser.
Here it is, background-size:(percentage inserted here) <style type="text/css"> Body { font-family:Copperplate gothic bold; color:white; background-size:100%; background-position:center; background-attachment:fixed; background-repeat:no-repeat; background-image:url(your.pix/here) } |
|
|
![]()
Post
#7
|
|
![]() I am not afraid, I was born for this. ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 805 Joined: Aug 2007 Member No: 565,063 ![]() |
seems like i keep using contradicting codes. im trying to use a background image on myspace, streched like as if it was a desktop background, and having my tables transparent so theres no borders or anything like that, just text. heres my current code, just wondering what i need to add/change. thanx to any help<!--cbx1--><div class='codewrapper'><textarea class='codetext' style='width:566px' rows='8' name='code' onFocus='this.select()'><!-- begin code provided by createblog.com --> <style type="text/css"> body { background:url("my image url"); background-position: bottom right; background-repeat: no-repeat; background-attachment: fixed; table table table {border: 1px solid; border-color: transparent; background-color: transparent; } </style> <!-- end code provided by createblog.com --></textarea></div><!--cbx2--> well, if you don't want a border. switch 1px to 0px in the border section. |
|
|
![]() ![]() |