[eluser]The Beginner[/eluser]
Hi all, I am beginning my first project in CI and I went through the BLOG tutorial and I really like the way everything works. When I started trying to implement my dynamic CSS menu I ran into problems. I have pasted the view file code below. It does not seam to be picking up the "menu_style.css" file which in turn should be picking up the appropriate images. Am I missing something? This works fine as a stand along html file. Is it a path issue? I have tried moving the css file and images to several different directories with no success. Any suggestions would be greatly appreciated. :cheese:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php echo $title; ?></title>
<link rel="stylesheet" href="menu_style.css" type="text/css" />
</head>
<body>
<?php echo $htmlstring; ?>
<div>
<ul class="menu">
<li class="top"><a href="#" class="top_link"><span>Sample Menu</span></a></li>
<li class="top"><a href="#" class="top_link"><span>Sample Menu This is some longer text</span></a>
<ul class="sub">
<li><a href="#">Sample Menu This is some longer text</a></li>
<li><a href="#">Sample Menu</a></li>
<li><a href="#">Sample Menu</a></li>
<li><a href="#">Sample Menu</a></li>
<li><a href="#">Sample Menu</a></li>
</ul>
</li>
<li class="top"><a href="#" class="top_link"><span>Sample Menu</span></a>
<ul class="sub">
<li><a href="#">Sample Menu This is some longer text</a></li>
<li><a href="#">Sample Menu</a></li>
<li><a href="#">Sample Menu</a></li>
<li><a href="#">Sample Menu</a></li>
</ul>
</li>
<li class="top"><a href="#" class="top_link"><span>Sample Menu</span></a></li>
<li class="top"><a href="#" class="top_link"><span>Sample Menu</span></a></li>
</ul>
</div>
<p><?php echo anchor('blog/', 'Back To Blog'); ?></p>
</body>
</html>