I do not have time to troubleshoot people's code. (Hopefully I will again in the future).
I do not have much time to answer questions (but if it is a quick answer, that only takes me a few minutes, I will try to answer).
I really recommend the following site, for myspace customizing questions: Official Myspace Customizing Forum
That is the most reliable source, and the people I know who enjoy helping, and are quite good at it, tend to hang out there.

Friday, April 13, 2007

mySpace Simple Div Overlay

Creating a Super Simple Div Overlay for your MySpace Page
This div overlay strategy does NOT hide the bottom links, it pushes them down based on the size of you div overlay. MySpace has deleted profiles, for not showing the bottom links.

The Rules, related to what Code myspace filters, have changed. As a result this Div Overlay strategy no longer works.
I highly recommend upgrading to myspace 2.0. For Div Layout (Div Overlay) instructions, for myspace 2.0, go here:
MySpace 2.0 Div Overlay Div Layout Tutorial and Code


TO REMOVE THE PINK/magenta BORDER, set the px width of the myCoreDiv class to 0. It is good to make the last step. Having the border helps with troubleshooting

If you are creating the div for the artist band page, go here instead:
mySpace Simple Div Overlay Band Page

Modified 22 July due to myspace code changes

This is the div overlay we will be building in this tutorial:
Click Here To See the Page
(assuming myspace is actually up, more and more one just gets that expected error message).

This Process Consists of the following steps:
1) Create a Div, Image or Flash File which will make up the "Core" of your profile. This image (or flash file) can have any desired links drawn onto it. It can also contain blank areas to use for any of the following:
- The placement of images which are not drawn onto your core image
- The placement of text boxes
- The placement of videos or other objects
- the placement of Content we import in from the default page, such as blogs, friends, comments, music player, calendar.
- etc ...
This is an ideal strategy if you want to hide everything on your profile and replace it with a single image or flash file.


2) Hide Everything between the top menu area and the bottom links. (This block can be used, to hide the whole myspace page, without using the rest of this tutorial.)

You can choose to keep some content. That content is clearly commented in the code.
You can choose to NOT use all of the lines of code.

3) Create a Div which sits just under the top main menu and just above the bottom Links. We will do this in a way that allows the div to automatically center itself, and the bottom links to move down as much as needed.

4) Place Your Core Image (or Images).

5) Create Links. In this tutorial I do this by placing clear gif images over the locations, on your core image, the links belong.
Later I will cover some other methods of creating links.

6) Place Content from Default Page.


7) Create and Place Additional Content if desired.


STEP 1: Create the Core of your Content
By this I mean a main image, or flash, which you will use as the building block for your profile.
I am not going to show you how to do this. I did mine in PaintShop.
You can use any paint type program, or several online programs, to do this work.
I might provide some links to some later.

For this example we will use this "core" image:
Click Here to See the Image
(I was in the mood to draw circles. It is a good thing I majored in Computer Science instead of Art :-).

STEP 2: Hide Default Page Content
I am choosing to keep my ad banner, search, shortcuts, top menu, and bottom Links.

Place this code in the About Me.
<a class="i" href="views-under-construction.blogspot.com">
MySpace Code and Tutorials by Eileen
Hide Content for Div Overlay
<style>
.i, div.clearfix i i.i {display:none;}
table table table,
table table td.text table.blurbs {display:none}

table table td.text table {display:block;}

{! blogs; remove below line to show blogs !}
table table td.text table.latestBlogEntry {display:none}

{! friends; remove below line to show friends !}
table table td.text table.friendSpace {display:none}

{! Comments; remove below line to show comments !}
table table td.text table.friendsComments {display:none}

{! status message; remove below line to show status !}
table table td.text table.extendedNetwork {display:none}

{! remove borders from link images !}
a img {border:none !important}

{! clear space to left !}
table td img {display:none}
{! recover div img !}
table td div img {display:block}

{! get rid of more excess space !}
table td {height:auto !important;}
table table br {display:none}
table div.myCoreDiv table br {display:block;}

</style>
End Hide Code For Div Overlay </a>
If you want to hide any of the content in the top search/menu area see this article:
Style or Remove content in Top Search/Menu area

Step 3: Create a Core Div to put our our Content in, Between the top Menu and the Bottom Links
Place this block in the interests section.

I am going to use the "General" interests Section.

I next paste the below code block into the General Interests Section:
<i class=i>
Hide stuff to prepare for Div Overlay
<a href="http://xiii.us/ms/div-overlay">myspace div overlay code tutorial by Eileen</a>
</i>
<i class=i>!-Begin Block to set Table Level and Open custom Div-!</i>
<i class=i>Close ALL open tables so that our div is not effected by the stuff we have removed </i>
</td></tr></table>
</td></tr></table>
</td></tr></table>

<i class=i>!!Create and size our div.!! </i>
<div class="myCoreDiv" style="width:900px; height:auto !important; border:1px violet solid; position:relative; top:0px; overflow:hidden; z-index:0;">
<i class=i>!!-----START Core Custom CONTENT------!! </i>



<i class="i">!!-------END Core CUSTOM CONTENT--------!!</i>

<i class="i">!!Open same number of tables we closed.!!
</i>
<table class="myTclass0"><tr><td class="hideIfInInterests">
<table class="i"><tr><td>
<table><tr><td>
<i class="off">!-END Custom Block to Set Table Level and Create Custom Div-!</i>

Set the width to the Width of your own core image. I used 900px.

Step 4: Place Core Image.
Just below where it says "<span class="off">!---START Core CUSTOM CONTENT -----------!</span>"
Insert your image, i.e.
<img src="http://i178.photobucket.com/albums/w275/madeline_fogg/core2_cbg.gif">
Replace my image URL with your own Image URL.

If you have multiple images, list them one after the other. (Assuming they are clean horizontal image slices).
[Do NOT Slice your image unless it is too large for the site which hosts your image.]

Insure that the width of your image is the same as the width defined for the div. I have it set to 900px. If that is not the width of your image, you will need to change the width value.

Step 5: Create Links
The assumption here, is that the links have been drawn onto your core image. I will show how to place other types of links later in this article.

Get Measurements. Since we are measuring from the top left corner of our Main Div (and of our core image) The easiest way to get measurements may be to place a grid over the top of our image.

I have created a grid for this purpose.
I place the following code below the code I placed above (just below the core image).
This code is temporary and we will remove this code when we are finished.
<span class="off">!!!TEMPORARY To Place Grid!!!</span>
<div class="grid" style="width:900px; height:800px; overflow:hidden; position:absolute; top:0px; left:0px; z-index:0; ">
<img src="http://i11.tinypic.com/4pczehk.gif"></div>
The black lines are drawn every 50px and the pink lines every 10px.
My first link is the area with the text "Be My Friend"
I get this:
top:210px; left:120px
I get a size of
width:60px; height:50px
I will create my link by placing a clear gif over this area, and turning the gif into a link. I will use the same clear gif which mySpace uses in their default code.
I get the following:
<a href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=6221"
style="position:absolute; top:210px; left:120px;">
<img src="http://x.myspace.com/images/clear.gif"
style="width:60px; height:40px; "></a>
I put in Tom's Friend ID (6221), You will want to use your Friend ID.
I place the code block, inside my core content area, just under the last block I placed here.
[There will be a blue border, red on hover, over the link area. When we are done we will remove these. For now they are good for seeing exactly where our link is.]

I use the same technique to place the rest of my links.

Step 6: Place Custom Content onto Page.
I am going to place an image.
I want my profile Image on my page, but understand that importing it, is not as easy as just adding code to place the image.

I want to place the image top:30; left:270px. Remember, the measurements are from the top left corner of our core div (and our core image).
I use this code to place the image:
<img style="position:absolute; top:25px; left:270px"  src="http://a542.ac-images.myspacecdn.com/images01/100/m_d1f8240914a1aed367f3d960ba407195.gif">

Because the above needs to be INSIDE my div, I place this block inside my Core Div, just under the last item I added.
It needs to go above where it says END Core CUSTOM CONTENT

You can use the same technique to place other types of content.

I notice I didn't include a link for "View All Comments" when I created my core image.
I can easily add the link, providing the needed text with the link.

I pick the following location for my link: top:400px left:640px

For this example I am going to use both a content block and a style block.
My content block goes in my Content section (within my Core Div)
I use the following code:
<a class="myViewCommentLink" href="http://comment.myspace.com/index.cfm?fuseaction=user.viewComments&friendID=6221">
View<br>Comments</a>
(note: use your own friend id instead of Tom's).
I put a <br> between the two words in my link, to force a carriage return between the two words.
Notice I assigned a class. I am going to use the class, to create a style block.

Before we create the style block, notice where the link ended up.
It should have ended up just under your core image.
It should have taken on the default style attributes for a link (blue and underlined).
We will use a style block to change the color, font-size, font-family, and location of the link.

I am going to put my style blocks, which go with content I have placed in my core, in my music section.
<style>
a.myViewCommentLink {color:black; font-size:16px;
font-family:comic sans ms;
position:absolute; top:400px; left:650px;}
</style>
I did a pretty good job of matching the font style I used for the links I painted directly onto my core image.

Creating An "About" Section
Really this is just going to be a place to write some stuff you want to show up on your Div Overlay.

The easiest way is to just create a div, inside your Core Div, to hold this content.
IF the content is static in size (Not just over time, but across the different browsers and resolutions you expect your page to be viewed in) then you can use absolute positioning, to place the content onto an area on your Core Image.
However, if the content does not size statically, across platforms, this can be an issue. A scroll box can solve this problem.
Or, you can insure you allow enough space, to account for this.

If you want the content to be more dynamic in size; You can instead place the content so that it just falls onto your div, and your div grows as the content expands. This does NOT work with absolute placement.

I will do one of each here.
First I will create a Div, put Text in the Div, and then absolutely position the div in one of the Circles on my Core Image.

[Note: Avoid use of the <p> tag, if you want your content to size consistently across platforms. I have found that <p>, <br> and pt font sizing are the biggest contributors to sizing inconsistency.]

I did use some <span> tags in my text content, so I could format some of the text differently from the other text.

I am going to place this code, inside my Div. This means that I will place it Above the span where I have this END Core CUSTOM CONTENT
I place the following into my Div:
<div class="myText1">
<span class="myTextH">About Red Friend</span>
<br>
(aka Elmo)<br>
<br>
I am one of millions of Elmo Plush Clones.
I am not the Epileptic laughing Version, nor am I the singing Version.
I am just the Plush simple Version.
My Job is to be Cute, so that little kids will ask their parents to buy me.
I am very good at my Job.
</div>
Notice I did not include an inline style tag, in my Div Tag.
I could have.
But instead I am going to create a separate Style block to style and place my text div. I am going to place my style blocks, which go with stuff I put into my core div, in my music section. They could go almost anywhere.
<style>
div.myText1 {color:darkred; line-height:25px;
font-size:16px; font-family:comic sans ms;
position:absolute; top:250px; left:300px;
width:270px; height:270px;
}
div.myText1 br {line-height:10px;}
div.myText1 span.myTextH {color:red; font-weight:bold; font-size:20px;}
</style>



7: Import Content from Default Page
IF you did not include the code lines, to hide the content you want to import, this content should currently be BELOW your core div (with the exception of the music player).
Position the Status Box (What was once the Extended Network Box).

I need to insure I do not have the Status Box rendered {display:none}.
table.extendedNetwork {display:none;}

If you have the above line, in your hide code, remove it.
Notice the result, is to place the Status Box at the BOTTOM, underneath your Core.
Notice that the bottom links moved down to accomodate the Box.

Position and Size the Status Box.
I am going to place the Status Box in the Top Left of my Core.
I have drawn a box there for it.
I want to position the box here:
top:20px; left:20px;

I also want to alter the size/shape of the box, to fit in this space.
width:220px; height:150px;

I want to set the font and line-height to fixed px values, so that the text sizes the same across different platforms. (The myspace style sheet uses pt font sizes which have larger px size variation across platforms than px font sizes. Because all my positioning is based on px distance, I want to use this for my font and line-height sizing).

I end up with this block of code:
<style>
{! size and position Status box !}
table.extendedNetwork {position:absolute;
top:20px; left:20px; width:220px; height:150px;}
table.extendedNetwork, table.extendedNetwork td {border:0px !important;}
table.extendedNetwork span.blacktext12 span {color:darkred; font-size:15px !important; line-height:20px !important;}
</style>
This is a complete style block.
I am going to place this block at the end of the "About Me" section, just under the style blocks already in that section.

Importing the Friend Space(friendSpace)

IF you included the line of code, to hide the friendSpace, remove the line of code.
table.friendSpace {display:none;}


Now your friendSpace should be visible at the bottom of your profile.
If you have left a space, on your Core, large enough to accomodate the Friend Space, and any expected resizing due to your friends changing their pictures, you can now just move the Friend Space to the desired location.

I am going to move my friend Space to box on the bottom right of my core image.
I still have my grid in place, so it is easy to get the needed measurement:
top:570px; left:30px
<style>
{! position friendSpace !}
table.friendSpace {position:absolute; top:570px; left:30px;}
</style>
I notice my friendSpace is over the edge of my space, slightly, so I want to re-size it to fit better.
If you want to adjust the size of the friendSpace, see this article:
Sizeing and Styling the MySpace Friend Space

Importing the Comments (friendsComments) into the Div Overlay

Insure you do not have the following code line, if you do remove it:
table.friendsComments {display:none;}

Your comments will show up center bottom.
I Highly Recommend leaving the Comments There unless you want to hide your friends.
You can NOT put your comments in a scroll box, or do very much to control their length, UNLESS you either hide your friends or put your friends in the same scroll box.
If you just leave them at the bottom, they will push the bottom links down as they grow. You have the full width of the page to expand them, to accomodate those large images people tend to leave as comments.

However, if you do want to put the Friends Comments in a scroll box see this article:
MySpace Friends Comments In Scroll Box, Place anywhere on Page

Importing the Blogs

If you included the following line of code, Remove it:
table.latestBlogEntry {display:none;}

The blogs should show up at the bottom of your core Image (but above your comments and/or friends if they are still in this space).

You can not put the blogs in a scroll box UNLESS you do one of the following:

- Include the status in the same scroll box
- Hide the Status
- Re-Create the Blog Data (this is actually rather easy)

To locate the blog, to another location on the page, do the following:
<style>
{! position blog !}
table.latestBlogEntry {position:absolute; top:20px; left:470px;}
</style>


8:Clean Up
Remove the blue lines from around our link images. Place this style block at the bottom of the style section (you can really put it anywhere except inside another style block).
<style>
{! remove borders from link images !}
a img {border:none !important}
</style>
Remove the Grid. Find the following block of code, it should be just under the line where you added in your core image:
<span class="off">!!!TEMPORARY To Place Grid!!!</span>
<div class="grid" style="width:900px; height:800px; overflow:hidden; position:absolute; top:0px; left:0px;">
<img src="http://i11.tinypic.com/4pczehk.gif"></div>

Remove it.


Are there any other sections people are interested in showing?



Thank you for Visiting; Have a Nice Day :-)

Queries hitting my other articles which should hit this article:
-How do I Hide whole myspace page. Where can I get codes to hide myspace page. I want to put my friends div layout and Hide Everything (no Generator). how to Put an image as a div overlay. How do I do a simple div overlay. How do I make a div custom or make a div simple myspace. MySpace Div Tutorial. How do I install div overlays to myspace page.
I need code to hide entire profile on myspace for a div overlay. Hide what is behind a div overlay
This section shows how to hide everything on myspace
div over la y how to do one ?

MySpace Div Tutorial


div overlay myspace comments display on.
div overlay does not hide bottom links

Labels:

228 Comments:

Blogger Deb said...

Eileen, I'm going crazy trying to get my div to work on IE...it's fine in FF...could you take a look? My "test" site is:

http://www.myspace.com/debitch2u

Thanks so much...

23/9/07 22:18  
Blogger Eileen (aka Coboble) said...

Hi deb,

The problem is the use of position:absolute with negative values.
Try to avoid this. Because this is not clearly defined in the standards, each browser treats it differently.
The behavior is also very dependent on how the parent container is positioned.

Use this:
table.blurbs {display:none}

I know why you thought you needed to take that line out, but trust me, leave it in.

Take the code block I have in step 3 and put it in your about me section.

Notice where it says:
top banner, or anything else outside of your core content space can go here
Put the code for your top banner here.
Open the div, but do NOT close it yet.
Put in your image, it can either be a foreground or background image. You do not have to make it a background image.
Now put in the code for each of your links
(we are working inside the top banner div, we have not closed it yet).

Put in code for any other content you want to place on top of the top banner.

Close the banner div.

You can put your style block anywhere.

I usually put it in another section, just to keep stuff organized.

In your style block you want to
- Position your banner div, just like you did. Measure from top center
- Create the space above the body, using a margin just like you now have.
- Position each of your links, using absolute, and measuring from the top left of your banner div.

AVOID NEGATIVES (except for the negative margin, used when measuring from center to place banner div).
For the inner divs, you don't need margins, because they can be measured from top left, since we are working inside a parent container, with a known width.
(negatives are ok for the type of background positioning you were doing to do the visual effect on your links).

OR

Just treat the banner, like a central Core image, instead of a top banner, and put it under the ad banner.

I think that moving your ad banner that far down is risky. The myspace ad banner police may take one quick look, and zap your page into history. (They seem to like to do that).
But it is your risk, and your choice.

25/9/07 23:05  
Blogger Sherlock said...

Hi, I've been reading through all of your blogs for a while now, gearing up to make my own overlay. I've run into a slight snag on this particular page.. I've gotten up to placing my Content Div into my page, but everytime I place my div in (I included a z-index:2; attribute too) it just never shows up. I've attributed my Div styles and absolutely positioned it, also I haven't used negative numbers when it comes to placement. I'd appreciate if you had a quick look, tell me what I'm doing wrong; www.myspace.com/shockingninjapro is my test page.

I've left enough space at the top for me to (hopefully) pull the banner back in and resize it slightly.

Thanks for any advice you can give.

1/10/07 14:45  
Blogger Eileen (aka Coboble) said...

Sherlock,
I introduced a z-index bug to my own code at some point. I apologize.

You need to change this:
div.myCoreDiv {z-index:7}

to this:
div.myCoreDiv {z-index:0}

You can not resize the ad banner.
You have to keep it the default size.

May I make a recommendation:
- Start your core image at the point where you have your custom banner (slice the top off of it, so that the green banner part is the top of this image).

- Remove the code to hide the ad banner (that whole chunk).
Your core image will then naturally fall just under the ad banner.
Your background will end up behind the ad banner, and it will all blend together nicely.

The .mydiv you have, with z-index:2, doesn't seem to map to any actual content.
When you do get some content, the z-index:2 should work, IF you do what I indicate above, and change the z-index:7 to z-index:0.

1/10/07 18:50  
Blogger Jay said...

Thanks very much, the source of the problem was actually the block of code that hid the bottom links and the top banner. I just removed that code now everything shows correctly.

Thanks again =)

2/10/07 18:19  
Blogger Sam said...

Hi, i made myself a new profile and it all works. all i want now is one of those online now icons but i cant get one to work can you tell me how?
my profile is www.myspace.com/sammy_2991

4/10/07 05:51  
Blogger Sam said...

I also want to put in a music player and i cant get one can you tell how to do that also

4/10/07 06:01  
Blogger Eileen (aka Coboble) said...

Sam,

I think that I have the only working code for an online now icon.
However, I think myspace is about to make a change to this functionality, so I am not sure I recommend installing my code.
You can try this:
Online Now Icon code
These work this morning, but read the notes I have on the page related to myspace code changes.

Are you looking for a custom music player, or do you want to get the default one?
To get the default music player hit music (on the top menu) and start searching for an artist you like.
When you find what you want hit the "add to profile" button.

If you want a custom player, I don't know much about these.
May I recommend you try this forum:
mygen myspace music forum

4/10/07 08:07  
Blogger Sam said...

Thanks very much for that.. the online now icon didn't work but thats fine. i really liked the instructions for the div overlay it made it really simple. i have only had the new profile on for a day and have had heaps of comments on it. thanks :)

4/10/07 21:35  
Blogger Eileen (aka Coboble) said...

Sam,
I will look at your online now icon if you want me to.

But I suspect myspace is about to break it anyway, so maybe it is not worth the effort to get working.

4/10/07 22:13  
Blogger Sam said...

yer dont worry about it thanks anyway. is there any way i can move the default music player

4/10/07 22:56  
Blogger Eileen (aka Coboble) said...

Yes Sam You can.

<style>
{!-Move Player, measure from top left of a parent div-!}
table table div embed, table table div object{position:absolute; top:100px; left:200px}

{!-reverse effect on myspace vplayer}
table table td.text div embed, table table td.text div object{position:static}

{!-reverse effect on other objects you may have -!}
div.customObjectDivClassName {position:static !important}
</style>


OR if you want to move, measuring relative to the current location, replace position:absolute with position:relative.

Change the px values to the positioning you want.

5/10/07 00:12  
Blogger Joe said...

Hi there,
I just followed your tutorial and it was really great! Just what I needed.

BUT i am having a slight problem at the moment - basically, the invisible buttons I added over the top just don't work.
They are links and everything, but this damn msplinks thing keeps on stopping them from working.
My page is: http://www.myspace.com/lookhappy

please help!!!

5/10/07 05:38  
Blogger Eileen (aka Coboble) said...

Joe,
Take this out:
table div div {visibility:hidden;}

It hides your ad banner (only half the time, but that is enough to get your page deleted).

If you want code to properly hide the bottom links, without hiding the ad banner go here:
hide bottom links and copyright

As far as your other links go,
Your message link leads to the add function.
Your add may have been poorly constructed before the myspace splink process did their thing to it.

MySpace will change your links to splinks.
But usually they still work.
Some sites do not work.
Sometimes the splinks end up corrupt.
Usually there is nothing we can do to fix them.

5/10/07 08:57  
Blogger Joe said...

Hi again,
Thank you so much for the help! I've fixed the code to hide the bottom links and not the top banner, thanks so much for that.

The splinks are still giving me grief though - I have an account for my band that I'm trying to test the links with, but it just throws up page faults.

These are the links I'm using, which work fine when pasted into the browser directly:

http://comments.myspace.com/index.cfm?fuseaction=user.viewProfile_commentForm&friendID=157997844
http://mail.myspace.com/index.cfm?fuseaction=MAIL.MESSAGE&friendID=157997844
http://comments.myspace.com/index.cfm?fuseaction=user.viewProfile_commentForm&friendID=157997844

Could it be an error in IE rather than the splinks? I test the page in firefox and IE.
Thanks so much for looking at my code and helping me! I really appreciate it! :)

Joe

6/10/07 17:44  
Blogger Eileen (aka Coboble) said...

Joe,

I doubt it is IE

I just tested these links
message
add
comment

They all worked.
I could not leave a comment (not being on the friend list).

I did leave a message.
I also executed the add.

I did this in IE

6/10/07 20:23  
Anonymous Brooke said...

I am working hard on my code for a new myspace band page and have run into a little problem. I would like my shows to actually be on a transparent background so that you can see the background behind the text instead of a blue box as is showing up right now. I am not sure where the blue box is coming from but definitely don't want it. Could you help?

http://www.myspace.com/brooketestsite

10/10/07 18:45  
Blogger Eileen (aka Coboble) said...

brooke,

table table td.text div table, table table div table td {background-color:transparent !important}

Put it between style tags

For more on styling the shows see this
Style Band Page Shows

10/10/07 19:02  
Anonymous Anonymous said...

Your method of getting rid of the shortcuts drop down box does not seem to work.

12/10/07 04:35  
Blogger Jesse said...

I've been following this tutorial but when I got to the point where I was ready to start importing content things have not been going so well... PLEASE HELP!!!! I have already created my background image and all my buttons. Here is what I'm now trying to do:

1. create a single scrolling div layer that sits on top of all the other graphics that I can place wherever I would like.

2. I would like for the content WITHIN the scroll layer to be centered.

3. I want this single scrolling div to house all my page content. i.e. custom text, pics, flash files etc. basically, whatever custom content I desire to place on the page in the future along with my friends list and comments.

4. I want to import my friends list, a custom comment box and my comments into this scrolling div layer

5. I want the background of the imported content (comments, friend table, etc) to be transparant so my background is still visible behind the custom and imported content.

PLEASE HELP!!! YOUR ASSISTANCE IS TREMENDOUSLY APPRECIATED!! =)

12/10/07 12:31  
Blogger Eileen (aka Coboble) said...

anonymous,
it works for me.
If you provide a link to your page, I can probably figure out why it is not working for you.

12/10/07 18:36  
Blogger Eileen (aka Coboble) said...

Jesse,

First go here:
Put Friends and Comments in Scroll box
Once there,
Paste the first block of code (the one for putting both friends and comments in a scroll box)
in your "to Meet" section.

In that block of code where it has this:
<div class="myDClassFC">

Put your custom content just AFTER this.

Any custom content you put here, will be in the SAME div as your friends and comments.

Make sure you apply the needed code to unhide your friends and comments (shown in this article).

Now, your custom content, and your friends, and your comments are all inside div.myDClassFC

Any content you place inside this div, can be positioned measuring from the top right corner of this div.

Additionally you can place this div (div.myDclassFC) measuring from the top left of div.myCoreDiv

12/10/07 19:27  
Anonymous Pogo Forum said...

Hello Eileen. I have been working on my div for a while now and am pretty much finished. I just have 2 things wrong. I have a think pink line around a few tables on my myspace and I cannot seem to change the background color to match my images. If you could help me that would be great! Thanks so much!

http://myspace.com/POGOFORUM

17/10/07 14:13  
Anonymous pogo forum said...

Nevermind, I have solved my own problem. Thanks for posting all of that info it is awesome. I have told many about it. Keep up the great work! (;

17/10/07 16:32  
Blogger Eileen (aka Coboble) said...

Thanks Pogo,

Personally I think pink lines are cool, but they are not for everyone.
I am glad you solved your problem.

17/10/07 16:42  
Blogger Joe said...

Eileen,
I think I have a problem with my band's myspace page - we have a simple layout, but I think there's a bit of code that might be hiding the advert at the top sometimes.
The page www.myspace.com/athousandsunsmusic

If you could help that would be amazing! because we really don't want to lose the account.
Thank you!!!

Joe

18/10/07 14:40  
Blogger Eileen (aka Coboble) said...

Joe,
I looked at your page, and at your code.

I did not see any code, in your profile, that would hide the ad banner.

I did discover that the ad banner is not generating (I turned off style, and still did not see the ad banner, so it was not being hidden by style commands).
I also tested on a page with NO customizing at all, and saw the same symptom, no ad banner.

18/10/07 18:37  
Anonymous Michael said...

Hey Eileen,

I want to put a youtube video on my myspace with the overlay image I made, however I would like to get the video to appear on top of the image under where it says monthly video, just like the myspace player will do if you add music to your profile.

I have the video up on myspace, I just want to reposition it so it appears over the image under monthly video. If it's possible. Please help!

http://www.myspace.com/awakeoutreach

Michael

3/11/07 16:40  
Blogger Eileen (aka Coboble) said...

Michael
Wrap your video in a div, assign a class.

<div class="myVideo">
Your object Code here
</div>


You already have the object code in the correct location, just put the div tags around it.

Add this style block:
<style>
div.myVideo {position:absolute; top:214px; left:270px;}
div.myVideo object {display:block}
</style>

Change the values if the location is not correct.
Remember the placement is relative to the core div, NOT to the page body or the visual page window.

3/11/07 17:14  
Anonymous Michael said...

Thank you so much the video is exactly where I want it to be now.

Now I have a question about the friend space and comments. I removed the display none code but the friends and comments still don't show up. Is there anything I can do for this.

Thank you,

Michael

3/11/07 21:30  
Blogger Eileen (aka Coboble) said...

Michael

Find this line:
<table class="myTclass0"><tr><td class="off">

it is where the tables are open after all of the custom content is inserted into the div.

Remove the class="off"
That works if you put this block in the Interests section, but in the meet section you don't want that set to off.

Now if you want the comments and friends INSIDE of your div (so they push the bottom links down) REMOVE the last close div that you have.
We do not want to close the core div.
We don't have access to the code point we would need to close this, so we have to let it close automatically when its containing parent closes.

3/11/07 23:35  
Anonymous Michael said...

Thank you again,

The friend space and comments are on there now, but there's just one problem their default pictures aren't showing up on our profile. Is there a fix for this?

Thanks,

Michael

4/11/07 13:48  
Blogger Eileen (aka Coboble) said...

Michael

Add this to your style block:


table.friendsComments td img, table.friendSpace td img {display:block !important;}

4/11/07 20:09  
Anonymous Michael said...

Thank you worked perfectly.

Michael

4/11/07 21:52  
Anonymous Geofferino said...

Hi Eileen. Your tutorials are second to none, thanks so much for the help.

I just have a few quick questions regarding my design at:

http://www.myspace.com/electricalfever

Firstly, I have a pictrobrowser object that refuses to size properly. It's in a div over the top of the 'Photos' square, and currently hidden by 'span off' tags. Any idea how I can make it so that it fills that space properly? currently it reaches the right height but only about a third of the width.

Secondly, I was hoping to move my calender into the 'dates' area for maximum user interaction but had no luck with that. The calender would only remain at the bottom, centrally aligned above the friends table, and then I had no idea how to hide it, so I had to remove the dates completely, ergo, hiding the table. Any ideas? It would preferably be transparent, completely white text and in a scroll box.

Finally, I have some issues with cross-broswer compatability. Currently, everything works fine on any browser. BUT, there are vague differences between the text spacing that is plain irritating really. For instance, using a paragrpah tag renders all my text after that point black, meaning I have to manually label each section as white. If I could use br brackets, it would be fine but firefox doesn't respond to them the same way. Is there any pargraph or br type tag I can use to talk to all browsers in the same way or is it just a pipe dream?

Thanks again, I await your reply.

4/11/07 22:07  
Blogger daniel15 said...

Very nice tutorial, thanks for posting it. It looks really helpful, I'm going to attempt a DIV overlay layout very soon, and this will definitely be of assistance.

Thanks :)

5/11/07 00:35  
Blogger Eileen (aka Coboble) said...

geofferino

First add this to your object
class="myObject"
like this:
<object class="myObject" type ...

Next add the needed style block
<style>
div div object.myObject {
height:500px !important;
width:500px !important;}
</style>


You should be able to move your calendar there as long as you are not planning on putting your comments into a scroll box or use any sort of overflow control.
But you can not put the calendar in a scroll box unless you hide your friends and comments.

Consistent sizing across platforms is difficult (if even possible)
However, you can improve it.
Do NOT use the P tag, it will only make the problem worse.

I do the following:
Insure all font sizes are in px (pt and other units have more sizing differences across platforms, relative to the other stuff on the page).
hard set line-height values for everything, including the carriage return.
The carriage return does NOT size the same cross platform.

Trying to fit text, into a pre-sized box, usually means cross platform issues, unless you allow some extra space.

5/11/07 16:09  
Blogger Lee said...

Hi Eileen, Thanks for you great tutorial. I'm now wrestling with getting the friendsspace and comments in the core div. Is this do-able?

http://myspace.com/techsoldier

18/11/07 02:43  
Anonymous Jay said...

I've been puzzling over this for about 4 hours now.. I've gotten halfway through a layout (I've just finished making a few links), my problem seems to be that CSS PopUps don't want to work. Is there anything in your code which you foresee would create a problem with CSS PopUps?

In either case, is there a method (preferably easy =P) in which you would recommend placing a PopUp onto a Div overlay?
I've left the code on my test site hopefully you can offer some insight for me =)

TIA

22/11/07 00:36  
Anonymous geofferino said...

Hi there. I posted a while ago about a problem I was having. It's still no closer to being solved. If you look at my page, you'll see the pictobrwoser object in the Photos secion I have placed there is the wrong size and I can't seem to fix it and your previous advice didn't work. Any help would be much appreciated.

22/11/07 13:52  
Blogger Eileen (aka Coboble) said...

Jay
What exactly do you mean by "pop up".
Because I don't believe you can do what I understand the term "pop up" to mean; with the code that myspace allows.
I thought a "pop up" meant a new window pops up.

OR,
Do you mean that something will appear on your screen (in the existing window), when you hover over something, that was not there before?
This can be done.

If this is what you want, I can try to write up how to do it tomorrow.
I did something like this on my nephews page, for his friend space.

here:
Newphew's Page
Look at the friend space, and tell me if that is what you are talking about.
The large center image, changes, as the mouse hovers over each friend.

22/11/07 22:28  
Anonymous Jay said...

Yes, that's exactly what I'm looking for. Sorry I didn't use the correct terminology! haha, I really appreciate all your time =)

Hope you had a good Thanksgiving.

22/11/07 23:02  
Blogger Mark said...

Hey there Eileen,

Can i just say what a wonderful resource your tutorial has been to me. But im afraid i'm having 2 sticky issues i am sincerly hoping you can help with!

My current site is www.myspace.com/murphymantest

My first problem is I'm currently struggling with changing the remainder of the background orange.

And my second issue is making my friends and subsequent comments visible below my main Div.

Any help would be so very greatly be appreciated.

You Thank you for all your good work thus far!

Mark

23/11/07 10:58  
Anonymous Brev said...

Any body have a clue on how to embed different forum topics into the actual myspace page,

see myspace.com/hiphop for an example.

1/12/07 03:35  
Anonymous melquan said...

ok I understand that there are standards to web browsers, but i'm having trouble getting the content to show up on my div for IE....

FF works fine but, IE kills my div.

I would like to know were im going wrong..

My code is sloppy because this is the first time im doing a div overlay

if anyone could help:

www.myspace.com/melquan

2/12/07 16:09  
Blogger Eileen (aka Coboble) said...

Jay
I think you were using the term the way it is often used, I just had never used that particular term for that before.

I have an article here:
(The date is bogus, they always are, so I can keep things in logical order)
Mouse over hover effects using CSS

2/12/07 23:49  
Blogger Eileen (aka Coboble) said...

brev
I have never done that, or explored the subject.
And I actually do not have time to do that right now.
(Sorry).

2/12/07 23:56  
Anonymous The Gunslinger said...

Hi Eileen,

I just wanted to thank you for your hard work. I have been looking for a way to edit the default settings of the friends list without completely making your own from scratch (as those do not update when your friends do), and you're the only person that had the coding to do it.

Your info helped me to make these pages, so thank you very much.

http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=4071724

and

http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=265115499

I'm more of a designer than a coder ;)

Im also one of those people having major frustration over the splink conversion that myspace does, and cant seem to get the "add me" link to convert correctly.

I'll figure it out though, this was just to thank you for having this site, and to show you what I was able to do with your genious coding. =)

7/12/07 14:41  
Blogger Eileen (aka Coboble) said...

Thanks,

There is always the shortcut "add to friends" link.

No one hates splinks more than I do (except the spammers they were put in to help combat, but they were also the first to find ways around them).

7/12/07 20:22  
Anonymous SEspider said...

Hello.

I'm VERY new to overlays so I used the bbz website to get the codes.

but here's the problem.
I want to make a overlay table that does NOT hide anything on my MySpace Profile. I simply want to place the overlay above my profile (and the banner), while useing a seprate code to move my profile (itself) and the Ad down.

I know overlays cover up myspace images and links. I just don't want to hide them.

How do I place an overlay that does NOT hide anything? And still be able to place wherever I like?

Here's 2 test profiles I'm useing:

www.myspace.com/sespider
www.myspace.com/spider360

Thank You
-Richard

19/12/07 11:02  
Blogger Eileen (aka Coboble) said...

SEspider

You do this by creating a margin at the top of the body, and placing your overlay within that margin, using absolute positioning.

Place Banner at Top of Page

The above is for a top banner.
But it can be used for any content.
Just put the content you want into the div.

19/12/07 11:38  
Anonymous SEspider said...

Thanks Eileen,

Never got a responce back so fast before.

I know nothing as for codeing. I usually just find the part of the code I want, remove and resuse it.

For my overlays (as in the samples I posted in my last message) I use Photoshop's Save For Web option and it slices the image into parts (some containing links, others not).

Will your method work like that? I ask, because I ned to paste all of the links to the imagessomewhere within the code so they'll fit and line up.

Sorry for the quick responce last time. Don't worry, I don't expect a fast responce this time. ^_^

19/12/07 13:27  
Anonymous SEspider said...

Forgot to mention that I already know the code for moving the Profile down.

So assume I want to place the overlay ANYWHERE.

Thanks again.

19/12/07 13:29  
Blogger Eileen (aka Coboble) said...

SEspider

I just happened to be online when the message came, I rarely answer that fast.

If you know how to move it down, it is just a matter of placing your div, using absolute placement.
Place it the same way you would place a banner.
All your div content can be in the div.

19/12/07 23:15  
Anonymous SEspider said...

lol. I figured as much. ^_-

As I said before, I don't know coding. And the code that the bbz site gives out actually hides all content. Something I don't want to do.

I did try the codes you pointed out and....well it's not working either. Is there a certain place I need to put the code? Or am I just missing something?

BTW, I found a sprofile that's similar to what I'm trying to do. Snatching the source code doesn't help. Nor does contacting the member (messages are blocked).

http://www.myspace.com/lilwayne

I have no clue how to make a table, nor, "Core" at all. Just think of me as a little baby trying to change his own diper with a computer mouse.

What happened to the "Safe Mode" of MySpace? I can't find it anywhere.

I appologize for being such a pain. I've posted in a TON of Forums/Threads and no one has even bothered to help, let alone say "Hi." No one that is, but yourself. So I Thank You from the bottom of my heart for the help.

Once this is over with, feel free to message me on MySpace if you need some artwork done. I'm MUCH better in that field then HTML. lol

20/12/07 12:15  
Anonymous SEspider said...

PS: I've sent you a message via your MySpace profile here:

http://www.myspace.com/views_under_construction

It contains the Overlay code I'm using. I'm hoping it'll clear up the problems I'm having.

20/12/07 12:40  
Blogger Ari said...

Hi Eileen!

THANK YOU SO MUCH for your wonderful tutorial!

I seem to be having problems with the pink lines as well, and some of the myspace junk at the top and bottom won't go away. Did I do something wrong?

Also, how do I change the background color to match my core image's?

Thanks!

myspace: http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=88156192&MyToken=2f77201d-11b8-48d1-8a09-51feb77baeac

-ari

6/1/08 01:42  
Blogger Eileen (aka Coboble) said...

body, div {background-color:hotpink !important}

change hotpink to the color of your choice.
put the line of code in a style block.

6/1/08 13:25  
Anonymous Raneika said...

Hey, I have my div overlay ready but please I will like to know... HOW DO YOU ADD/KEEP THE BOTTOM LINKS FAQ, HELP, COPYRIGHT ETC.

11/1/08 15:14  
Anonymous someone who has used this tutorial a few times. said...

If you use this tutorial your bottom links/copyright should not be hidden, it should stay at the bottom.bwrkah

11/1/08 17:55  
Anonymous Trucker Tim said...

Wow, Eileen, where do you find the time? Impressive! I hope maybe you have some left for me.

I have a marquee banner above the ad on my home page (http://www.myspace.com/fult_daddy). I want to move the ad banner up and over my marquee, but I can't seem to do this without hiding the ad. Multiple google searches have landed me here to where I've come to understand that I need to set a z-index for the ad and my banner div, but I don't know where to place these. I've tried several different methods to no avail. I really don't know what I'm doing, and sure could use some help. Thanks!

14/1/08 21:54  
Blogger Eileen (aka Coboble) said...

trucker tim

Put this in a style block:

div table div {position:relative; top:0px; z-index:9}

15/1/08 20:40  
Anonymous Trucker Tim said...

Thanks Coboble! I have another Q for you.

If you look at my page I have a marquee on top that tucks behind the MySpace advertisement. I currently have the marquee width set at 1260, which works well on my PC, but what I want is for it to be 100% width on any PC at any res... I've tried numerous code/placement combinations, but I really don't know what I'm doing. I thought a simple "width:100%" would do the trick, but that just collapses the marquee over the first background tile.

At first I had the marquee in a div, but I took it out of the div thinking that'd make it work, but I got the same result.

I don't want the width at 1260px, I want it to fill the width of any given browser at any given resolution. Know what I mean? I wanted to post the code I have, but I don't know how to post it as text(?)

Thanks!

16/1/08 20:47  
Anonymous Kenzie said...

Hi Eileen,

You have a great site here. Great information, easy to follow, always reliable. Thanks for all your hard work as it really comes in handy. I am working on an overlay and I am not sure if what I want can be done. I would like to import the friends list and my comments into the overlay right at the bottom (leave me a comment box). I would like them to be sized and scroll. I have tried a few different things and can only ever get them to show up outside of the overlay at the bottom which makes the page look less uniform and just does not flow properly. Do you think you could help?

My test page is: http://www.myspace.com/twiztidisdachit

Thanks in advance for your help,
Kenzie

1/2/08 18:33  
Anonymous Joseph said...

Hey Eileen -

I apologize if this question posts twice, but I haven't seen the original one.

I'm looking for either an image host that will work with LARGE files (860 x 3600px), OR one of your AMAZING tutorials about "slicing" images; perhaps an advanced tutorial?

I designed this page (myspace.com/thedaysthenights), and so far this is the largest image I've been able to load (866 x 3166px)

Your help is greatly appreciated!

Joseph

6/2/08 19:51  
Anonymous Megascorcher said...

Hey Eileen, got a question, a simple one too.

In regards to inserting an "About Me" text area, i've got it in the position i need it, but the text in this field is all centered, how do i make it so the text aligns to the top left of the text area?

7/2/08 18:50  
Anonymous Brandon said...

Hey Eileen, i'm having a problem..

I have a custom "about me" box that displays in the right position when i'm looking at it on my computer in the most updated Firefox and Internet Explorer.. But when a few friends look at it on their computers, the about me box is over to the left and not where it should be..

Another thing that happens in those other computers is the background is stretched out a little on the right side.. Don't know what's causing that, because it looks fine in my two browsers..


Please help me out here Eileen, thanks! Here is my test myspace link: www.myspace.com/puntitagainbob

11/2/08 15:02  
Anonymous Anonymous said...

Eileen, you say in your tutorial:

"You can NOT put your comments in a scroll box, or do very much to control their length, UNLESS you either hide your friends or put your friends in the same scroll box."

Well I found that this is not true. I found it out by accident. I was following this tutorial up to the Clean Up part.

I tried to add a scrollbox to the blogs by adding
height:50px;overflow:auto;
to your latestblogentry code. That didn't work at all (yes, I hid the status/extended network first)
I then tried to add one to the friendSpace list by doing the same thing to the friendSpace added code section just as before.

Again no luck.

Then I tried to add the following code into the HTML in the Interest section (with the rest of the stuff) in the core section:
[div class="friendSpace" style="height:100px;overflow:auto;"]
(all properly bracketed of course, and closed the div)

Again nothing.

Then in that small section after the above code and before the closing div for it I added what had worked for me in the past:
[table][tr][td]
[table][tr][td]

So my code for the section looks like :
[div class="friendSpace" style="height:100px;overflow:auto;"]

[table][tr][td]
[table][tr][td]

[/div]

Well, again no scroll box for the friendSpace section, but all of a sudden I have a scrollbox for the friendsComments section, and no the freidns section is not included in it! However, the bottom links & copyright notice is.

You can see my testpage and this in action here for the next few days:

myspace.com/therealflatfive

So, how can I get the blog into a scrolling table cell, and ditto for the FriendSpace section?

Do I have to stick certain parts of code into the Meet section for this to work? Does it matter?

Thanks!!

13/2/08 22:54  
Anonymous Anonymous said...

I have a pink border around my entire page. How do I get rid of it? You're tutorial is amazing!!!!

Thx, Kim

14/2/08 09:20  
Blogger Eileen (aka Coboble) said...

annonymous
Have you checked the result cross browser?
For a minute there, I was hoping you had figured out a way to do this.
I don't think there is a way that works in IE.

How bad do you want your blog in a scroll box.
It is not impossible, for a div overlay, where the bulk of the default content is hidden.
It does require that you do NOT display any of the following:
details,
schools,
networking,
video slider,
status (extended network).
But it takes some effort to code, and I don't have the time right now.
I will give you the concept, and maybe you can code it.

You would start the div, which will contain this scroll box, in your heroes. But you do want to go up a few table levels.
Then you close the div out, at the top of the about me.

14/2/08 14:12  
Blogger Eileen (aka Coboble) said...

Kim
Thanks,
I force everyone who uses my code to keep a pink border around their div.
It is sort of my trademark.

Not really, I am just kidding.

Look at the line of code, where the myCoreDiv is created.
Notice that is where the border command is.
I think the color I used is actually magenta (such a nice color)
You can change the color, or set the width to 0px.

14/2/08 14:18  
Anonymous Anonymous said...

You're right. It works in Safari on the mac, and firefox on the Mac and PC. Testing it w/ IE 6 I get the scroll box, but yes, both the friendSpace and friendsComments are in that scroll box. :-( Thanks for not following the standards, MS. :-)

So I would open the div in the music section, & close it in about me. Odd. I just kinda figured that MySpace loads these top down, but I guess not. Do you have a tutorial on how/when each section gets loaded and what should get put in each section in general terms?

I think what I'm gonna do is just go and look at your friendSpace in a scroll box tutorial, and try to use that, and just put the firends comments in an ever exanding bottom table cell like in your tutorials. It seems the simplest solutions.

BTW, I have learned more about tricks for this stuff using your tutorials here than using the Hacking MySpace book or many of the other tutorial that there are around the web! Thanks for your efforts!

I've done CSS and other stuff a lot in developing other sites, both personal and commercial. MySpace is easily the 2nd most confusing and complicated way to create a page! I had the most difficulties with creating an eCommerce site w/ ZenCart, but a lack of php knowledge likely contributed to that. It is also a system where placement of things and pages & files is laid out in a completely illogical and counter-intuitive manner. :-(

15/2/08 08:53  
Anonymous Anonymous said...

Thanks for the little lesson on your mandatory magenta border! :) So, my next question is how do I change the color of the text inside the custom scroll box?

THANKS AGAIN!!!!
Kim

15/2/08 11:06  
Anonymous Anonymous said...

Hey Eileen, i'm having a problem..

I have a custom "about me" box that displays in the right position when i'm looking at it on my computer in the most updated Firefox and Internet Explorer.. But when a few friends look at it on their computers, the about me box is over to the left and not where it should be..

Another thing that happens in those other computers is the background is stretched out a little on the right side.. Don't know what's causing that, because it looks fine in my two browsers..


Please help me out here Eileen, thanks! Here is my test myspace link; www.myspace.com/puntitagainbob

15/2/08 13:49  
Anonymous Anonymous said...

Maybe I'm going crazy, but I think MySpace just broke some of your code. My test page looked fine yesterday. Today its totally blank!

Through a process of elimination, this seems to be the culprit code:

{!hide bottom menu links!}
table div {display:none;}
div table div {display:block;}

When I remove it, the page comesback...

15/2/08 21:28  
Anonymous Brad said...

Eileen,

Is it possible to add a single connecting opaque background behind all tables without going through the closing and opening and all the div layer process?

Brad

17/2/08 08:04  
Anonymous Kevin Mack said...

Looks like my last comment didn't post, so if I'm doubling up... I'm sorry in advance.

My background image (in the body, not the div) doesn't center in FireFox like it does in IE7. Is there some secondary code of some sort that I need to enter in? I just used myspaces profile editor to apply the background, not sure why they wouldn't have it set to work right with FF.

my page in question: http://www.myspace.com/mack2d2

I'd also like to say thanks for such a helpful site, so umm.. thank you.

-Kevin

19/2/08 14:42  
Anonymous Kevin Mack said...

I found a work around for my design that I think I will be happy with... but now I don't really understand how to get the div to go up behind the banner and google search bar. I see the part of the code that says what it's for, but what am I supposed to do with it? when I changed the top to a negative number on myCoreDiv, it ended up covering the banner even though it is on a lower z-index.

20/2/08 12:27  
Anonymous Anonymous said...

Eileen (or anyone else), my core image has a thin pink line around it, how do I get rid of that? Also, how do I set the overall background color of the page to replace the grey? I need it to be white. Thanks.

25/2/08 12:26  
Anonymous Anonymous said...

Eileen, please help. I have mz design. I am lost!!!!!!! I will pay you to fix this for me, please tell me how to reach you.

28/2/08 23:52  
Anonymous Anonymous said...

please email me at afterdarkprom@aol.com

PLEASE!!!!!!

28/2/08 23:53  
Anonymous Anonymous said...

You're brilliant. This worked so wekk, thank you so much!

29/2/08 02:34  
Anonymous Anonymous said...

Hi Eileen...
I've tried to get the overlay to work on my page but it just goes completely blank. I've read many other tutorials and have deleted all the content before added all your codes. But I can not get anything to work.
It just goes blank everytime.
Please help.

1/3/08 16:39  
Anonymous K said...

Eileen,

My page is perfect in IE but some parts will not show up in FIREFOX and it is driving me nuts. I don't mind paying for help if you have a paypal account. Email me @ darklotus4life@msn.com and we can discuss if possible.

4/3/08 23:06  
Blogger Keith A. said...

Eileen, Finally I can remove the stock myspace components and put my images on the page AND IT BE CENTERED!!! THANK YOU...

Unfortunately, I have the pink line and the gray background. I never read your fix for Anonymous, perhaps you settled his same prob in a different location than this forum. So about this pink line and background issue, what now?

Thank Jedi Eileen,

Kieffa

11/3/08 19:02  
Blogger Eileen (aka Coboble) said...

The grey background is the default body background.
It can be changed by styling the body

put this in a style block:

body {background-color:hotpink !important;}

The pink line you speak of, may be the border I put around the div (I like pink, and I like to be able to see my div boundaries when I am designing).

Look for the line where the div is created.
It has this in it:
border:1px magenta solid
Change it to 0px and the border will go away.

11/3/08 19:15  
Blogger Keith A. said...

Eileen, I decided to quit being lazy and actually read more of the previous posts. This new method of mine worked like a charm.

You're the best....

Hey check out what you helped create:

Http://www.myspace.com/calvinkleinusa

Thanks,

Kieffa

11/3/08 19:23  
Blogger Keith A. said...

This post has been removed by the author.

11/3/08 19:25  
Blogger Keith A. said...

Wow, you're fast...

By the way, I think it says "Violet" not magenta...

Either way, all is well.

Thanks,

Kieffa

11/3/08 19:30  
Blogger Brandon said...

Please help me Eileen! The page i'm making looks fine in new browsers (Of course)... But on older versions of IE, my custom about me box is being moved to the left and my background is being spaced out to where the page requires a horizontal scroll bar! The test page is at www.myspace.com/puntitagainbob - I'm using absolute positioning on the box... and I have no idea what's wrong with the background, please help me out here, and I can give you the password/email if you would like to look at the code... Thanks!

12/3/08 00:03  
Blogger Versitiletruth said...

Eileen, I've used your tutorial to design my first myspace layout. (I was first introduced to web coding about two weeks ago so I'm still not familiar with terminology, etc) First, my code isn't showing properly in FF...???... Second I can't figure out how to make my background one solid color (there are a few extra spaces aroung the edge that I don't know how to fill). And lastly, how do I create a border (possibly animated) around my core div???

Thanx - Versitile "The Truth" a.k.a. Young Verse

p.s. your site has definitely joined my top ten favorites. (myspace, facebook, imeem, wikipedia, youtube, etc...)

12/3/08 13:07  
Blogger Versitiletruth said...

www.myspace.com/untamedmuzic

12/3/08 13:08  
Anonymous Anonymous said...

i would like to know how to add a bar at the top of myspace page

[add][block][message]

thank you for the tut

THE BEST OUT OF ALL THE ONES I READ

13/3/08 10:23  
Blogger Eileen (aka Coboble) said...

To make a custom menu bar
CLICK HERE

13/3/08 11:51  
Blogger Kieffa said...

Hello Eileen, You've been extremely helpful. My page looks wonderful.

However, I decided to keep my friends visible at the bottom. I have a black background and unfortunately the comments' text is black as well, so, yea it's not readable.

What do I do to make that text readable?

http://www.myspace.com/kieffadrumco.com

Thanks,

Kieffa

13/3/08 20:15  
Anonymous Anonymous said...

You are awesome to be so helpful. I used another sites dynamic overlay code to build my photography profile and for the life of me I can't get it centered. I'm not code savvy and everything I am aware of and have research has failed. Any input you may have would be awesome! It looks really unprofessional all to the right like this..lol

http://myspace.com/slhphotography.net

Danke Muches!

14/3/08 10:24  
Anonymous Dave said...

Hi Eileen, first off thanks so much for these wondergful tutorials, they totally rock.
now I am having the same issues as Kiefka above, I want to change my text color in the comments section and also my latest blog entry colors.
How do I go about doing this, I have spent several hours now trying different things.
my site is http://www.myspace.com/dirtydevilapparel

any help woudl be greatly appreciated, also, I am trying to get my scrollbar on my friends/comments section to nudge right up against it instead of hanging out far away from the scrolling portionf. if you look at my site, you will see what I mean.
Thank You so nuch
Dave

15/3/08 13:29  
Blogger Brandon said...

The page i'm making looks fine in new browsers (Of course)... But on older versions of IE, my custom about me box is being moved to the left and my background is being spaced out to where the page requires a horizontal scroll bar! The test page is at www.myspace.com/puntitagainbob - I'm using absolute positioning on the box... and I have no idea what's wrong with the background, please help me out here, and I can give you the password/email if you would like to look at the code... Thanks!

17/3/08 15:51  
Blogger Poison said...

Hi people i just finish my second layout but i have a question why does it take too long to show the layout and why if i hide everything when is loading i see everything that i have the last time http://www.myspace.com/elhota
thanks

18/3/08 12:48  
Blogger Kieffa said...

Okay Eileen. I'm a little concerned about your well being at this point. Its been a long time (in the web world) since you've been on the post. Hope that all is well.

http://www.myspace.com/kieffadrumco

Thanks,
Kieffa

21/3/08 17:30  
Blogger Eileen said...

Thanks Kieffa,
it is always nice to know people care.

I have not been paying due attention to this blog for a while.
But I am ok (I think).

21/3/08 17:43  
Blogger Kieffa said...

Hi Eileen

I'm still having problems with my comments' text. I have a black background and black text. I want to change that text to white. I've been trying to be independent and not rely on ur post for assistance, but I am all out of effort.

What must I do to make that text white?

http://www.myspace.com/kieffadrumco.com

Thanks,

Kieffa

27/3/08 11:23  
Anonymous Anonymous said...

Frickin awesome friend of mine is fixing my issues... YEA! Danke muches anyway! :-D

28/3/08 08:59  
Blogger Karen said...

Eileen, I am with everyone else. I have been trying to figure out how to create this type of myspace and yours is the best written information out there.

If you look at my myspace site:

www.myspace.com/kmseniors

1. I can't figure out how to get rid of the gray box at the top. I don't mind the ad box,, I just want my header to go right below it where it is but have the bacground image which is the beige and stripes, to go all the way up.

2. I created a video through aminoto.com and have it placed exactly where I want it,, the problem is I can't get the play and pause buttons to work. Is something in the coding blocking those buttons?

3. Is there a way, once I position the first image after the video that I can place additional images without having to restate the position each time. So maybe create a block of images and then just state where that block of images is to go.


Thank you so much for your time and the tutorial.

29/3/08 11:44  
Blogger Karen said...

I am not sure what happened but when I took the grids off I was able to play my video!

still not sure about the other questions though.

I am going to be playing around with your nephews friends roll over,, that is so different,, so I will probably have more questions about that down the road.

29/3/08 11:55  
Blogger Karen said...

Sorry to keep bothering you but I am learning coding as I am doing this.

I need to get the background image to repeat indefinitely so as I add images it will start to scroll.

What do I need to change or add to allow it repeat and to get it to cover up the gray box?

Thanks again for your time and talent

29/3/08 12:50  
Anonymous Anonymous said...

dude, this is awesome
ive been looking for like ever for a decent div code

this is perfect

30/3/08 18:57  
Blogger Karen said...

Me again,,, please ignore my last couple posts. I have figured out almost everything.

The main problem I am having now is resizing div layer so that it is centered on all monitor resolutions.

It looks fine on my main screen but when I go to my laptop it is off center to the right.

www.myspace.com/kmseniors

Thanks again.

31/3/08 08:53  
Anonymous Anonymous said...

Hey Eileen, i'm going insane with this, i've been working for weeks on one small problem that I can't figure out... my custom about me box is being centered on internet explorer 4, but it's fine in newer browsers. i really need it to work on ie4 because that's what browser my friend has that i'm designing it for.

i've replaced all the code three times and i dont know what i'm doing wrong, please help me!

31/3/08 17:39  
Anonymous David said...

I need help with placing my blog. It seems fairly straight forward, but in your tutorial you state that once you remove the code to hide the blog, it should appear bottom center. Mine is top center... and no matter where I try and move the blog it is always behind my core div. I have placed the code



{! position blog !}
table.latestBlogEntry {position:absolute; top:500px; left:270px;}


within the core custom content and you can see it just barely peeking out the right side (want to move it after its on top).

The myspace I am designing is:
www.myspace.com/meaganjamesonphotography

Any help would be appreciated! Thanks,

Dave

1/4/08 06:49  
Blogger Eileen said...

If you blog shows up on top, instead of the bottom, when you unHide it; then it is NOT logically inside your core div.

My guess is that you put your code, to start your core div, in your about or meet section, instead of in your interests section?

For this to work, you have to open the core div, in the interests section, because this code entry point occurs BEFORE the blog code.

1/4/08 09:49  
Anonymous David said...

I Love you :-)

1/4/08 13:11  
Anonymous Phoenix said...

hi i used your code and im kinda need some help. i new to css and html coding but i know a little bit of stuff. basically my concern is that even though my page on firefox is aligned it is not on internet explorer. do you know what the problem is?? u think im put the code and div's in right. my page is http://www.myspace.com/fbzflyboyz. can you check it out? thanks alot

1/4/08 22:03  
Blogger Stat said...

Eileen,

First off, I want to say...kick azz tutorial! Man this has freed me up to do anything I want with Myspace Designs and I love it! I'm just finishing up my first design under your style and I was all happy until I went to IE and saw everything was off centered! I HATE MICROSOFT! Anyways what I realized is that myCoreDiv has to be set to absolute so that it lines up with my background image. When I set it to absolute...both browsers render it perfectly......EXCEPT the bottom links footer comes up under the top links. Can I set the bottom links into its on DIV and force it to move back to the bottom? Or can I not have myCoreDiv set as absolute.

The url is: myspace.com/dpmgtest

Any help would be greatly appreciated because I know how busy you must be! Thanks!

3/4/08 11:00  
Blogger Eileen said...

If you want a background image, to line up perfectly with the core image, then position it center (I noticed it was positioned left).

Leave NO spaces or carriage returns, between multiple images.

I am noticing a slight difference in IE (it is very slight once you actually center your background).
However, I would NOT use absolute positioning, of the core div, to fix this.
Why?
If you do, your bottom links will not move down, and place neatly at the bottom.
Instead I would use relative positioning, with an IE only correction.

Perhaps

position:relative; _left:1px;

If you put an underscore, before the word left, like this
_left
Then only IE will read the command.

3/4/08 18:32  
Anonymous PX GFX said...

hi i used your code and i kinda need some help. im new to css and html coding but i know a little bit of stuff. basically my concern is that even though my page on firefox is aligned it is not on internet explorer. do you know what the problem is?? u think im put the code and div's in right. my page is http://www.myspace.com/fbzflyboyz. can you check it out? thanks alot

3/4/08 19:38  
Blogger Stat said...

Eileen you are absolutely wonderful! Thanks again so much! I think I got the centering position all fixed. I only have one thing left to figure out. The ad banner seems to be a bit off to the right. I know we add code that sits in between the ad/top links and the bottom, but can we control the positioning of the ad banner too? I would like to move it to the left 50px or so.

4/4/08 11:02  
Blogger Alexis said...

First off, wonderful tutorial!

I'm having trouble removing a drop down menu from above my core image...I'm not that efficient with html/css so the last thing I want to do is go poking around and deleting things on my own! Also, I've had trouble changing the background color? No matter what I've tried, I can't make it not white...any suggestions? My page is here if you need to see what I mean: http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=86284495

Thanks!

5/4/08 18:45  
Anonymous David said...

Hi Eileen. Sorry to bug you with another question! You are the only person on the internet who knows what the heck they are talking about though, so...

Probably a simple fix. Basically, my blog position is different in IE and firefox. I use firefox primarily and I aligned everything just right. When I checked it in IE, it was just way to the left. I have the exact code you have in your tutorial, just changed the left and top numbers. Any ideas? If you want to look its:

http://www.myspace.com/meaganjamesonphotography

Thanks for your help!
-Dave

9/4/08 10:44  
Blogger Eileen said...

Dave,

I have just discovered, that FireFox has an anomaly (bug) here, and the align="center" (which is in the myspace default code); is preventing our left:0 from taking effect.
We can fix this by forcing the display mode to block.

i.e.

table.latestBlogEntry {display:block; position:absolute; top:800px; left:400px; width:420px}


Thank you for bringing this to my attention.

9/4/08 17:50  
Blogger Eileen said...

Dave,

I have just discovered, that FireFox has an anomaly (bug) here, and the align="center" (which is in the myspace default code); is preventing our left:0 from taking effect.
We can fix this by forcing the display mode to block.

i.e.

table.latestBlogEntry {display:block; position:absolute; top:800px; left:400px; width:420px}


Thank you for bringing this to my attention.

9/4/08 17:52  
Blogger Haggulator said...

Hi Eileen,

Your tutorials are fantastic. I'm having a rather strange problem. Everything is working, but the images for the friendspace and comments are not loading. You can view the design here:

myspace.com/6smprofiler

Can you let me know the best way to have them load?

Thanks!
- haggulator

10/4/08 16:47  
Blogger Haggulator said...

Hi Eileen,

I think I figure out the issue! thanks for the great tutorials. Please contact me if you do this professionally - I know some developers whom I'm sure would love to work with you.

Thanks!
- haggulator

11/4/08 17:08  
Anonymous jai said...

hey eileen!

good tut..

one question..

is there anyway of makin a scrollin text marquee that will be displayed over previous layers?

11/4/08 23:57  
Anonymous Anonymous said...

Hey Eileen,

Used all of your tutrial and found it very helpful thank you.

Just one question, do you know a code for showing a Myspace Video at the bottom of my band layout?

I can't load it on to youtube as it rejects it for being too long.

Really hope you or someone you know can help!

Best wishes,

MizT xxx

15/4/08 03:51  
Anonymous Anonymous said...

Hi Eileen,

I have never been a fan of sites like MySpace, YouTube, etc., but understand that they hold high value given that large corporations across all industries use them to promote their products, movies, etc.

One of my high profile clients asked my company to develop a MySpace profile for them. Naturally, I couldn't have it scrolling in all 4 directions with content displaying in unknown places.

So, it took me 2 weeks to grasp the MySpace code, but I still had no idea why my custom content was not displaying correctly. After an exhausting 2 days of surfing the Net for answers, I stumbled upon your blog.

I write this comment with teary eyes because I can't even begin to express my gratitude for all the knowledge I gained to customize my client's MySpace and the appreciation I hold for your valuable time in writing all that content. YOU ARE AWESOME!!!!

Everybody, we should petition Google to hire Eileen.

What you are offering is quality, thorough and knowledgeable information and instructions.

I could write a whole page in your blog and it still would not even begin to scratch the surface of how grateful I am to you for your MySpace offerings.

I just completed my client's MySpace custom profile. It has been a grueling 29 days of painstaking work.

THANK YOU, THANK YOU,
redbaroness

19/4/08 17:06  
Blogger Eileen said...

redbaroness
Thank you
this has to be the best compliment I have gotten to date.

Maybe I should post my resume, my current job is just no fun anymore (but it does still pay well).

- Eileen

19/4/08 18:29  
Blogger Karen said...

Eileen

I still have not been able to fix my problem with centering my top images on my background image regardless of the screen resolution being viewed on.

My myspace site is:

www.myspace.com/kmseniors

I would greatly appreciate any help you could give me to help resolve this problem.

20/4/08 06:17  
Blogger Eileen said...

Karen
Your image is 1500px wide, with a huge amount of clear area on the sides.

The best you can do is to center it within an assumed 1500px wide area.

You can get the ad to center above it by forcing the body to 1500px

i.e.
body {width:1500px}
(in a style block)

You also do NOT want position absolute, you want position:relative, for the image.

What happens when the screen is narrower than the size the body is either set to, or forced to based on the content inside it?

You get a scroll bar at the bottom, and while your content is centered within the 1500px area, the actual center of this area, does not show on the center of the screen.

Set your screen to very narrow, and see what happens when you bring up the myspace home page. Notice it doesn't center at all.

Recommendation:
Trim your image down, to a more standard size, since the content on the edges is transparent anyway.

20/4/08 10:42  
Anonymous myles7897 said...

hey, love your codes. Did wonders on my myspace profile. The top banner is great and I am working on a DIV overlayer, been trying to figure that out for ages.

I do have one request. I hid my blog section, but I want to add some html there. I am sure it is real simple for you. I want a animated banner to play there, I already have the html for it.

24/4/08 22:21  
Blogger Eileen said...

myles
Is the banner a gif (or png) image, or an object (such as flash)?

With an image it is easy, you apply it as a background to the blog table.
You then hide the content in that table, without hiding the actual table.

Go here:
Blog Table add Image

Go down to where it says:
Replace Blog With a Background Image

Then put that in a style block (I didn't include style tags with that code block, but see the top of the article if you don't know what those are.

IF it is an object (as in flash) it is more difficult.
In this case you want to keep your blog table completely hidden.
You then put the object at the top of your about me.
You can, from there, move it up, using relative positioning.

24/4/08 23:14  
Anonymous Anonymous said...

Hi Eileen. My name is Gwil and I'm completely new to this CSS milarky - but was thankful, after much trawling, to find your pragmatic and (fairly) easy to understand guidelines.

I was just having a play this eve as its getting late - and got up to placing the clear gifs over pre-identified link areas. The only one i have tried at present is the 'Add friend' link but to no avail. It keeps taking me back to the myspace homepage and NOT to the add friends link.

I am going to use your codes to build a beautiful music page for myself - but i am using my personal page - http://www.myspace.com/riseagainst11 as a testing ground.

Any help you could give would be super!

Many thanks

Gwil

27/4/08 17:18  
Anonymous Anonymous said...

Hi Eileen. Great post! I hope you are still checking up on it as i could do with some help.

I have a problem with creating a band page - i want my comments to fall inside the div - but scroll with the div like at this page - myspace.com/everythingburnsband.

How can i do this? - Please help! Its the only problem i envisage having!

Many thanks

Jim

29/4/08 04:47  
Anonymous Anonymous said...

ohh ohh! one other thing. on the example webpage i pointed out - the central div appears to scroll freely of the background images on either side.

how can i achieve this ?

please help!

Many thanks

Jim

29/4/08 05:02  
Blogger sftstcpy said...

This post has been removed by the author.

30/4/08 07:59  
Anonymous Kev said...

hey, you know the bit that says you can put at the top, near the banner and links, outside of the core content, how do I do that, I tried to put an image and nothing works, it just shows the myspace banners, links etc.

Thanks in advance

4/5/08 17:29  
Anonymous Kev said...

nevermind ignore my above post, the banner would cover what I want to do if I did that, and on personal profiles your not allowed to move it or delete it, so forget my post :)

4/5/08 18:16  
Anonymous Kevin said...

ok this time I do need help, the blogs, I need them to be able to scroll, you say this is quite easy to do by recreating the blog data, but there is no code or tutorial showing me that, howcome, or did I miss something, can you help please, I have them exactly where I want I just do not know how to make them scroll, thanks in advanced.

5/5/08 15:48  
Blogger Ann said...

First off, I just want to thank you for this page. It saved me tons of time.

I have one question. Where do I stick in a background image that goes below the core div? I need it to scroll behind everything and I cant figure out what table it should go in.

Appreciate the help ahead of time.

-Ann

13/5/08 07:17  
Anonymous VeezyWeezy said...

eileen, wonderful job on all the hard work you do. I have been around many the net and used a million different overlay stratagies. Yours definitely ranks in the top 3. The only flaw I see is that all the contents of custom divs are centered, so if one wanted to have a div of thumbnail images side by side, by implementing your code, they would be one ontop of the other in the center, are you aware of this? Not trying to criticize, just trying to make a great thing even better. Overall you are wonderful, keep up the good work.

13/5/08 08:48  
Anonymous yan said...

Hey. I love the simplicity and easiness of this. thank you.
Can anyone help me. Im trying to find out how to make my comments width smaller.
I tried to do so and it just cuts off the comments.
Take a look here myspace.com/everfound

Please help, itll be greatly appreciated.

thanks
yan

17/5/08 19:25  
Anonymous Josh Sneede said...

Hi Eileen!

Any idea if you'll ever post a quick overlay tutorial for a Comedian profile?

I really want to build one.

:)
Josh

20/5/08 21:11  
Blogger u∃∃l!∃ said...

Josh,

Maybe this weekend, maybe I can use your page as an example.

20/5/08 22:27  
Blogger Chris said...

Hey there, im having a bit of a problem with the page i am trying to set up at http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=385177193
the page looks fine on firefox, but when i get to ie...it looks quite different. Would you happen to have any suggestions please?

31/5/08 19:16  
Blogger Chris said...

This post has been removed by the author.

31/5/08 19:19  
Blogger Chris said...

Sorry my page is here

31/5/08 19:22  
Anonymous Kiersten said...

Hey =) This is my first time doing a layout all by myself, well, almost...I usually just take a layout with tables I like and I manipulate the code to get the colors and borders and stuff I want...But now I actually feel like I've accomplished something =)

Anyways, I just have two questions...First one is how do you get your music player situated on your page? Like right now, it's centered on the page, but behind the div, and I can't seem to bring it forward in front of the div and move it to where it was intended to be...Currently I have a code that I saw in a previous comment that I thought was for this, but that's what put it behind the div...Before I put the code in it was above the div

Here's a picture I print screened of the div...I want the player in between the Navigation and Icons area and it's just the original grey player that myspace had before it got the new ones:
http://usera.imagecave.com/short_stuff_1313/Question.jpg

My second question is about scroll boxes...How do you get them onto the page? I read through most of the comments, but I didn't really see any on them...Here's another picture I print screened for it:
http://usera.imagecave.com/short_stuff_1313/Question2.jpg

This picture is before I did any editing to the profile...But anyways, if you look in the about me section, you'll see all the three little scroll boxes, one says "song lyrics", "quotes", and the last one "icons" How do I get scroll boxes like those onto the div layout?

Thanks for everything =) And I'm sorry if I didn't use the right coding lingo...I'm not that great of a coder yet...

6/6/08 22:27  
Anonymous Kiersten said...

Okay, I got the scroll boxes that I wanted onto the page, but I still can't get the music player to appear in front of the div...I tried to put it in a scroll box and get it up there like that, but it didn't work

7/6/08 17:06  
Blogger u∃∃l!∃ said...

Did you try adjusting the z-index of the player

i.e.

table table div object, table table div embed {z-index:9}

in a style block

7/6/08 18:19  
Anonymous Kiersten said...

Okay, this is probably a dumb question, but what is a style block?

7/6/08 18:56  
Blogger u∃∃l!∃ said...

<style>

</style>


That is a style block, it starts with an open style tag and ends with a close style tag, and has the style commands between the two tags.

7/6/08 19:26  
Anonymous Aram Bedrosian said...

hello Eileen,

I've recently customized a music page (with lots of help from you...thanks!)

myspace.com/ritterbasses

I have run into an interesting problem in IE that could have two solutions but I can't seem to find either. Any help would be amazing.

I have added a mailing list subscription form to the page. In FF and Safari when an address is entered the usual warning box appears...no problem.

In IE however, the warning does not appear in a new window but up at the top of the myspace page. This would be ok but there is some weird layer covering the "continue" button which seems to be a strange "shadow" of the flash slideshow I've added.

any help here would be amazing. Thanks so much!!!

Aram

7/6/08 21:26  
Blogger Thomas said...

When I turn the blogs, network and blurbs back "on" they appear above my div. I want them at the bottom like they are supposed to be. I've made several profiles for people and have never encountered this problem before. Where have I gone wrong?

12/6/08 10:55  
Blogger Derek Cooper said...

Hi Eileen, thanks for all your hard work and previous help with all my questions. I have another question. I need to know how to place several paypal "add to cart" buttons into exact locations on my page. I dont think it should be to hard but I just can figure it out. Thanks so much.

Derek

P.S. if you need the paypal code, I can email it to you, just send me an email asking for the code. cooper.derek@gmail.com

13/6/08 14:18  
Blogger Morgan. =) said...

Hey Eileen.
I was wondering if you could help me with my profile.
I used some of the codes here but not all of them cause I mainly just want to have text.
But everything in my profile has gone all weird.
Would you be able to please have a look and tell me how to fix it?
Thanks heaps. :)

www.myspace.com/384193894

15/6/08 19:54  
Blogger Morgan. =) said...

Oh. Dont worry, I got it.
Thanks.

15/6/08 20:55  
Anonymous Anonymous said...

How do you make it firefox compatible? Like everything shows up in IE just fine, but some of my friends that have firefox have been saying that only the music player and the links at the bottom of the page show up. The div and its contents are completely missing when viewed on firefox.

Thanks for all your help!

23/6/08 14:40  
Blogger Ruck said...

First of all thanks for all the tutorials. But I've seem to run into a problem with embedding videos,different myspace players. I was wondering if you had any suggestions. The videos are there just covered by the div. any way to bring them back? They were working until earlier this week.

23/6/08 17:51  
Anonymous Gina said...

Question: Div Overlay: I've used EVERY embed and/or object code and every positioning I can think of (and yours) and I can't get the myspace band player to render in IE. I can hear it but I can't see it. I've tried every work around I've come across - and nothing. It looks beautiful in Firefox though. I should also note that moving the music player in FF does NOT affect the position of the video. Moving it in IE, even though I can't see it, really screws with the placement of the video. The profile is:

http://www.myspace.com/drummingbird

I'm currently using this code for the player so that it renders in Firefox next to the video:

object embed {visibility:visible !important; position:absolute; width:435px; height:345px;top:1682px; left:600px; display:block !important; z-index:9 }

Oh please....Idea?

24/6/08 15:02  
Anonymous Melissa said...

Hey,

I am working on a div myspace and changed the background color to black to fit with my myspace. this works fine except that I also have a scrolling box with text but it makes the scroll box's background black also. how can i change this? I had tried to make the background white in the scroll box, but it just stayed black. also, on the layout, i need 3 scrolling boxes for text because they are in different areas, but when i try to do that they all act as one and go to he same position as the first box. the scroll boxes are just for text, but i didnt know how to just make a table or something to insert text so i just made the overflow hidden to hide the scroll tab.

2/7/08 08:59  
Anonymous Rob said...

Hello, I followed this tutorial and everything worked great! The one question I had was how do I get a logo in the top right or left of the page like this page here: http://www.myspace.com/everyavenue

I tried to use the top banner code and make top and left 0px the body content margin 0px to get the logo where I wanted.

The problem is it pushed the comments over to the left. I can't figure out how to make this logo thing work and it's driving me crazy. Any ideas?

2/7/08 19:55  
Blogger u∃∃l!∃ said...

The technique you used, using the top banner code, and replacing the left with zero, should have worked, without changing your comment alignment at all UNLESS you have other table structure altering code at the bottom of the meet.

Do you?

Basically put your image link in a div, and position it absolute, top:0px; left:0px

- Eileen

2/7/08 20:07  
Anonymous Rob said...

It only shows up if add 2 more /td /tr /table tags


When I just create a div it doesn't show up :(

2/7/08 20:33  
Anonymous Rob said...

If I do this:

/td /tr /table
/td /tr /table
div style="visibility:visible; display:block;position:absolute;left:0px;top:0px;z-index:9 !important;background-color:transparent !important;" image
/div

It will show up at the top left corner of the core image.

If I add two more

/td /tr /table
/td /tr /table
/td /tr /table
/td /tr /table
div style="visibility:visible; display:block;position:absolute;left:0px;top:0px;z-index:9 !important;background-color:transparent !important;" image
/div

It's at the top of the entire page like I want it. both move the comments.


If I don't put any /td /tr /table it doesn't show up.

2/7/08 20:42  
Blogger u∃∃l!∃ said...

ok, now I get it.
You do have other structure altering code, my div overlay code is structure altering code.

you really do not want to use ANY of the /td /tr /table
or
the
table tr td

Instead you want to put the code, just after, where it says this:

!! top banner, or anything else outside of your core content space can go here!!

The reason is that this area, is OUTSIDE the table structure, of the areas we hide
AND it is OUTSIDE of our core div area.

2/7/08 21:51  
Anonymous Rob said...

Opps I actually meant to post this in the band div overlay, because that's what I'm working on. I would imagine that I would put it in the top banner are in that code aswell, but it still doesn't show up.

2/7/08 22:40  
Blogger u∃∃l!∃ said...

I have a similar section in the band div overlay template.

If it doesn't work, then I might need to look at your page, to see why.

I can look at it tomorrow.

2/7/08 23:22  
Anonymous jai. said...

Hi eileen,

good tut.

one problem, ive made an image marquee, however the images appear underneath each other instead of next to each other. im not sure why this is, there is no
codes between in the image src's..

help?

2/7/08 23:32  
Anonymous Rob said...

ok e-mail me xc0d3cx@gmail.com and I'll get ya the info

3/7/08 00:12  
Anonymous Jamesy165 said...

Alryt

mine worked fine thanx,,

but 1 slight problem i started gettin comments an i wouldnt scroll down to let me see them its like its fixed

plz help

www.myspace.com/jamesygfx

3/7/08 02:46  
Blogger u∃∃l!∃ said...

jamesy,

I am not sure what you want it to look like.

Do you mean that you want your comments further up?

You can do this

table.friendsComments {position:relative; top:-60px}

Put that in a style block and it will move your comments up.
You can alter the 60 to a higher or lower number.

3/7/08 09:10  
Anonymous nile said...

hello, first off thanks for this wonderful tutorial, im no expert on html or any of this so your post served a a wonderful guide to understanding how this code functions exactly.

however i have run into a few problems in getting my page to actually function.

first off, i can't get the alignment for the clear gifs to stay the same in both ff and ie (as in, if there lined up in ie, there off to the left by by a few hundred pix)

i am not to my knowledge using any negative values for the placement of the gifs.

i suspect there is some difference in the browser's interpretation of what 'absolute' means (but i am no expert so that's why im asking you)

also, i cant get the clear gif links to actually function through my flash div, as in they work, and are clickable, as long as there not over the flash core div, but this however defeats the purpose of having a div.

my page is http://www.myspace.com/usbibble and any help would be greatly appreciated!

thx-nile.

7/7/08 00:03  
Anonymous nile said...

ok well i feel like a moron, i just needed to make the flash window transparent.

but i still have the problem of all my clear gif links being offset up and to the left by a few hundred pix whenever i view the page in firefox. its perfectly fine in ie and i am at a loss for a solution.

7/7/08 18:38  
Blogger Thomas said...

How do I embed and position flash (ie a chat) into my div?? It's driving me nuts!

17/7/08 04:07  
Anonymous maddogduke907 said...

ok well i have made a few div layouts for people but i still cant figure out how to put scoll boxes in my div. im trying to put a scroll comment thing in but its not workin. any tips?

17/7/08 11:49  
Anonymous Jeff said...

Eileen,

I have been trying but cannot get my friends or comments to show. I just want them centered under my music player. Any help would be greatly appreciated. Thanks.

http://www.myspace.com/cpt_hopper

30/7/08 22:11  
Anonymous Anonymous said...

Eileen,
I can't figure out how to stretch my core image all the way across the screen...the image is over 1200px so it should reach across but when i put the code from photobucket into the code you gave it doesnt stretch all the way even after i change the size of the pink border thing that is 900px I change it to the size that photoshop said my image was but it only stretches like 1000 px... PLEASE HELP ME!!!!

this is my test site: www.myspace.com/tyrotester

31/7/08 13:42  
Blogger u∃∃l!∃ said...

What is the URL of the image?

31/7/08 16:51  
Blogger Atarah Atkinson said...

Hey Eileen,
I could really use your help!
www.myspace.com/davidsheppardmusic

theres a few things i am going to adjust like some things not being the right box size and so on- but can you help me figure out the following:
-why isnt the page centered according to the myspae menu possitions. everythings to the left....
-why is the friend/comment box not scrolling to the right so you can view them all- do i have to make the space for it larger so that you can view all the friends in the row?

other than that, things went really well...
id love love love your help!
i cant find anyone else online who knows what they are doing!!!


please email me either at that myspace, or on here, or at admin@atkinsontrading.com

THANK YOU SO MUCH!!!

1/8/08 10:01  
Anonymous AngeAutopsu said...

Well i tried doing this but it isnt letting me. Like..

i made my layout using photoshop.
heres my layout i made.

but i cant get it to show on my page.
http://i142.photobucket.com/albums/r113/Angelique2010/newlayout-4.jpg

can you help me..

AngeAutopsy.

angelique.love.2112@hotmail.com

1/8/08 14:54  
Anonymous Sarah said...

Eileen! What a great blog! Thanks alot. I will be trying this out very soon.
I have a question tho. Would you know how to change your top friends list so that it rund horizontal instead of vertical?

I have a code to make it go vertical. But the problem now is, I can't figure out how to get the friends to be closer together. They are separated too far apart. You input would be greatly appreciated :)

9/8/08 11:19  
Anonymous Mike said...

Hello Eileen, thank for a great tutorial. Hoping you can help...


placing my image up behind the navbar and ad banner ends up covering the navbar which id like to keep visible.

Lowering the z index of the corediv does exactly what i want visually but makes all my buttons unclickable...

so i thought adding another layer to separate my bg image from the buttons and "corediv" content would help but all my attempts to create another layer yeild no relults.

hope you can help! appreciate. Be well.

testing here:

http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=394911627

25/8/08 03:58  
Anonymous Anonymous said...

LOVE THIS SITE!!!
I have a quick question:
I am trying to position a flash animation and also I am trying to position a youtube video on top of my div overlay. The problem is, I positioned the flash like this:





height="300" width="450" style="position:absolute; top:305px; left:456px;"



It looks perfect, until I change the window size, then it moves out of place. How do I prevent this from happening?

26/8/08 20:36  
Blogger u∃∃l!∃ said...

thank you.

Did you position it with reference to a parent div, which centered itself (as the core div does in my examples) OR with reference to the page body?

If you are positioning with reference to the page body, you have to use a different technique
You need to measure from top center, instead of top left. The left corner of the body, with reference to the center, changes when browser window size changes.

You need something like this:

position:absolute; top:Ypx; left:50%; margin-left:-Xpx

I always forget which edge centers itself, but try it and see.
One edge will center itself, based on the left:50%.
Then you adjust the margin, to pull the element left or right, until it is where you want it.


However, if you used my strategy, you should have everything contained in a parent div, that automatically centers.
In this case, you can measure from top left, relative to the parent div.

26/8/08 21:00  
Anonymous Anonymous said...

wow, thank you for the fast response b4 about positioning...
I am not using your div overylay for this, I tried but I can't seem to get the friends and comments to show... I deleted the following:

{! friends; remove below line to show friends !}
table table td.text table.friendSpace {display:none}

{! Comments; remove below line to show comments !}
table table td.text table.friendsComments {display:none}


and the friends and comments are still not showing up? I don't get it, is there something I could be missing?

26/8/08 23:53  
Anonymous Gina said...

I thought I'd repost this question since I still haven't answered is for myself:

Question: Div Overlay: I've used EVERY embed and/or object code and every positioning I can think of (and yours) and I can't get the myspace band player to render in IE. I can hear it but I can't see it. I've tried every work around I've come across - and nothing. It looks beautiful in Firefox though. I should also note that moving the music player in FF does NOT affect the position of the video. Moving it in IE, even though I can't see it, really screws with the placement of the video. The profile is:

http://www.myspace.com/drummingbird

I'm currently using this code for the player so that it renders in Firefox next to the video:

object embed {visibility:visible !important; position:absolute; width:435px; height:345px;top:1682px; left:600px; display:block !important; z-index:9 }

28/8/08 08:34  
Blogger DAVID said...

just wanted to say thanx for the tutorial...my page is up im working on the flash aspect now & a custom player you helped me out big time...check it out when you get a chance myspace.com/dpscorpio

28/8/08 09:39  
Anonymous Anonymous said...

GREAT TUTORIAL!! THANK YOU FOR MAKING IT SO SIMPLE!

?

Trying to place my image behind the navbar and ad banner ends up covering the navbar which id like to keep visible.

Lowering the z index of the corediv does exactly what i want visually but makes all my buttons unclickable...

so i thought adding another layer to separate my bg image from the buttons and "corediv" content would help but nothing has worked sofar.. any suggestions?

testing here:

http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=394911627

30/8/08 12:01  
Anonymous Anonymous said...

Eileen or whoever can help me,

I am stuck on step 3 of this tutorial... where exactly do you put your img src url at?... I don't see any "span" anywhere or am I missing something.

5/9/08 14:39  
Anonymous Anonymous said...

Eileen or whoever can help me,

I am stuck on step 3 of this tutorial... where exactly do you put your img src url at?... I don't see any "span" anywhere or am I missing something.

5/9/08 14:39  
Anonymous Anonymous said...

thank you so much for this tutorial... my only problem is that the bottom links are there which I want but the copyright is not... well actually the copyright is there it is just the same color as the background... so my question is how to I change the copyright font color to white.

6/9/08 07:01  
Blogger u∃∃l!∃ said...

table div font {color:hotpink; font-face:impact; font-size:13px; background-color:lightgrey}

Put that in a style block

6/9/08 10:39  
Blogger The D said...

Is there a way to bring the default music player on a standard page on top of the div overlay?

13/9/08 14:14  
Blogger u∃∃l!∃ said...

Yes,
However because it is not logically inside the core div, you must use absolute position measuring from top center of the body
OR
use relative positioning.

If you just do not hide it, and follow the rest of my strategy, it naturally falls just on top of your core div, above it.
You can use relative positioning to move it from that point.

13/9/08 15:56  
Blogger Missionary said...

Eileen, I love your page! Thank you for putting so much time in to it.

The code given to hide everything does not hide the calendar. I've ctrl-f'd your page for Calendar but there is little mention. Is it possible to treat the calender like we do the blogs and such? Hide and bring back in later? Thank you.

14/9/08 07:42  
Blogger u∃∃l!∃ said...

Yes it is possible but more complex.

The calendar does not have its own class.

Therefore the code to bring it requires a lot of code to reverse the effect on other elements.
It is not as easy to provide cut/paste code, but it is not so hard to code on an individual page basis.

This might help you:
Calendar

14/9/08 11:00  
Anonymous Mike Z said...

He peeps! I have a couple of questions.

I made the background black (can see it at www.myspace.com/ztestsite) and there is still a white border...i figure it is behind the div table but I have no idea how to change that. I also have a cool flash video that I put at the bottom and I want it to overlap the picture at roughly 790px as it is the same width.

I tried using the zindex but with no luck.

If anyone out there can help please respond but also maybe email me as I may not know if I get a response here!

Thanks

Z

foundre69@yahoo.com

18/9/08 10:07  
Blogger amirat.deco said...

Hi Eileen,
Thx for all these wonderful info!
I used a some of your tips examples for my masthead ect...
Now I have a huge problem I have trying a lot of things but i'm out of my knowledge!!!
can you look to my site: http://www.myspace.com/therefugees666
I have a problem with my shows/blog section.
I think there is a problem with my div overlay????
Thanks
Derrick

22/9/08 12:27  
Blogger John said...

Hey there, first off, thank you sooo much for your tutorials, they have been a huge help with what I am doing. Here is my question/problem. I am making a div overlay on a normal myspace page, how can I get the music player to reappear. I've gotten to the point of hiding everything, placing a core div image on the page, now I want to place the music player inside another div. I noticed on another comment that you said you just need to make the player visible again, but I can't find the exact code to do that. Any help will be greatly appreciated, take care

25/9/08 20:14  
Anonymous Anonymous said...

I have a question with Step 5.
I had my links working for a while now, and now they stopped working. It simply says the network timed out and will not take me to the link I placed. Is it the code for the clear gif that is not working? It had worked before and I didnt change anything and it just stopped working... help.....:(

1/10/08 18:44  

Post a Comment

Due to Excessive Spam, I have turned on comment moderation.

Links to this post:

Create a Link

<< Home