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
Mikeplyts
post Aug 3 2009, 01:05 PM
Post #2


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
 

Posts in this topic
LinaEatsRice   div overlay help   Aug 3 2009, 04:08 AM
Mike   Please post all of the codes you're using.   Aug 3 2009, 09:20 AM
Mikeplyts   You could use this to display HTML codes and such:...   Aug 3 2009, 01:05 PM
Mikeplyts   Oh, my bad then. :/   Aug 3 2009, 07:35 PM


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