Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by dactar on Apr 07, 2008 09:21
open dhtmlx forum
dhtmlxtabbar vs doctype strict mode

Hellow,

dhtmlxtabbar is very cool except that the height attribute of a tabbar is not compatible with the doctype in strict mode. Can you do something ? Tested on sample called tab_100pc.html.

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

Thanks a lot :)
Answer posted by Support on Apr 08, 2008 02:17
The problem is not in tabbar code, but in the way how height defined in case of xHTML strict doctype.
Tabbar will reflect css height, so you need just to create correct HTML layout
Please check attached sample.
Attachments (1)
Answer posted by dactar on Apr 25, 2008 02:54

Yes thanks it works if I add your code in my css.

Can you add this code (or other generic code) in your default css for supporting 
strict mode in dhtmlxtabbar without any change ? It was done for other dhtmlx products :

http://www.dhtmlx.com/docs/products/kb/index.php?s=normal&q=2442
http://www.dhtmlx.com/docs/products/kb/index.php?s=normal&q=1518

Thanks :)

Answer posted on Apr 25, 2008 04:55
The problem is that changes necessary to correct work of tabbar will affect other DOM elements as well, while it is pretty safe, the situation is possible when such additional styling will cause effect on other on-page functionality.
Most probably we will not updated existing dhtmlxtabbar.css but will add alternative css for strict mode.