When I declare my external CSS on a template within the HEAD tag, all hell breaks loose on the page if I declare another external CSS file in the same tag. However, everything seems to work fine if I keep the two CSS file declarations separate - one in the body and the other in the head.
Is it a problem to do things this way? Or should I merge the two CSS files into one big file?
All I want to do is incorporate some elements of TB into an existing layout without rewriting everything from scratch.
Thanks.
- Sample code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Test</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<!--
-->
<link href="../externalsheet.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
-->
</style>
</head>
<link rel="stylesheet" type="text/css" href="../cssverticalmenu.css" />
<script type="text/javascript" src="../cssverticalmenu.js"></script>
<body>
<div id="wrapper">
<div id="head"><img src="../headtop.jpg" alt="img" width="870" height="153" />
<div>
Club test</div>
</div>
<div id="content">
<ul id="verticalmenu" class="glossymenu">
<li><a href="index.php">Home</a></li>
<li><a href="#">Insert and Update</a>
<ul>
<li><a href="insertmember.php">Add member into database</a></li>
<li><a href="insertevent.php">Add event into database</a></li>
<li><a href="inserttotal.php">Add member total and comment into database</a></li>
<li><a href="updatemember.php">Update members personal details </a></li>
</ul>
</li>
<li><a href="#" >Delete</a>
<ul>
<li><a href="deletemember.php">Remove member from database</a></li>
<li><a href="deleteevent.php">Remove event from database</a></li>
<li><a href="deltotal.php">Remove member total & comment from database</a></li>
</ul>
</li>
<li><a href="#" >Show data</a>
<ul>
<li><a href="showmember.php">Show members on database</a></li>
<li><a href="showevent.php">Show events on database</a></li>
<li><a href="showtotal.php">Show member totals and comments on database</a></li>
</ul>
</ul>
<div class="contentbox"><!-- TemplateBeginEditable name="main box" -->main box<!-- TemplateEndEditable --></div>
<link rel="stylesheet" type="text/css" href="bootstrap.css"> // Attempt here to allow TB to work
<div id="foot">
<a href="http://validator.w3.org/check?uri=referer"><img
src="../Grants.jpg"
alt="Valid XHTML 1.0 Transitional" width="585" height="80" border="0" /></a>
<br />
</div>
</div>
</div>
</body>
</html>