<<O>> Difference Topic TWikiSkins (r1.14 - 12 Oct 2003 - PeterThoeny) |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
TWiki Skins | ||||||||
Line: 38 to 38 | ||||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
The "Go" Box and Navigation Box | ||||||||
Line: 64 to 64 | ||||||||
| ||||||||
Added: | ||||||||
> > |
Using Cascading Style SheetsThe regular templates files currently do not use style sheets. Many skin developers choose to use them, it helps in separating style from content. Example: To use a style sheet for the broadcast message, add this toview.myskin.tmpl :
<style type="text/css"> .broadcastmessage { background: yellow; display:block; border-style:solid;border-width: 2px;border-color:red; } .broadcastmessage strong {color: red} </style>Then add a div tag to the %BROADCASTMESSAGE% variable located after the #PageTop anchor or after the opening form tag:
<div class="broadcastmessage"> %BROADCASTMESSAGE% </div> | |||||||
Packaging and Publishing SkinsSee TWiki:Plugins/SkinPackagingHowTo and TWiki:Plugins/SkinDeveloperFAQ |
Topic TWikiSkins . { View | Diffs | r1.14 | > | r1.13 | > | r1.12 | More } |
Revision r1.13 - 12 Oct 2003 - 06:15 - PeterThoeny Revision r1.14 - 12 Oct 2003 - 18:11 - PeterThoeny |
Copyright © 1999-2024 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki.Tukro? Send feedback. |