DIV layers, .... |
DIV layers, .... |
Apr 29 2006, 04:34 PM
Post
#1
|
|
|
LOSER.`=] ![]() ![]() ![]() ![]() Group: Member Posts: 166 Joined: Apr 2004 Member No: 11,237 |
okay, i kinda understand how to do DIV layers. i`ve made about 6 of em ... im just confused about how i get my DIV to look like THIS with the 2 white columns and everything. im not looking for someone to do it for me , i just want to know if there is a tutorial for this? im sorry if its already on the site , im just confused about where i should start to achieve a layout like that.
|
|
|
|
![]() |
| *This Confession* |
Apr 29 2006, 06:11 PM
Post
#2
|
|
Guest |
http://www.createblog.com/forums/index.php?showtopic=97397
go there once again and i think its like the first post you need to put in like that more than likely 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 |
|
|
|
gtshawtie DIV layers Apr 29 2006, 04:34 PM
I own yourr face. Yes, there is a tutorial on the site. Here it is.
... Apr 29 2006, 04:43 PM
gtshawtie thank you.
thats the code that i used b4.
it... Apr 29 2006, 04:54 PM
This Confession i can't see her layout
but im guessing since s... Apr 29 2006, 04:59 PM
gtshawtie yes i do ...i have Adobe Photoshop 7.0.
i dont kno... Apr 29 2006, 05:06 PM
I own yourr face. Could you provide a screenshot of her layout? We c... Apr 29 2006, 05:17 PM
gtshawtie *sorry .
example: Apr 29 2006, 05:39 PM
I own yourr face. Here's what I would do:
In photoshop, make th... Apr 29 2006, 05:43 PM
gtshawtie okay ... i think i can figure out how to make the ... Apr 29 2006, 05:54 PM
This Confession if you request it
make sure you provide a lot of r... Apr 29 2006, 05:54 PM
gtshawtie thank you.
aiight another question lol im sorry im... Apr 29 2006, 06:03 PM
gtshawtie thank you .
one way or another ill figure it out. Apr 29 2006, 06:28 PM![]() ![]() |