Log In · Register

 
I NEED HELP. please =], div overlay...
xwoahhbaby
post Mar 29 2006, 08:59 PM
Post #1


Newbie
*

Group: Member
Posts: 3
Joined: Jan 2006
Member No: 360,692



okay. i really, really need help !
i`ve been trying forever. and i still cant find a code...

i want a div overlay like thiss one

www.myspace.com/gaynell

like, her tables are all moved.
AND I CANT FIND A CODE.
i`ll like love you forever<33
 
 
Start new topic
Replies
freeflow
post Mar 29 2006, 10:09 PM
Post #2


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

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



Thats because I guess you didn't read the rest of the post on how to reposition your divs.

QUOTE
<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


You have to position them in style tags (like what I qouted), then you have to put <div class="divnamehere"> in who'd I like to meet and put your content in after the "> and before the </div>
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: