Using Cascading Style Sheets
The 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 to view.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>
|