Log In · Register

 
 
Closed TopicStart new topic
Placing a DIV, at the bottom of my page
Cloud9Nine
post Sep 18 2006, 04:26 PM
Post #1


live loving life.
***

Group: Member
Posts: 95
Joined: Jul 2006
Member No: 439,959



Can anyone help me with a code to put some content or something in a DIV at the bottom of my page ?

http://www.myspace.com/cloud9nine
 
*This Confession*
post Sep 18 2006, 07:18 PM
Post #2





Guest






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

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.

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.



ALSO-
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
 
Cloud9Nine
post Sep 19 2006, 07:12 PM
Post #3


live loving life.
***

Group: Member
Posts: 95
Joined: Jul 2006
Member No: 439,959



Thank you ^_^
 
*This Confession*
post Sep 19 2006, 07:15 PM
Post #4





Guest






Welcome Deary, have a lovely night flowers.gif

topic closed.
 

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