Conditional Import of Resource XPages

I have a style sheet that I have imported into my xPage. I only want it to be used if the browser is IE7 or less. How do I program this condition?


<xp:linkResource

    href="/somePath/db.nsf/somePath/ie/$file/ie.css"

    rel="stylesheet" media="screen" type="text/css"

    charset="utf-8">

</xp:linkResource>

The HTML equivalent is:


<!--[if lte IE 7]>

<link type="text/css" rel="stylesheet" href="[path]ie.css" media="screen" title="no title" charset="utf-8"/>

<![endif]-->

Thanks in advance

Subject: Use a theme

Look at the standard themes that come with some of the stock templates (eg. OneUI, blue).