Log In · Register

 

Help Topic Rules and Requirements


For a list of all requirements and guidelines pertaining to posting a new Help topic, please click here.

This Month's Contests | Hosts Looking for Hostees | Hostees looking for Hosts | Big Book of Resources

Submission Guidelines

Making a DIV Overlay Layout, Step by step
*This Confession*
post Jul 15 2006, 05:28 PM
Post #1





Guest






Note:This thread was updated and cleaned out on Febuary 26, 2007. Try to quote the post you are helping. Also please if you don't understand any of the steps, then please post a topic and don't reply in this one. If you just have one simple question (on a step or two) feel free to post it here.

Making a div

Version 1.0

Level : Step By Step
Written By: This Confession - Infinite.-Intercourse. Insurmountable

First:

Hiding your profile.

If you would like to have comments in your div. Please use this code.
http://www.createblog.com/scripts/script.php?id=376

If you wouldn't like comments to show use this code to hide your profile.
http://www.createblog.com/scripts/script.php?id=368

This will hide your whole profile, except for the ad.
Do not hide your ad, its against myspace rules. =]

Also yes, this coding and all of the coding can go in to your about me or who I'd like to meet


Second:

Customizing your profile.
http://www.createblog.com/forums/index.php?showtopic=84325

I suggest using the 3rd one down, it explains what all parts do and such.
But mostly all you need to do is do the background color, scrollbar colors, border colors.
and link colors and text properties.

Third:

Making your div's. [the fun part wink.gif]

Putting up your main image.
Upload it at http://www.imageshack.us

and then put it into this

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


Change the top and left to position where the image is.
And change the width and height to the same as the image.

I suggest making the top about 160-170px
So its right under the navigation bar more than likely.
Really Just mess with the numbers and such and you'll get the hang of it happy.gif

Forth:

Other Div area's

CODE
<div class="content" style="position: absolute; left:000px;  top:000px; width:000px; height:000px; overflow: auto;"><center>
CONTENT FOR DIV.
</div>


You can have as many of these as you want,
this is for all your other content.
Change the left and top for the positioning once again, you may want to make a estimate
and then just go check and see how much further it is away. Thats what most people do,
Just have patience and you'll be fine. happy.gif

Change the width and height for how big it is. Most of the time I just crop out one of the places
in photoshop off the image and then get the image size so I can see how big it is instead of roughing it.

PS- you can get rid of the <center> Its just there to center your text if you want it to be centered.

Fifth

Final Touches

For this you may just want to make some final touches
Putting the comments in to your div.
http://www.createblog.com/scripts/script.php?id=74

For the comments in to your div, a lot of people have problems with it.
Make sure you don't have anything that hides stuff, such as bottom links or
top links or it won't work. [it sucks but you get use to it]

Also, if your using the myspace player. Then you may want to hide it so it isn't peeking through any of your divs and covering some important stuff.
http://www.createblog.com/scripts/download.php?id=409


Any other questions, just ask happy.gif
But please if you have your problem on a myspace, then please provide a link and make sure your profile isn't private, if your profile is private then you won't recieve any help.



Positioning made easy?


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




further explanation to someone that asked
http://www.createblog.com/forums/index.php?showtopic=157773

This post has been edited by micron: May 2 2008, 04:13 AM
 

Posts in this topic
This Confession   Making a DIV Overlay Layout   Jul 15 2006, 05:28 PM
This Confession   QUOTE(angelalwayz @ Jul 16 2006, 10:59 AM...   Jul 16 2006, 02:14 PM
ANAMONEY   I HAVE THE LAYOUT I WANT BUT IT SAYS REPLACE XXXXX...   Jul 14 2008, 03:03 PM
defrag   QUOTE(Caitlinnn @ Jul 19 2006, 8:05 PM) T...   Jul 20 2006, 12:22 AM
mona lisa   QUOTE(Zubi @ Aug 29 2006, 2:08 PM) Hey th...   Aug 29 2006, 01:30 PM
keishagirl14   dats it im not eva tryin ta make a div layout agai...   Jun 16 2008, 08:51 PM
Intercourse.   here it is. http://www.createblog.com/layouts/dow...   Sep 20 2006, 05:12 PM
toyo loco   HELP what is a friend id? and how do i find mine?...   Sep 30 2006, 05:17 PM
toyo loco   QUOTE(xBABYx @ Dec 30 2006, 8:35 PM) ok i...   Dec 31 2006, 12:30 AM
ewwitsdivine   when i put one part of div content it goes fine an...   Apr 1 2007, 08:49 PM
toyo loco   QUOTE(ewwitsdivine @ Apr 1 2007, 6:49 PM)...   Apr 1 2007, 09:03 PM
bcangelgurl09   hi im so sorry to bother you cause i know that you...   Apr 2 2007, 10:29 PM
toyo loco   QUOTE(bcangelgurl09 @ Apr 2 2007, 8:29 PM...   Apr 3 2007, 04:16 AM
The Markster   This is pretty helpful. I've also found, thou...   Apr 10 2007, 01:15 PM
papa steve   I am using a template and I don't know how to ...   Apr 21 2007, 08:32 PM
toyo loco   ^QUOTE(This Confession @ Jul 15 2006, 3:2...   Apr 21 2007, 08:56 PM
carnelliz2sexy   this code no longer works on myspace. this is how ...   Apr 24 2007, 03:58 PM
toyo loco   ^ Read this thread , last few posts: http://www.cr...   Apr 24 2007, 09:03 PM
kwynn   okay. i totally suck at this. i have gotten as far...   Apr 30 2007, 06:03 PM
toyo loco   QUOTE(kwynn @ Apr 30 2007, 4:03 PM) okay....   Apr 30 2007, 09:18 PM
a beautiful nothing   Did you make a specific area for them on the image...   Apr 30 2007, 06:25 PM
dreo   Yah I Guess! How u Do It?   Jul 15 2007, 10:58 PM
Alvin   You just design the image in a photo editing progr...   Jul 15 2007, 10:59 PM
dreo   Yah thats hard Caz im not Even Good Yet With The P...   Jul 15 2007, 11:01 PM
Alvin   Oh, so you DO know how to design a layout? Or do y...   Jul 15 2007, 11:01 PM
dreo   Ummmm....... i Think i Kno! Idk   Jul 15 2007, 11:02 PM
Alvin   You use a design related program like Adobe Photos...   Jul 15 2007, 11:06 PM
Insurmountable   ^Yea I've been meaning to really update this t...   Sep 16 2007, 10:45 AM
Insurmountable   ^Did you look at the first post on this page? Jus...   Oct 20 2007, 09:27 PM
Fantaspic   Oh, is it? I'll take it off private then. And ...   Oct 28 2007, 09:08 PM
TamaCalix   Hey, I cant seem to get my bands music player to w...   Feb 28 2008, 10:59 PM
Insurmountable   Major clean out If your posting your layout code,...   Feb 28 2008, 11:36 PM
casaundradonald   Hello! I have a question! I have been mak...   Mar 2 2008, 06:16 PM
Insurmountable   QUOTE(casaundradonald @ Mar 2 2008, 06:16...   Mar 3 2008, 08:15 AM
casaundradonald   QUOTE(casaundradonald @ Mar 2 2008, 07:16...   Mar 11 2008, 07:24 PM
casaundradonald   I hope I am doing this right.... CODE <style t...   Mar 4 2008, 04:27 PM
Bit me   hi! can u guys post tutorial on how to make di...   Mar 5 2008, 09:38 PM
hezmilullaby   i got 1 question where do u post all the links lik...   Mar 6 2008, 09:30 PM
whoahitznikki   is there an easy and accurate way to estimate the ...   Mar 6 2008, 10:29 PM
queenietran194   How would you add a comment box? I know how I coul...   Mar 12 2008, 08:40 PM
Insurmountable   ^well you can get codes for comment boxes here: ht...   Mar 12 2008, 08:56 PM
xPeace   I'm trying to get the code down for this layou...   Mar 14 2008, 10:23 PM
cristinadoc84   guyz, please help me with my div layout mspace.c...   Mar 18 2008, 01:12 AM
SelahStar   Thank You for this it helped me alot!!...   Mar 22 2008, 03:59 PM
MiseryChild   I'M SO FRUSTRATED!:XD: I have my navi and...   Apr 21 2008, 04:52 PM
MoonlightOriginals   How do u start to make it like post a thing to mak...   Apr 21 2008, 10:27 PM
MiseryChild   the link for my testing site is "www.myspace....   Apr 22 2008, 05:44 PM
xXDarkTemariXx   OMG! I GOT THE LAYOUT ON THE PAGE. I...   Apr 24 2008, 03:20 PM
divinebovine   you can call me a complete noob if you want but i ...   Apr 25 2008, 01:43 PM
MissHollywood22   Can someone help me? I made myself a div layout. I...   Apr 26 2008, 06:57 PM
foxdanger   Can anyone help with one question: In my Band Pr...   Apr 27 2008, 11:51 PM
nessag0titall   hi... im lost, where in the code do i add the div ...   May 20 2008, 01:10 PM
CHIINASTEE   how do i get the bottom links on   May 25 2008, 04:31 PM
BrandonJohn   How do i put scrolly boxes ontop of my div image? ...   May 26 2008, 03:58 AM
jasonblue   Please no advertising - Thomas   Jun 5 2008, 09:28 AM
CastleBlackFire   Is there a way to have your music player thingy sh...   Jun 5 2008, 09:12 PM
CastleBlackFire   i most definately do not know how to do that...   Jun 6 2008, 09:50 PM
Jayneshia   Well okii i folled ALLLL steps including skippin #...   Jun 7 2008, 07:55 PM
EmoSakura90   kay, i go the image map where i want it and it loo...   Jun 11 2008, 12:59 PM
nadi95   ok i basically got most of the things down the pro...   Jun 12 2008, 06:03 PM
flowsosikk   what about for bands? =[   Jul 9 2008, 08:20 PM
Emoyoface   Okay this is sorta like a myspace/website problem....   Jul 10 2008, 06:24 PM
karmakiller   To find your friendID, use this: http://www.create...   Jul 14 2008, 03:12 PM
naruto123   i don't get it what i suppose to put for i...   Jul 14 2008, 09:23 PM
karmakiller   If you're using a DIV, you don't need to p...   Jul 16 2008, 08:00 PM
nikx618   whenever i "top: 50% = moves to middle of pa...   Jul 18 2008, 10:33 PM
YukinoIsuzuX   I'm having issues with image mapping. I've...   Jul 21 2008, 04:28 PM
nany218   CODEjordan div layout   Jul 21 2008, 05:47 PM
nany218   CODE<style>body {background-color:fff94f;} u...   Jul 21 2008, 06:00 PM
nany218   CODE<style>body {background-color:fff94f;} u...   Jul 21 2008, 06:04 PM
manny-the-dino   nany218, if you'd like to request layouts to b...   Jul 21 2008, 06:11 PM
silent-rebirth   I can't get past step 2 with out messing up ba...   Jul 31 2008, 03:25 AM
Anarchy   ^Yes, that would be correct.   Jul 31 2008, 03:30 AM
silent-rebirth   QUOTE(Anarchy @ Jul 31 2008, 12:30 AM) ^Y...   Aug 1 2008, 10:20 PM
ollielv90   Hey this was an amazing tutorial! However, I a...   Aug 4 2008, 06:47 AM
leib92   i need help putting pictures on a div layout can n...   Aug 7 2008, 10:21 PM
MzYennie   Ok so I made the layout and code and everything. b...   Aug 8 2008, 04:54 PM
schizo   Are you sure there aren't any typos and that y...   Aug 8 2008, 05:00 PM
dsinc   This tutorial is really great. Im trying to learn ...   Aug 9 2008, 05:09 PM
DespisedandBeloved   Really great tutorial...it help me out alot! I...   Aug 10 2008, 11:09 AM
schizo   dsinc: Could you please take your test profile off...   Aug 10 2008, 11:20 AM
DespisedandBeloved   I know this sounds stupid but is there anyway I co...   Aug 10 2008, 11:30 AM
schizo   For me, it's easiest to just play with the num...   Aug 10 2008, 11:48 AM
DespisedandBeloved   thank you!!! I got the first part done...   Aug 10 2008, 12:24 PM
JazzyCullenzWTF   OK! SO im trying to submit a layout to createb...   Aug 14 2008, 04:23 AM
xstartemple   Thank you guys sooo much for putting this up! ...   Aug 17 2008, 05:10 AM
LoveLikeRain   hey...umm....you can make the entire layout in pho...   Aug 18 2008, 12:21 PM
schizo   QUOTEOK! SO im trying to submit a layout to cr...   Aug 19 2008, 04:49 PM
taz20   I understand everything, but how to I link my pic ...   Aug 30 2008, 10:01 AM
schizo   ^ You need to use an image map. I have a tutorial ...   Aug 30 2008, 10:11 AM
Fitznblend   QUOTE(schizo @ Aug 30 2008, 04:11 PM) ^ Y...   Oct 23 2008, 05:29 PM
taz20   Thank You!!!   Aug 31 2008, 10:36 PM
XXXnunu   this seems like big help because everyone keeps sa...   Sep 3 2008, 01:22 PM
schizo   You could put it in your About Me or Who I'd L...   Sep 3 2008, 06:38 PM
dokidoki   I can create a layout just fine. What I'm havi...   Sep 30 2008, 08:04 PM
Anarchy   When you position a DIV, have this for the left ma...   Oct 1 2008, 01:22 AM
Anarchy   Yeah, that might be it. Try this instead: CODE...   Oct 24 2008, 08:26 AM
Fitznblend   Weird. This didn't work so I just resorted to ...   Nov 1 2008, 08:26 PM
GabyArtz   kool   Nov 15 2008, 07:35 AM
bhulan   hye im new here.and i want to ask something. urmm...   Nov 21 2008, 11:41 AM
2 Pages V   1 2 >


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: