Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
I'm getting this when validating my CSS: (nice_menus.css) 122 ul.nice-menu li.menuparent ul iframe, #header-region ul.nice-menu li.menuparent ul iframe Parse Error mask()
What's the best practice for placing ie6 stuff in a conditional stylesheet - on the module level that is?
I know I can just force it (add to a template etc) but it's be great to go through the proper drupal channels (add to styles output).
If this should happen on the theme level instead, what's the best way to do this the proper drupal way? Sorry if these seem like elementary questions... but clients often want pages to validate css... so it's kinda important.
Comments
Comment #1
add1sun commentedThe mask() stuff is needed for the IE6 iframe fix to work properly.
Comment #2
scottrigbyThis also happens in the 5.x version.
What's the best practice for placing ie6 stuff in a conditional stylesheet - on the module level that is?
I know I can just force it (add to a template etc) but it's be great to go through the proper drupal channels (add to styles output).
If this should happen on the theme level instead, what's the best way to do this the proper drupal way? Sorry if these seem like elementary questions... but clients often want pages to validate css... so it's kinda important.
Thanks in advance!
:) Scott
Comment #3
hefox commenteddrupal_set_html_header Can add stuff to the header of the html.
This patch sets a nice_menus-ie6.css via drupal_Set_html_header in a less than ie 7 conditional comment. based on advice here http://drupal.org/node/134569#comment-1052463
It is not tested for ie6 and probably needs to be being that it's added before the other styles, but at least gets rid of the warning :/