Created
May 20, 2011 21:14
-
-
Save michaelschade/983818 to your computer and use it in GitHub Desktop.
Skeleton htmlTag function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | Special set of conditionals for the HTML tag to make Skeleton compatible | |
-- with all browsers. | |
htmlTag :: Html | |
htmlTag = do | |
comment "lt IE 7" $ htmlEn ! class_ "ie ie6" | |
comment "IE 7" $ htmlEn ! class_ "ie ie7" | |
comment "IE 8" $ htmlEn ! class_ "ie ie8" | |
comment "(gte IE 9)|!(IE)" $ htmlEn | |
where htmlEn = html' ! lang "en" $ "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment