This is a migrated thread and some comments may be shown as answers.

Colour Picker and <!DOCTYPE

1 Answer 41 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 13 Mar 2008, 01:07 AM
If I am to use the following line:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

My colour picker works great. But if I am to leave this line out it ruins the spacing for the colour picker. I have tried adjusting every setting eg: width etc but have no luck.

I need to exclude the DOCTYPE line from my code as my CSS file is a .aspx (so it builds the css values from a database) and does not work in FIREFOX if I enclude that line.

Does anyone know how I can adjust the spacing for the colour picker?

Just clear up what I am getting:

[] = a colour square

[] [] [] [] [] [] [] [] [] [] [] [] []
[] []
[] [] [] [] [] [] [] [] [] [] [] [] []
[] []
[] [] [] [] [] [] [] [] [] [] [] [] []
[] []
[] [] [] [] [] [] [] [] [] [] [] [] []
[] []
[] [] [] [] [] [] [] [] [] [] [] [] []
[] []
[] [] [] [] [] [] [] [] [] [] [] [] []

Thanks

1 Answer, 1 is accepted

Sort by
0
Ubong
Telerik team
answered on 18 Mar 2008, 01:41 PM

Hello James,

RadColorpicker does not support quirks mode and the doctype is really required in your page so you will need to use this and it cannot currently be avoided: 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">  
 


Greetings,
Ubong
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ColorPicker
Asked by
James
Top achievements
Rank 1
Answers by
Ubong
Telerik team
Share this question
or