lownow
25-05-2010, 15:41
Mam pewien problem w pliku indeks dodaje <link rel="stylesheet".....>ale strona mi się nie wyświetla tak jak zdefinowałem w pliku css
index.php
<html>
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/_system/css/general.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template; ?>/css/template.css type="text/css" />
</head>
<body>
<jdoc:include type="message" />
<div id="logo"></div>
<div id="colLeft">
<jdoc:include type="modules" name="left" style"xhtml" />
<div class="ArticleFooter"><p> </p></div>
</div>
<div id="colCenter">
<jdoc:include type="component" />
</div>
<div id="colRight">
<jdoc:include type="modules" name="right" style"xhtml" />
<div class="ArticleFooter"><p> </p></div>
</div>
<jdoc:include type="modules" name="debug" />
</body>
</html>
plik css
#colLeft { float: left; width: 15%; padding: 5px;}
#colCenter { float: left; width: 40%; padding: 5px; border: 1px solid black;}
#colRight { float: left; width: 15%; padding: 5px; border: 10px solid black;}
.body {
font: 0.9em/1.5 Verdana, Arial, Helvetica, sans-serif;
}
Czy popełniłem gdzieś jakiś błąd?
z góry dziękuje za pomoc i wyrozumiałość
index.php
<html>
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/_system/css/general.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template; ?>/css/template.css type="text/css" />
</head>
<body>
<jdoc:include type="message" />
<div id="logo"></div>
<div id="colLeft">
<jdoc:include type="modules" name="left" style"xhtml" />
<div class="ArticleFooter"><p> </p></div>
</div>
<div id="colCenter">
<jdoc:include type="component" />
</div>
<div id="colRight">
<jdoc:include type="modules" name="right" style"xhtml" />
<div class="ArticleFooter"><p> </p></div>
</div>
<jdoc:include type="modules" name="debug" />
</body>
</html>
plik css
#colLeft { float: left; width: 15%; padding: 5px;}
#colCenter { float: left; width: 40%; padding: 5px; border: 1px solid black;}
#colRight { float: left; width: 15%; padding: 5px; border: 10px solid black;}
.body {
font: 0.9em/1.5 Verdana, Arial, Helvetica, sans-serif;
}
Czy popełniłem gdzieś jakiś błąd?
z góry dziękuje za pomoc i wyrozumiałość