top banner code for myspace 2.0? |
![]() ![]() |
top banner code for myspace 2.0? |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 1 Joined: Aug 2009 Member No: 742,702 ![]() |
hello all. i haven't been able to get any codes to work for my layout both css and html codes aren't working or i can't find any. i was wondering if some could give me a good code to use.
|
|
|
![]()
Post
#2
|
|
![]() AileenWitIt ![]() ![]() Group: Member Posts: 28 Joined: Jul 2009 Member No: 738,879 ![]() |
Make sure you go to -- "Profile", "Customize Profile", "Select Theme", "No Theme"..
Once you do that, go to "CSS" and post your codes in there. You do not need to use style tags for profiles v2.0 This is the code for the top banner: CODE .contentTop{ height:###px; display:block; background-image:url(BACKGROUNDURL); background-position:top center; background-repeat:no-repeat;} Change ### to the height of your banner, and replace BANNERURL with the url... Hope that helped. |
|
|
![]()
Post
#3
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
Or you can try my code.
|
|
|
![]()
Post
#4
|
|
![]() Newbie ![]() Group: Member Posts: 3 Joined: Dec 2005 Member No: 314,531 ![]() |
I've been having the same problem. I have used EVERY code I could find here, and none of them seem to be working for me. The only thing I can think of as a problem is that I'm not using the standard width for the 2.0 profile (920px I think) but the smaller 750 px.
This is the current code I have in there (I think from reading this last night, actually). CODE div.contentTop{
height:300px; display:block; background-image:url(http://i4.photobucket.com/albums/y115/vixen21/art myspace/header.jpg); background-position:top center; background-repeat:no-repeat;} |
|
|
![]()
Post
#5
|
|
![]() Newbie ![]() Group: Member Posts: 3 Joined: Dec 2005 Member No: 314,531 ![]() |
Yup. EVERY code.
That one is a little different in the error, though. The other ones just show a blank space where the banner should be; that one doesn't show anything at all. |
|
|
![]()
Post
#6
|
|
![]() Newbie ![]() Group: Member Posts: 3 Joined: Dec 2005 Member No: 314,531 ![]() |
Actually, I got the other code posted here working.
Stupid mistake--Just needed the quotation marks around the URL. ![]() |
|
|
![]() ![]() |