Log In · Register

 
 
Closed TopicStart new topic
Simple Div Overlay Question, Hopefully this is a quickie
wetwilly92
post Jul 10 2007, 11:43 PM
Post #1


Senior Member
***

Group: Member
Posts: 54
Joined: Jul 2007
Member No: 544,170



Don't want anyone to steal.. so I took away the code, please look at post #3 for question...
 
YourSuperior
post Jul 11 2007, 12:27 AM
Post #2


;)
*******

Group: Staff Alumni
Posts: 9,573
Joined: Feb 2005
Member No: 99,124



Try adding the code below into your coding. Edit the left and top attributes. Replace the red zeros with actual numbers that you'll use to move the div up, down, left, or right.

CODE

<style type="text/css">
div.content{
overflow: auto;
position: relative;
top: 00px;
left: 00px;
width: 325;
height: 419;
}
</style>

<div class="content">
PUT YOUR CONTENT HERE THAT
YOU WANT TO BE IN THE SCROLL
BOX.
</div>


About Relative Positioning:

top: -45px = moves up 45px
top: 45px = moves down 45px
left: -15px = moves left 15px
left: 15px = moves right 15px
 
wetwilly92
post Jul 11 2007, 12:48 PM
Post #3


Senior Member
***

Group: Member
Posts: 54
Joined: Jul 2007
Member No: 544,170



laugh.gif:O

Thank you so much, that worked like a charm biggrin.gif


I have another question:

How would I changed the Text color, font, and whatnot?
 

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