1internet Posted November 21, 2012 Share Posted November 21, 2012 So I want to create a list of suggested/related products, this list size might vary from 3, to perhaps 20. I don't want it to take up too much room, so after e.g. 5 listings, I would like the listings to be contained within a certain height limit, and any more listings would require scrolling. 1. What sort of if statement is required when e.g. listings > 5, to then create a scroll bar? 2. How do I create a scroll bar? And should it be in an iframe? Quote Link to comment Share on other sites More sharing options...
play_ Posted November 21, 2012 Share Posted November 21, 2012 (edited) Wouldn't CSS suffice by giving the div a height and overflow:scroll; ? moving this to CSS forum as it's really client sided. Edited November 21, 2012 by play_ Quote Link to comment Share on other sites More sharing options...
1internet Posted November 21, 2012 Author Share Posted November 21, 2012 Oh, well that sure simplifies it, just trying to over complicate things. Thanks Quote Link to comment Share on other sites More sharing options...
play_ Posted November 21, 2012 Share Posted November 21, 2012 If it does solve your issue, please mark the thread as solved Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.