<div style="height:475px; overflow:auto;" > Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec sagittis pede at ligula. Mauris iaculis posuere ligula. Mauris in eros ut enim molestie auctor. Sed vehicula tristique lacus. Etiam dictum sagittis magna. Aenean pellentesque. Mauris tortor. Nunc ac lorem. Maecenas interdum semper risus. Fusce vel risus eu mi sodales sagittis. Cras malesuada risus. Suspendisse eros ante, semper quis, egestas ac, pretium at, est. Vestibulum nec dui. </div>
That will get you the basics. The overflow: auto, will make the div scroll if there is more text than the height will allow. If the height of the items inside that container does not reach the specified height, it will not show scroll bars. Hope this helps. Neill Harmer www.neillharmer.com "Innovation distinguishes between being a leader and a follower." -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Pratt Sent: Thursday, February 16, 2006 2:16 PM To: css-d@lists.css-discuss.org Subject: [css-d] Allow overflow for height only I want overflow to allow scroll bar to appear if content is longer but I want content to be clipped and no scroll bar if screen is made narrower. Can someone advise on how to accomplish this. Many thanks. David ______________________________________________________________________ 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/ ______________________________________________________________________ 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/