Don Miller wrote: > Is there a way to make a .<div> behave like an iframe? > I want the div to be a certain width and height and keep that size regardless > of the content but would like a vertical scroll bar to appear if the content > is longer than the div.
<div id="scroll"> content </div> #scroll { width: 500px; height: 100px; overflow-y: scroll; } You may get some beef with the validators about the -y part of the overflow property. You can simply use overflow: to get both horiz and vert scroll bars however. > Or would I be better off just using an iframe? you're never better off using iframes :) ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/