Log In · Register

 
 
Closed TopicStart new topic
top banner code for myspace 2.0?
dinosaur3212
post Aug 18 2009, 05:50 PM
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.
 
AileenWitIt
post Aug 19 2009, 12:33 AM
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.
 
Mickey
post Aug 19 2009, 10:22 AM
Post #3


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Or you can try my code.
 
vixen21
post Aug 21 2009, 11:46 AM
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;}
 
vixen21
post Aug 21 2009, 01:23 PM
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.
 
vixen21
post Aug 21 2009, 02:08 PM
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. wacko.gif
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: