Code: Select all
<title>Forums of D'hara :: Index</title>
<!-- link rel="stylesheet" href="templates/D'hara Default/D'hara Default.css" type="text/css" -->
<style type="text/css">
Code: Select all
<title>Forums of D'hara :: Index</title>
<link rel="stylesheet" href="templates/D'hara Default/D'hara Default.css" type="text/css">
<style type="text/css">
CyberAlien wrote: if you use subsilver as base of your style look in overall_header.tpl (and few other tpl files that contain css) - there is a copy of style sheet.
by default line <link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css"> is commented and style sheet in overall_header.tpl is used instead. you can uncomment it and remove almost all css from overall_header.tpl
edit: while i was typing this message Mav already replied, so ignore my message because Mav's explanation is better.
Code: Select all
<link rel="stylesheet" href="templates/subSilver/subSilver.css" type="text/css">
<style type="text/css">
<!--
/* Specifiy background images for selected styles, specially here for NS4.
This can't be done within the external style sheet as NS4 sees image paths relative to
the page which called the style sheet
whereas all other browsers see image paths relative to the style sheet.
*/
TH { background-image: url(templates/subSilver/images/cellpic3.gif) }
TD.cat { background-image: url(templates/subSilver/images/cellpic1.gif) }
TD.rowpic { background-image: url(templates/subSilver/images/cellpic2.jpg); background-repeat: repeat-y }
TD.catHead,TD.catSides,TD.catLeft,TD.catRight,TD.catBottom { background-image: url(templates/subSilver/images/cellpic1.gif) }
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("templates/subSilver/formIE.css");
-->
</style>
Melli wrote: Already been there done that!. . .
The table boarders and tables disappeared and the colors were nothing like I had entered in the default.css. . .
Code: Select all
<link rel="stylesheet" href="templates/subSilver/{T_HEAD_STYLESHEET}" type="text/css" />
<style type="text/css">
<!--
td.cat,td.cathead,td.catsides,td.catleft,td.catright,td.catbottom { background-image: url(templates/subSilver/images/{T_TH_CLASS1}) }
th { background-image: url(templates/subSilver/images/{T_TH_CLASS2}) }
td.rowpic { background-image: url(templates/subSilver/images/{T_TH_CLASS3}); background-repeat: repeat-y }
-->
</style>
Code: Select all
<link rel="stylesheet" href="../templates/subSilver/subSilver.css" type="text/css" />
<style type="text/css">
<!--
th { background-image: url(../templates/subSilver/images/cellpic3.gif) }
td.cat { background-image: url(../templates/subSilver/images/cellpic1.gif) }
td.rowpic { background-image: url(../templates/subSilver/images/cellpic2.jpg); background-repeat: repeat-y }
td.cathead,td.catsides,td.catleft,td.catright,td.catbottom { background-image: url(../templates/subSilver/images/cellpic1.gif) }
-->
</style>
Code: Select all
(..)
NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
theme administration centre. When you have finalised your style you could cut the final CSS code
and place it in an external file, deleting this section to save bandwidth.
(..)