stefan.baerthlein-gmx
-
5/13/2009 8:37:23 AM
css and conditional comments in masterpage (template)
hey there,
i'm totally new to kentico and want to include kentico cms in an existing webpage (former asp.net web-app).
so i made a BlankASPX template and assigned a global stylesheet to it. the original design has ha complicate/stylish menu realized through conditional comments for the css like:
so i have todo something like:
<!--[if lte IE 6]> <style type="text/css"> body { behavior: url( "CMSTemplates/BlankASPX/PromontAMTemp01_css/navigation/hover.htc" ); } @import url(CMSTemplates/BlankASPX/PromontAMTemp01_css/navigation/ie6.css); </style> <![endif]--> <!--[if IE 6]> <style type="text/css">@import url(CMSTemplates/BlankASPX/PromontAMTemp01_css/navigation/ie6.css);</style> <![endif]--> <!--[if IE 7]> <style type="text/css">@import url(CMSTemplates/BlankASPX/PromontAMTemp01_css/navigation/ie7.css);</style> <![endif]-->
so my question would be how to include the different stylesheets depending on which browser is used?
i would be gratefull for any hint! greetings s.
|