One more html question…
One more html question…
Out of context: Reply #4
- Started
- Last post
- 14 Responses
- Kevin_Sweeney0
if you want a div with lots of content that's going to expand, it will either expand past the screen (causing your browser to need to scroll) this is because as of right now, the W3C has stated that websites should be defined as having a finite width, but infinite height.
if you want a div that will scroll (like an iframe), just add the rule...overflow: auto; or overflow: scroll; auto will add scroll bars as the content needs them, scroll will give you both sets of scroll bars by default (including the dreaded horizontal one, so you best bet is probably auto)
hope this helps