PDA

View Full Version : myspace.com HTML help plz!


Ensign Steve
02-14-2005, 06:47 AM
I'm trying to help my friend customize her profile on myspace.com. Basically, you can add HTML, DHTML, and CSS (no java) to any of the fields (ie: My Interests, Hobbies, Music I Like, blah blah blah). I have helped her with a few basic tags like paragraph breaks, font size and color, images, and links.

But what we cannot figure out is how some of these people have changed the background color or added a background image, and changed the color of the borders of the table cells. I try putting body tags in any of the fields, and they have no effect. I try looking at the source of the good looking pages, and I can search for the background color or image name and find it in the source, but from the source I can't figure out where in the forms the user had to enter it to get it to work.

If it has anything to do with style sheets, I'm assed out, because I don't know how to do those except to have Word make them for me. But I think that's not the case, because in which field would I define the style, and why doesn't formatting the background work in that field?

Not sure if you have to be a member to look at these pages, but if anyone is a member, or is really, really bored and wants to join up real quick, I'd appreciate the help.

Here is mine, to give you an idea of what the default looks like. You can see I messed around a little bit in "About me" to see what I could do with the font and images.

J.D. (http://profiles.myspace.com/users/18616783)

This one has a black background, with red table borders. It even has music playing, gag me! Notice even how the menu under the ad ("Home | Browse | Search | etc.") matches the color scheme.

C-Note (http://www.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=4419451&Mytoken=20050213214727)

Edit: No, one does not have to be a member to view the pages. Yay! I have fixed the links. Oh, but nevermind. Now I see that she used a special myspace editor to do her profile. Neat!

Ensign Steve
02-14-2005, 07:16 AM
Okay, I am pretty sure style definitions have nothing to do with it, because I just went ahead and made a real quick one (a red-bordered table on a black background) and the source of it looked nothing like what I've seen in the other pages.

ceptimus
02-14-2005, 09:48 AM
You can change the background colour in a table. You just put

<TABLE BGCOLOR="yellow"> or whatever. You can also specify your own colours using #rrggbb with hex numbers in place of the red green and blue.

You can also use background images in tables.

But the best tip is to just peek at how the other people did it. Just do 'view source' on your browser while looking at the myspace website, and copy what the others did.

Ensign Steve
02-16-2005, 01:54 AM
But the best tip is to just peek at how the other people did it. Just do 'view source' on your browser while looking at the myspace website, and copy what the others did.

Wow. Sometimes I wonder if people even read posts before they reply. ;)

Seriously, thanks for the tips, cep! :)

I try looking at the source of the good looking pages, and I can search for the background color or image name and find it in the source, but from the source I can't figure out where in the forms the user had to enter it to get it to work.

...and the source of it looked nothing like what I've seen in the other pages.

Seriously, I appreciate it. I tease because I love. And it was really nice to get a reply to this question at all. Thanks for going out of your way. :hug:

Anyway, I found the editor c-note used and I used that. It is hideous! LOL! Still need to add some annoying background music, though. I'm thinking, "The Doom Song."

http://profiles.myspace.com/users/18616783

ceptimus
02-16-2005, 02:14 PM
Sorry for not reading your post more carefully before I replied. :blush:

I think that only one <BODY> is allowed per html document. I suppose you could use the <IFRAME> or <OBJECT> elements to embed a separate document into the page though? That would allow an extra head and body section, but I suppose you'd have to host it elsewhere. Does myspace.com allow the use of iframe and/or object elements?

I registered at myspace.com, but I've never spent any time there. I'll add it to my list of things to look at when I have time (but don't hold your breath :) )