CSSPage added by Ulrich StärkTapestry CSS SupportCascading Style Sheets (CSS) is an important technology, even with Tapestry. Tapestry works best when the rendered HTML is simple and semantic – semantic meaning HTML that goes back to its roots, simple, straightforward, with tags used for structure and, as much as possible, details about font, color and layout delegated to CSS. Default CSS StylesheetTapestry includes a built-in stylesheet, default.css, is all HTML documents (documents that have an outer <html> element and a nested <head> element). The default.css stylesheet is always ordered first ... any additional stylesheets will come after. This allows Tapestry's default styles to be overridden. All the styles in the default stylesheet are prefixed with "t-" (for Tapestry). Adding your own CSSA page or component that is rendering the <head> tag can add a stylesheet directly in the markup. <head> <link href="" class="code-quote">"/css/myapp.css" rel="stylesheet" type="text/css"/> . . .
Change Notification Preferences
View Online
|
- [CONF] Apache Tapestry > CSS confluence
- [CONF] Apache Tapestry > CSS confluence
