moving background image |
moving background image |
![]()
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 50 Joined: Aug 2005 Member No: 195,044 ![]() |
i recently posted a div layout to my myspace, but i wanted to add a picture as a banner. when i used this code:
<div style="position:absolute; top:-100; left:0%; width:967px; height:-0px; margin-left:-300px;"> <table border="0" width="967" cellpadding="0" cellspacing="0"> <tr> <td><img src="IMAGE URL" border="0" /></td> </tr> </table></div> to add the banner, it wouldnt show up. so then i tried adding a background, and this is the code that the div generator gave me: <style type="text/css"> .DivOverlayLayouts.com-div-generator{display:none} body { background:url('IMAGE URL HERE') no-repeat top center scroll; background-color:414D4D} but when i use that, the picture is too high up, it cuts into the myspace ad. so when i change it to "center center" in the code, it's too low. is there a code i can use to move it where i want? |
|
|
![]() ![]() |