simple div overlay |
simple div overlay |
| *disco infiltrator* |
Aug 16 2005, 12:35 PM
Post
#101
|
|
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. 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 |
|
|
|
disco infiltrator simple div overlay Aug 16 2005, 12:35 PM
smile&&wink im trying to cover my whole site but everytime i d... Jun 24 2006, 01:20 AM
smile&&wink ok now i can't even cover up the whole page. c... Jun 24 2006, 01:40 AM
toyo loco QUOTE(smile&&wink @ Jun 23 2006, 11... Jun 24 2006, 12:50 PM
smile&&wink thanks! Jun 24 2006, 11:55 PM
xtien ok the current div overlay i am using (covers onl... Jun 27 2006, 03:20 AM
toyo loco QUOTE(xtien @ Jun 27 2006, 1:20 AM) ok t... Jun 27 2006, 09:32 AM
xtien QUOTE(toyo loco @ Jun 27 2006, 7:32 AM) I... Jun 27 2006, 07:50 PM
sunday morning coffee ok, so i've done everything that has been said... Jun 27 2006, 03:43 PM
toyo loco QUOTEhow do i put my friends and comments in a div... Jun 27 2006, 10:40 PM
xtien thank you so much toy loco the CB script worked we... Jun 27 2006, 11:07 PM
toyo loco Use the second link then. It shows you codes w/ to... Jun 28 2006, 12:04 AM
altosaxgurl Ok, so with div overlay on myspace, is it possible... Jul 1 2006, 05:17 PM
toyo loco QUOTE(altosaxgurl @ Jul 1 2006, 3:17 PM) ... Jul 1 2006, 05:55 PM
altosaxgurl the site is http://www.myspace.com/altosaxgeek If... Jul 3 2006, 10:52 AM
toyo loco QUOTE(altosaxgurl @ Jul 3 2006, 8:52 AM) ... Jul 3 2006, 10:55 AM
altosaxgurl OK, I got my comments back (thanx)
now I have 2 ... Jul 3 2006, 11:08 AM
toyo loco QUOTE(altosaxgurl @ Jul 3 2006, 9:08 AM) ... Jul 3 2006, 11:51 AM
ima_fake_ im really confused with this. im just trying to ma... Jul 5 2006, 03:37 PM
toyo loco QUOTE(ima_fake_ @ Jul 5 2006, 1:37 PM) im... Jul 5 2006, 10:21 PM
rockstarwitch Well I just wanted to say that this was the easies... Jul 5 2006, 07:31 PM
hoobershnooger i think my computers messed up.
i use photoshop. i... Jul 9 2006, 04:51 AM
toyo loco QUOTE(hoobershnooger @ Jul 9 2006, 2:51 A... Jul 9 2006, 12:03 PM
hesxmyxhero umm i have a question. ok i made a div overlay but... Jul 12 2006, 01:52 PM
This Confession ^ just hide your profile
http://www.createblog.co... Jul 12 2006, 07:58 PM
JoshPgh296 This helped me so much, thanks aton now my layout ... Jul 12 2006, 09:40 PM
jessicale351 [font=Arial][size=1][b]oooh. goshh. i need help. m... Jul 12 2006, 10:27 PM
This Confession well first off, not to be rude but the age limit t... Jul 12 2006, 10:36 PM
jessicale351 thank yoo so much. [= im so happy! Jul 12 2006, 10:44 PM
This Confession haha your welcome, if you have any other questions... Jul 12 2006, 10:49 PM
Aja . L0VE I'm not really understanding this. I've m... Jul 13 2006, 11:32 AM
toyo loco QUOTE(Aja . L0VE @ Jul 13 2006, 9:32 AM) ... Jul 13 2006, 11:25 PM
Aja . L0VE And putting the layout that I have over top of the... Jul 14 2006, 01:35 PM
aahhhh_its_amy um how do you add a div picture in a div layout, b... Jul 14 2006, 06:57 PM
digital.fragrance you have to have an URL of a picture for the <i... Jul 14 2006, 06:59 PM
DiGitaL this works out great thank you so much =] but I wa... Jul 14 2006, 10:54 PM
jessicale351 uhmm. ok. so if yoo wanted a scroll content box to... Jul 15 2006, 07:31 PM
This Confession ^ Overflow:auto; Jul 15 2006, 07:39 PM
three24 this was a really good tutorial. my myspace turned... Jul 16 2006, 07:58 AM
jessicale351 could sumwhun help me? uhmm myy content is still n... Jul 16 2006, 03:20 PM
PumaTalk Hello,
Tank for the help... im trying to figure ... Jul 22 2006, 04:48 PM
tylerxp2002 very helpful..... Jul 23 2006, 09:44 PM
im gangsterr ok i did all that & it still didn't turn o... Jul 29 2006, 11:06 PM
toyo loco Try reading the other div topic. Jul 30 2006, 02:54 AM
fxkmehxrder This like tutorial made the profile i was making o... Aug 1 2006, 11:49 PM
StanleyThePanda ^ Okay? ... I dont understand what you are saying... Aug 2 2006, 12:00 AM
Lmmartell I need help...I made a dummy site so I didn't ... Aug 3 2006, 09:32 AM
I own yourr face. Mm, well your profile's private.
Sooo, I can... Aug 5 2006, 12:14 PM
s_c_c_r11 how do you have a content with a scrollbar. the co... Sep 2 2006, 07:26 PM
mona lisa QUOTE(s_c_c_r11 @ Sep 2 2006, 8:26 PM) ho... Sep 2 2006, 08:24 PM
billyspvy ooooo thanx for posting the codes. i want to to ma... Sep 9 2006, 12:53 AM
lexiemai Helped me bunches! Sep 9 2006, 10:30 PM
flaymzofice Just so I'm completely clear, the difference b... Sep 10 2006, 02:32 PM
GREASEbaby The other one just goes through it step by step. N... Sep 10 2006, 08:09 PM
jasface i need help with my div layering .. is it possible... Sep 15 2006, 12:32 PM
toyo loco Put the whole code in a div. Sep 15 2006, 08:21 PM
prncsheathr No advertising Oct 3 2006, 03:18 PM
sws so im trying to find how to hide myspace comments ... Nov 26 2006, 08:32 PM
toyo loco ^ Make a topic next time. Right click on your view... Nov 26 2006, 08:41 PM
Grunge Queen Ok...After all that, I'm still not sure I get ... Dec 1 2006, 02:02 AM
toyo loco ^ Post a topic and try listing whatever you find w... Dec 1 2006, 07:09 PM
IVIike thanks for posting this it really helped me when i... Jan 1 2007, 05:30 PM
slexy I cant seem to make the words come out, like they ... Jan 13 2007, 01:27 AM
ximonolithix QUOTE(slexy @ Jan 13 2007, 1:27 AM) I can... Jan 13 2007, 01:31 AM
toyo loco ^ You need to put them in a div and position it fo... Jan 13 2007, 01:28 AM
Intercourse ^I don't want to be rude or anything ximonolit... Jan 13 2007, 01:42 AM
Rayyy Okay, im having trouble with the coding..i can cod... Feb 18 2007, 03:43 PM
Intercourse. ^make your own topic in myspace help and post your... Feb 18 2007, 06:45 PM
choombawamba I'm using the script provided for the image an... Feb 21 2007, 08:46 PM
Intercourse. ^more than likely know. What kind of positioning a... Feb 21 2007, 10:48 PM
hii im tryign to learn how to do the div layout design... Mar 28 2007, 07:45 PM
toyo loco ^ Photoshop, paint shop pro, or gimp. And you know... Mar 28 2007, 08:00 PM
hii :] thanks alot,i will do
umm btw wht internet prov... Mar 28 2007, 08:02 PM
toyo loco Personally I would suggest using either or. Just m... Mar 28 2007, 09:16 PM
babyolly566 i found a rlly good code on here for a div and eve... Apr 3 2007, 10:14 AM
toyo loco ^ You need css period. http://www.createblog.com/f... Apr 4 2007, 08:52 AM
MissStacyJones HELP!*
How do you find out your myspace frien... Apr 4 2007, 05:45 PM
toyo loco ^ Read the faq:
http://www.createblog.com/forums/i... Apr 4 2007, 08:06 PM
djdaveoc I have this code in my about me:
<div class=... May 8 2007, 01:16 AM
cnguyetkd Erm. I'm kinda slow, but so you add this to a ... May 14 2007, 10:47 PM
freeflow QUOTE(cnguyetkd @ May 14 2007, 8:47 PM) E... May 15 2007, 08:47 AM
lentiggini i used this code for my profile and it doesn't... May 19 2007, 12:51 PM
freeflow QUOTE(lentiggini @ May 19 2007, 10:51 AM)... May 21 2007, 07:01 PM
proudmommieof2 neat May 22 2007, 03:35 PM
cherry90 hi i dunno wether this comes under simply div over... Jun 24 2007, 11:17 AM
freeflow Its an image map. When you type text onto an image... Jun 24 2007, 11:21 AM
na-nancy i dont understand...
what is the
HTML knowledge... Jun 24 2007, 12:41 PM
freeflow What do you mean what is the HTML knowledge? Jun 24 2007, 12:51 PM
na-nancy QUOTE(freeflow @ Jun 24 2007, 11:51 AM) W... Jun 24 2007, 02:26 PM
freeflow All that means is you need to know the basics. Mea... Jun 24 2007, 02:32 PM
na-nancy QUOTE(freeflow @ Jun 24 2007, 01:32 PM) A... Jun 24 2007, 07:47 PM
na-nancy oh umm..okies!
but wait..when i mean the butto... Jun 24 2007, 08:36 PM
freeflow You probably didn't put your friendID in or yo... Jun 24 2007, 08:47 PM
na-nancy QUOTE(freeflow @ Jun 24 2007, 07:47 PM) Y... Jun 24 2007, 08:50 PM
Alvin Here's a tutorial for divs for myspace band/mu... Jul 10 2007, 07:55 PM
atanu hey guys sorry to b wat is most likely a bother, b... Jul 11 2007, 08:36 PM
lilsxyzoe hey guys..i ma kinda slow when it comes to myspace... Jul 12 2007, 12:43 AM
kay-the-hot-one can someone help me? i dont have ANY CLUE of what ... Aug 7 2007, 10:03 PM
kay-the-hot-one anyone? Aug 7 2007, 10:04 PM![]() ![]() |