Colour Picker and <!DOCTYPE

2 posts, 0 answers
  1. James
    James avatar
    1 posts
    Member since:
    Mar 2008

    Posted 12 Mar 2008 Link to this post

    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

  2. Ubong
    Admin
    Ubong avatar
    328 posts

    Posted 18 Mar 2008 Link to this post


    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top