Background would not show up D: |
Background would not show up D: |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 7 Joined: Dec 2008 Member No: 704,615 ![]() |
Okay so I actually coded this one with the help of a tutorial :D
And I set it so the whole myspace is covered and my music player shows up, and the add is still there so I dont get introuble. I set my overlay's z index to 2, and my music player's to 3 so it would be on top. But my background wont show. I dont know if it has somethig to do with the code I got to hide the nav bar but keep the ad or what! Could someone look at this and maybe input a background code that should work? I only need one to include my main background image! i can position and that myself. Thanks Heres my image if you want to see it http://www.fileden.com/files/2007/7/8/1250...e-christmas.gif CODE <style>
div form, .mslogo, div ul {display:none!important;} div div, div td {background-color:transparent; background-image:none!important;} .friendSpace { display:none; } .contactTable{display:none;} .friendsComments {display:none;} table table embed{position:absolute; top:0px; left:96.5%; margin-left:0px; z-index:3; width:44px;} .BlankSlate{ position:absolute; top:0px; left:0%; margin-left:0px; width:100%; height:100%; z-index:2; padding:0px; border:0px solid black; background-color:ccffcc} </style> <div class="BlankSlate"></div> |
|
|
![]() |
![]()
Post
#2
|
|
![]() AKA RockIt Studios ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 2,286 Joined: Jun 2006 Member No: 421,809 ![]() |
oops, it was typed in a rush. sorry.
![]() when i tested, the image wouldn't completely center on my browser. maybe use coordinates? or just go ahead and use a div. all i'm asking is for you to hide things right. anyway, just like a div, you can position a background with an x and y value: CODE background-position: 0% 0%; the first 0% is for positioning horizontally. the second is vertically. just like divs. |
|
|
![]() ![]() |