Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 07, 2007 10:32
open dhtmlx forum
I am trying to use dhtmlxtabbar in my application, but I have a problem that it does not work if the browser is in standards mode. i. e. if I start an HTML page with a doctype like: lt;! DOCTYPE ...

I am trying to use dhtmlxtabbar in my application, but I have a problem that it does not work if the browser is in standards mode. i.e. if I start an HTML page with a doctype like:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/DTD/strict.dtd href="http://www.w3.org/TR/html4/DTD/strict.dtd">http://www.w3.org/TR/html4/DTD/strict.dtd">

 which switches the browser to standard mode, then the tabs do not display. If however I use a doctype that puts the browser in quirks mode (like the examples on your website) then it works.

Do you have any idea how to fix this? I need to work in standards mode to support other CSS on the page.
Answer posted on Mar 07, 2007 10:33

The tabbar can work with strict html and xhml  doctypes. The problem can be caused by samples, most of them has next definition

            <div id="a_tabbar" style="width:200; height:420;"/> where "px" postfix missed, correct one is

            <div id="a_tabbar" style="width:200px; height:420px;"/> please check that in your case postfix "px" present for container width and height.

Answer posted by Alexandra (Support) on Dec 08, 2014 09:19

Not much can be said in addition to the reply above, but you also can check ajax toolkit calendar and xml datagrid and find out what we have probably missed in our explanation.