THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Tapestry
...
Cascading Stylesheet Support Support
Wiki Markup |
---|
{float:right|background=#eee} {contentbylabel:title=Related Articles|showLabels=false|showSpace=false|space=@self|labels=assets} {float} |
...
Naturally, the conditional part can be any other IE conditional expression, such as "lt IE 8".
Suppressing the Tapestry Default Stylesheet
Though it should be rarely needed, you can prevent Tapestry's default stylesheet from loading by overriding the configuration in your application's module (normally AppModule.java):
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
@Contribute(MarkupRenderer.class)
public static void deactiveDefaultCSS(OrderedConfiguration<MarkupRendererFilter> configuration)
{
configuration.override("InjectDefaultStyleheet", null);
}
|
Note: In Tapestry 5.3 and later, the misspelled "InjectDefaultStyleheet" is corrected to "InjectDefaultStylesheet"