Thursday, December 24, 2009

In myspace, I'm trying to put a pic for my background but it only puts the pick at the very top

How do I get it to cover the whole page? Here's my code that I put in about me. With the exception of my specific pic, this is just copied and pasted from some generator thing.



%26lt;style type="text/css"%26gt;body {background-image:url("http://www.bilete... %26lt;a href="http://www.myspacescene.net" target="_blank"%26gt;%26lt;img src="http://www.myspacescene.net/adsourc... alt="Myspace Layouts" style="position:absolute; left:0px; top: 0px;" border="0"%26gt;%26lt;/a%26gt;



In myspace, I'm trying to put a pic for my background but it only puts the pick at the very top of the page.

%26lt;div style="width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; z-index: 0;"%26gt;



%26lt;img src="image.jpg" style="width: 100%; height: 100%;"%26gt;



%26lt;/div%26gt;



In myspace, I'm trying to put a pic for my background but it only puts the pick at the very top of the page.

use this site to generate your layout



www. whateverlife.com



it shows you on the side what your page will looks like!!!



In myspace, I'm trying to put a pic for my background but it only puts the pick at the very top of the page.

ADD height:100%; AND width:100%; into your body style.



Right now you have:



%26lt;style type="text/css"%26gt;body {background-image:url("http://www.bilete...



Change to:



%26lt;style type="text/css"%26gt;body {height:100%;width:100%;background-image...



You can also tile the background image with:



background-repeat:repeat;



ex:



%26lt;style type="text/css"%26gt;body {background-repeat:repeat;background-ima...



Side note



You can delete the following code entirely, it simply puts thier logo on your page:



%26lt;a href="http://www.myspacescene.net" target="_blank"%26gt;%26lt;img src="http://www.myspacescene.net/adsourc... alt="Myspace Layouts" style="position:absolute; left:0px; top: 0px;" border="0"%26gt;%26lt;/a%26gt;

No comments:

Post a Comment

 
pda