Simple Div Overlay Question, Hopefully this is a quickie |
![]() ![]() |
Simple Div Overlay Question, Hopefully this is a quickie |
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...
|
|
|
|
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 |
|
|
|
Jul 11 2007, 12:48 PM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 54 Joined: Jul 2007 Member No: 544,170 |
Thank you so much, that worked like a charm I have another question: How would I changed the Text color, font, and whatnot? |
|
|
|
![]() ![]() |