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

DOCTYPE Standards brought problem

1 Answer 61 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Gourangi
Top achievements
Rank 1
Gourangi asked on 17 Jan 2009, 11:08 AM
Hi,

I was facing one problem for few days in rad combobox. The problem was the doctype.
Previously it was
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
which was not rendering my combobox properly.

After that I created new page and added the rad combo and was working fine.
When I checked the difference between two pages, only I found is the DOCTYPE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
was working properly.

Thing is it doesn't comes in developer's mind to set doctype properly.
Can you please suggest which one should be set for standard web pages !

Thanks

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 19 Jan 2009, 08:43 AM
Hello Divyesh Chapaneri,

The second doctype is the one that will put internet explorer into the so called "strict rendering mode". You can find more info in the following web pages:
http://www.alistapart.com/stories/doctype/
http://msdn.microsoft.com/en-us/library/bb250395.aspx
Greetings,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
Gourangi
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or