Log In · Register

 
div overlay help
LinaEatsRice
post Aug 3 2009, 04:08 AM
Post #1


Newbie
*

Group: Member
Posts: 1
Joined: Aug 2009
Member No: 740,313



How do you put a scroll box in div overlay? I want to put a small scrollbox inside the about me section, but the code isn't working.
 
 
Start new topic
Replies (1 - 3)
Mickey
post Aug 3 2009, 09:20 AM
Post #2


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



Please post all of the codes you're using.
 
Mikeplyts
post Aug 3 2009, 01:05 PM
Post #3


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



You could use this to display HTML codes and such:
CODE
<textarea>HTML CODES, HTML CODES</textarea>


Or you can add another DIV inside the current DIV, except the inner DIV will have an overflow property that will make it scroll.
CODE
<div class="YOUR DIV CLASS">
TEXT TEXT TEXT
<div style="width:###px; height:###px; overflow:auto;">
TEXT WITH A SCROLLBAR HERE
</div>
TEXT TEXT TEXT
</div>

You basically just have to define the width and height. You can also use this method with other tags like the <p></p> tags. _smile.gif
 
Mikeplyts
post Aug 3 2009, 07:35 PM
Post #4


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



Oh, my bad then. :/
 

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