Log In · Register

 
9 Pages V   1 2 3 > »   
Closed TopicStart new topic
simple div overlay
*disco infiltrator*
post Aug 16 2005, 12:35 PM
Post #1





Guest






Here's a simple Myspace div overlay.

For your CSS, use one of the CSS stylesheets already provided. Put that in your "About Me".

For your content, you can use this. Put it in "Who I'd Like to Meet":

CODE
<div class="bg" style="position: absolute; left:0px; top:0px; width:000px; height:000px; overflow: hidden;">
<img src="IMAGEURLHERE">
</div>

<div class="content" style="position: absolute; left:000px;  top:000px; width:000px; height:000px; overflow: auto;"><center>
lalalalala this is your content!
</div>


For the image, you only need to change the width and the height to fit your image.

For the content, you can change the class of the div, the left alignment, top alignment, width, height, and overflow. If you want the div to have a scrollbar, use this div code. Open the image in Microsoft Paint to get the alignments.



If I wanted the div to begin where the black dot is, I would use the paintbrush tool and place it where I want the div to begin. Keep the mouse there, and look in the bottom right corner for two numbers separated by a comma. The first number is your left alignment, and the second is your top.

If I wanted a div that continues down the page until it runs out of content, this would be my div code:

CODE
<div class="bg" style="position: absolute; left:0px; top:0px; width:000px; height:000px; overflow: hidden;">
<img src="IMAGEURLHERE">
</div>

<div class="content" style="position: absolute; left:000px;  top:000px; width:000px; height:100%; overflow: visible;"><center>
lalalalala this is your content!
</div>


The only things that are changed are the height and overflow. Now all you need to worry about is the left alignment, top alignment, and width.

There you have it. _smile.gif


The following was contributed by tcunningham1589.


Description:

This code is used to make your simple div on your profile, whether you are using it for content, or a ghetto way to cover somthing up.



Code:


{ code used in INTERESTS section }
<style>
.div1 {
background-color:000000; color:000000;
border:0px solid; border-color:silver;
width:400px; height:100px; overflow:auto;
position:absolute; z-index:2; left:50%; top:0%;
margin-left:-250px; margin-top:150px;
visibility:visible;}
</style>

{ code used in MUSIC section }
<div class="div1">
content
</div>

*everything in bold is changeable


Positioning

Code:
quick lesson on "position: relative"
top: -45px = moves up 45px
top: 45px = moves down 45px
left: -15px = moves left 15px
left: 15px = moves right 15px

quick lesson on "position: absolute"
top: 0% = moves to top of page
top: 50% = moves to middle of page
top: 100% = moves to bottem of page
left: 0% = moves to left of page
left: 50% = moves to center of page
left: 100% = moves to right of page
margin-left: -15px = moves left 15px
margin-left: 15px = moves right 15px
margin-top: 45px = moves down 45px
margin-top: -45px = moves up 45px

For Myspace Band/Music Profiles:
http://www.createblog.com/forums/index.php...t&p=2624671

This post has been edited by digitalfragrance: Jul 12 2007, 01:04 AM
 
x3_mr_mak
post Aug 16 2005, 01:14 PM
Post #2


mmm.
****

Group: Member
Posts: 283
Joined: Aug 2005
Member No: 199,949



wow great thanks! this will answer a lot of questions. thumbsup.gif worthy.gif
 
DDOMINOO
post Aug 16 2005, 02:52 PM
Post #3


Member
**

Group: Member
Posts: 27
Joined: Aug 2005
Member No: 202,003



Good work "Headphones." _smile.gif
 
*disco infiltrator*
post Aug 17 2005, 01:20 PM
Post #4





Guest






Thank you "DDOMINOO".

huh.gif
 
D1SMANTLED
post Aug 17 2005, 05:46 PM
Post #5


mosh.
******

Group: Member
Posts: 1,841
Joined: Dec 2004
Member No: 73,114



I think this should be closed or else people are going to start asking questions in here.

Topic Closed.

EDIT: NVM
 
*disco infiltrator*
post Aug 17 2005, 05:50 PM
Post #6





Guest






The whole point of having this is so there's not questions in topics in Myspace Help but they can ask here..

Topic reopened.
 
YourSuperior
post Aug 21 2005, 12:35 PM
Post #7


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



QUOTE(lotrfreak55818 @ Aug 21 2005, 12:35 PM)
What does 'Overflow' mean?
*

Your text or images will overflow.
 
william
post Aug 21 2005, 12:59 PM
Post #8


Senior Member
******

Group: Member
Posts: 1,575
Joined: Jan 2005
Member No: 93,957



QUOTE(snoox @ Aug 21 2005, 9:40 AM)
ok..im stupid coz im new...but wat does "div overlay" mean?
*

div refers to div layer, which is kind of like a layer of html you "overlay" on your original profile so that you can completely customize your profile with whatever you want.

QUOTE(lotrfreak55818 @ Aug 21 2005, 9:48 AM)
Quick Question, how do you hide the rest of your profile so that this works?

I tried using the script on the forums, but it didn't work.
*

you hide the original text classes and most of the tables, then make the div big enough so it covers what's left of your profile.
 
snoox
post Aug 21 2005, 02:29 PM
Post #9


Senior Member
***

Group: Member
Posts: 59
Joined: Jul 2005
Member No: 188,772



oh! domo. domoo. thanks "william"! laugh.gif
 
*disco infiltrator*
post Aug 22 2005, 11:11 AM
Post #10





Guest






QUOTE(idiotic_dork2719 @ Aug 22 2005, 12:40 AM)
umm. ok im new at this but i wan to learn how to make a div layout. so does the image you make have to be a certain size or something?
*



QUOTE(jewx2 @ Aug 22 2005, 7:12 AM)
What size would you make the MS Paint canvas?
*


It doesn't matter, any size you want that will cover the profile under it.
 
toodlepops.
post Aug 22 2005, 06:45 PM
Post #11


boo
*******

Group: Member
Posts: 5,512
Joined: Dec 2004
Member No: 71,765



Oh, thank you so much, Sammi. worthy.gif
 
freeflow
post Aug 24 2005, 02:58 PM
Post #12


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Sammi you are awesome! throb.gif
 
supjuls
post Aug 26 2005, 06:19 AM
Post #13


Senior Member
***

Group: Member
Posts: 92
Joined: Jan 2005
Member No: 93,016



i read this thing over and over and over again, and i finally get it!!! haha yay :D just wanted to say thanx, this really helps!!!
 
*disco infiltrator*
post Aug 28 2005, 09:25 AM
Post #14





Guest






QUOTE(purpleyes @ Aug 25 2005, 4:21 PM)
hey sammi, is it possible to provide a div overlay layout code for myspace?
*


This is a div overlay layout code........

QUOTE(xquizit_femme @ Aug 26 2005, 1:49 PM)
can you do image mapping on myspace?
*


Yes. Just use the same way to position as the way you position divs.


QUOTE(MiSZ.ADORKABLYPiNK @ Aug 27 2005, 4:56 AM)
[FONT=Arial][SIZE=1]WOW SHEEESH THiS iS SUPER DUPER HARD!! i STiLL DONT GET iT BUHH YEA ANYONE WiLLiN TO HELP MEEE?? iF YA WANNA TAKE TiME TO HELP ME OUT STEP BY STEP iM ME @ AiM:sh0rtybmyname17 PLEASE YOUR HELP WiLL BE GREATLY APPRECiATED!!
*


It really isn't hard. This whole topic explains it step-by-step. What more could you need help with? Copy the code, position, change colors.....Really, it's not that hard.
 
coolestdork12
post Aug 28 2005, 10:47 AM
Post #15


Senior Member
***

Group: Member
Posts: 95
Joined: Aug 2005
Member No: 217,730



ahh this defenitely helps.

thank you sammi
 
hotbabylisious
post Aug 29 2005, 05:29 PM
Post #16


Newbie
*

Group: Member
Posts: 2
Joined: Aug 2005
Member No: 219,161



wow thats realli helpfull blink.gif

happy.gif ~*myspace*~ happy.gif

ill add u !!!! _smile.gif
i love commentting if u do to than maybe u shud add me biggrin.gif
 
william
post Aug 29 2005, 09:26 PM
Post #17


Senior Member
******

Group: Member
Posts: 1,575
Joined: Jan 2005
Member No: 93,957



...this thread is open so you can ask specific questions petaining to this tutorial, not so you can ask someone to completely do it for you or to advertise your myspace.
 
without a name
post Aug 31 2005, 01:38 PM
Post #18


Newbie
*

Group: Member
Posts: 1
Joined: Aug 2005
Member No: 221,054



i really dont get this can someone IM me and help me?


lilbabygurlkelly
 
NotWorthMyTime9
post Sep 1 2005, 07:14 PM
Post #19


ange will cut you up.
**

Group: Member
Posts: 20
Joined: May 2005
Member No: 139,718



okay i just want to know if there is a div overlay for JUST getting rid of the main user picture/name/last login/country stuff?
 
poisoncandygram
post Sep 1 2005, 08:09 PM
Post #20


Senior Member
***

Group: Member
Posts: 35
Joined: Jul 2005
Member No: 166,233



I don't understand where to put the div code... If I start it above my content in "who I'd like to meet" and then [/div] it, it just multiplies my image over and over again and covers the entire background of the table. All I want is to position it over the extended network section... >_<
 
lovescream
post Sep 3 2005, 03:48 PM
Post #21


define our lives for us.
********

Group: Staff Alumni
Posts: 11,656
Joined: Aug 2004
Member No: 43,293



QUOTE(mrperson298 @ Sep 1 2005, 7:20 PM)
whats the code to erase everything so you can make a div overlay?
*



Ehh.. http://www.createblog.com/forums/index.php?showtopic=87336 ?

QUOTE(ihrtbz @ Sep 9 2005, 1:26 PM)
Yeah completely covered the rest of my profile, so now i cant change it back

www.myspace.com/robbeh

Could someone help me?
*



^ Safe mode.
 
hiddenanger
post Sep 12 2005, 12:26 AM
Post #22


Senior Member
***

Group: Member
Posts: 35
Joined: Sep 2005
Member No: 232,141



ok i tried the code... but this is how my page turned out...

http://www.myspace.com/angerful

ok, i almost go the layout down... but... why is this happening?
 
hottieondablock
post Sep 16 2005, 09:12 PM
Post #23


Newbie
*

Group: Member
Posts: 4
Joined: Mar 2005
Member No: 113,093



That is awesome! Thank you soo much! <3 biggrin.gif
 
ihrtbz
post Sep 20 2005, 08:01 PM
Post #24


Newbie
*

Group: Member
Posts: 2
Joined: Sep 2005
Member No: 230,429



QUOTE(YourAveragexLoverx @ Sep 17 2005, 8:57 AM)
Hey, i used your code and everything. But i just can't put pictures and text on there. will you show me how?
*



use the image tags and just type text

like after your opening div tag
<img src="URL"></img>

or for text
<p> Blah blah blah.<br>Blah blah blah. </p>
 
X_miss_kitty_X
post Sep 21 2005, 05:08 PM
Post #25


Senior Member
***

Group: Member
Posts: 31
Joined: Aug 2005
Member No: 221,084



i'm really having a tough time with this...if anyone would like to coach me through it, please IM me on msn (very_berry_strawberries@hotmail.com) or yahoo (bad_kitty1638) i know i can do it if i just have a tiny bit of help ermm.gif
 

9 Pages V   1 2 3 > » 
Closed TopicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members: