Wednesday, June 24, 2009

ASP.NET AJAX Color Picker Control Breaks to Second Line

I added the new ASP.NET AJAX ColorPicker control to a project.

I also added the little colorpicker image and the div to show the color that has been selected.

By default, when you add those controls, the colorpicker will break to a second line. To fix it, add style="float:left" to the textbox properties.

The Situation:
You have an ASP.NET AJAX Color Picker control on your page, and the color picker control breaks onto a second line.

The Solution:
Add style="float:left" to the textbox properties

Possible Google Searches (ignore this part- it's used to try to help Google find this page):
  • ASP.NET controls break second line
  • AJAX Color Picker controls won't stay on same line
  • VB.NET controls line break

0 comments:

Post a Comment