You may be interested by my code: it's adding IE only CSS in the header. You
just have to add it to the page.
public class IEStylesheetHeaderContributor extends AbstractBehavior
implements IHeaderContributor{
private final ResourceReference ref;
public IEStylesheetHeaderContributor(ResourceReference ref) {
this.ref = ref;
}
public void renderHead(IHeaderResponse response){
response.renderString("<!--[if IE]> <link type=\"text/css\"
rel=\"stylesheet\" href=\"" + RequestCycle.get().urlFor(ref) + "\"/>
<![endif]-->");
}
}
--
View this message in context:
http://old.nabble.com/If-IE-comments-tp26205227p27652623.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]