In html pages, we sometimes need to automatically display the scroll bar when the content in the div exceeds the limit. We can set it as follows: [csharp] <div class = "classlist"> <div class = "autoScroll"> <asp: radioButtonList ID = "rblClasses" runat = "server" DataTextField = "className" DataValueField = "classID" ForeColor = "# FF4040"> </asp: radioButtonList> <br/> <asp: ImageButton ID = "imgSure" runat = "server" ImageUrl = "~ /Images/c_sure.jpg "/> <asp: ImageButton ID =" imgClose "runat =" server "ImageUrl = "~ /Images/c_close.jpg "/> </div> and set it in the style as follows: [css] <style type =" text/css ">. classlist {width: 300px; height: 20px ;}. autoScroll {width: 300px; height: 100px; overflow: auto ;}# after rblClasses {margin-left: 20px ;}</style> is set, when the content displayed in radiobutton exceeds the peripheral div, the scroll bar is automatically displayed, that is, the nested div.