How to centralise CSS to be INCLUDED across multiple Templates
Add an Answer
Your question has been submitted and is awaiting moderation.
Thank you for reporting this content, moderators have been notified of your submission.
Under the section in the manual it states : "You can also insert tags into the page using this tag"It seems then one can write a piece of CSS code, save it in a file on the server and include it across multiple Templates.I have a situation where I have a specific definition on all my templates which formats the way information in a Table is displayed.Example : table.tablesorter{width:100%;background:#efeded;border-collapse:separate;border:1px solid #c0c0c0} table.tablesorter thead tr th,table.tablesorter tfoot tr th{background-color:#D5E9FB;padding:4px;font-weight:bold;color:#333;border:1px solid white} My question is : how do I use the and tags in combination to specify the css for all Tables only once?If I get this right it means that if I want to make a change to the way Tables are displayed, I can make the change in the centralised css code and it will affect all Tables because the css is included in all Templates. This will be a great time saver for me.I have tried various combinations like: And then adding these lines to the .css file: table.tablesorter{width:100%;background:#efeded;border-collapse:separate;border:1px solid #c0c0c0} table.tablesorter thead tr th,table.tablesorter tfoot tr th{background-color:#D5E9FB;padding:4px;font-weight:bold;color:#333;border:1px solid white}But am not having success.ThanksStephan