I am newbie to Kohana (v3 used). When I run the Hello World example. If I link to another css file, the css doesn't work.
Orijinal örnek iyi çalışıyor.
Gidip bizim mesajın görünümü dosya application / views / site.php yapalım:
<html>
<head>
<title>We've got a message for you!</title>
<style type="text/css">
body {font-family: Georgia;}
h1 {font-style: italic;}
</style>
</head>
<body>
<h1><?php echo $message; ?></h1>
<p>We just wanted to say it! :)</p>
</body>
</html>
I changed the Css to another file like this. and I placed the default.css at the same directory of application/views/default.css Instead the current ... with default.css. It doesn't work! ? Could you tell me why and how to fix it. Thanks.
<html>
<head>
<title>We've got a message for you!</title>
<LINK href="default.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1><?php echo $message; ?></h1>
<p>We just wanted to say it! :)</p>
</body>
</html>
güncelleyin.
The Logo.gif also can't show up. And i created a new folder 'images' and placed a Logo.gif in it. like ths application/views/images/Logo.gif
application / views / site.php
<div id="header">
<div id="logo">
<p><img src="../index.php/images/Logo.gif" alt=""/></p>
<h1><?php echo $message; ?></a></h1>
<h2>We just wanted to say it! :)</h2>
</div>
</div>
Bunun nesi yanlış? Okuma ve cevaplar için teşekkürler.