RSS 2.0 | Atom 1.0 | CDF

Search

Categories

Archive

Blogroll

Sign In

# Monday, August 01, 2005
Monday, August 01, 2005 2:59:54 PM (GMT Daylight Time, UTC+01:00) ( Asp.Net )
DIV.scroll
{
	height: 9em;
	overflow: auto;
	border: 1px solid #666;
	background-color: #e8e8e8;
} 

I ran into a problem designing a web app that had a few checkboxlists, and when the real data got imported, the checkboxlists took up most of a page with all the entries!  this is obviously no good, but the app still needed a checkboxlist rather than a single-select dropdownlist, so i found this css code that you can apply to a DIV wrapped around the checkboxlist.  you can set a width if you like but i just let it fill whatever container the div is already in. 

works in firefox and IE6 in windows, didn't try on anything else. 

Comments [1] | | # 
Thursday, December 14, 2006 1:17:25 PM (GMT Standard Time, UTC+00:00)
qwe
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview