View Single Post
  #2  
Old 08-24-2006, 11:24 PM
 
Hunabku Hunabku is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 47
 

Default Re: .htc file or "conditional comment" not recognized

Well I figured out the problem.

It turns out the the conditional internet explorer ifs and the htc file were being referenced correctly.

The problem is that CSS behaves differently depending on the DOCTYPE so I went with the following xhtml doctype:

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

FINALLY i got crossbrowser CSS multi-level popup menus that just work! But I heard in another thread that using xhtml as a doctype is "pushing it" I hope that is not the case with the version I am using...

PS this whole business about conditional comments is only recognized in Internet Explorer - so if someone is using ie then you can change how the page displays - just like a smarty if statement.

more about conditional comments here: http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp
__________________
Version 4.1.3
Reply With Quote