How can I make a DIV tag appear like a scrolling iframe? I want to limit the height of a a div area to like 250px and then allow it to scroll with expanded text.
DIV Like iFrames?
Started by signature16, Aug 10 2006 02:44 AM
4 replies to this topic
#1
Posted 10 August 2006 - 02:44 AM
#2
Posted 12 August 2006 - 08:04 PM
Add this to the css for the div:
overflow: scroll;
overflow: scroll;
#3
Posted 12 August 2006 - 08:18 PM
using overflow: auto; may be better as it hides the scrollbars when they are not needed.
#4
Posted 12 August 2006 - 08:31 PM
Although auto may cause him to not compensate for the extra space that the bars take up if he previews it.
#5
Posted 13 August 2006 - 07:16 AM
I could be wrong but i think the bars appear within the div
not on the outside.
Edited by .Matt, 13 August 2006 - 07:16 AM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
