*Destiny*
05-07-2011, 11:28 PM
**sigh**
ok here's the deal.
I'm on a site (a game) where they allow you to change your background image... BUT they have game info on your "profile" page about stats and other game info...
I've figured out how to use HTML to change my background image using this code....
[code] <style type="text/css">
table, tr, td { background-color:transparent; border:none; border-width:0;}
body {
background-image:url('http://photobucketimage.com');
background-attachment: fixed;
background-position:center center;
background-repeat:repeat;
}
}</style> </font></h4><style type="text/css">table { color:#0000FF
!important}table,tr,td{ background: transparent !important; } a{
color:#00000!important}</style> [code]
But that code doesn't allow the image to stretch... then i found this code...
[code] <style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
}
img#bg {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
}
</style>
<body>
<img src="www.imageurl.com" alt="background image" id="bg" />
</body> [code]
which stretches the image, but takes ALL the game info on the page, When i pull up my profile ONLY the image shows.
if someone could tell me how to combine the 2 codes so that all the stuff comes up that would be GREAT! (hopefully i made sense.... )
I've attached pics to help explain.....
ok here's the deal.
I'm on a site (a game) where they allow you to change your background image... BUT they have game info on your "profile" page about stats and other game info...
I've figured out how to use HTML to change my background image using this code....
[code] <style type="text/css">
table, tr, td { background-color:transparent; border:none; border-width:0;}
body {
background-image:url('http://photobucketimage.com');
background-attachment: fixed;
background-position:center center;
background-repeat:repeat;
}
}</style> </font></h4><style type="text/css">table { color:#0000FF
!important}table,tr,td{ background: transparent !important; } a{
color:#00000!important}</style> [code]
But that code doesn't allow the image to stretch... then i found this code...
[code] <style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
}
img#bg {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
}
</style>
<body>
<img src="www.imageurl.com" alt="background image" id="bg" />
</body> [code]
which stretches the image, but takes ALL the game info on the page, When i pull up my profile ONLY the image shows.
if someone could tell me how to combine the 2 codes so that all the stuff comes up that would be GREAT! (hopefully i made sense.... )
I've attached pics to help explain.....