dhtmlxwindows vs doctype strict mode

Hellow,



dhtmlxwindows is very cool except that the header of windows are not compatible with the doctype in strict mode. Can you do something ? I just use dhtmlxwindows.css and dhtmlxwindows_standard.css







Thanks a lot :slight_smile:

Unfortunately problem can’t be reconstructed locally. Is problem occurs on some standard samples or only  with your custom code ?
In second case please provide any kind of sample where it can be reconstructed ( you can send it directly to support@dhtmlx.com )

With very simple custom code (build in sample/init directory) :





        Very Very Minimal Init

       
       

        <script  src="…/…/codebase/dhtmlxcommon.js">
        <script  src="…/…/codebase/dhtmlxwindows.js">








I’m using Firefox 2 if it can help :slight_smile:

Please check attached sample, it uses exactly the same code but works fine in case of FF

1206626956.zip (54.9 KB)

I’ve tested the attachment.
I’ve the same problem.

After many tests, I can say that :

   - there’s no problem with FF and Windows
   - there’s a problem with FF and Linux

Can you reproduce the problem on Linux ?

In theory - there must not be difference on DOM level between FF on Windows and FF on Linux.
Can you provide some more details about problem - which version of FF you are using and on which Linux distributive ?

I’m using FF 2.0.0.12 with Ubuntu distribution and it’s not ok.

I’ve also tried latest version of FF 2.0.0.13 and it’s ok on windows but not on linux.

You can see the result on the attachment. (white color on the header is transparent).




Problem confirmed and fixed, fix will be available as part of next build if you need it ASAP, just add next rules to your local copy of dhtmlxwindow.css


div.dhtmlx_window_active table.dhtmlx_wins_standard
td.dhtmlx_wins_td_header_full table.dhtmlx_wins_header
td.dhtmlx_wins_td_header_middle {

    font-size:2px;
}

div.dhtmlx_window_inactive table.dhtmlx_wins_standard
td.dhtmlx_wins_td_header_full table.dhtmlx_wins_header
td.dhtmlx_wins_td_header_middle {

    font-size:2px;
}

Text in bold - name of used skin

Yes, it works ! Good Job ! :slight_smile: Thanks a lot :slight_smile: