[eluser]CyberGirl[/eluser]
Hello everyone,
I just download CodeIgniter 2.0.0 and when I run it everything works fine. However when I take the styles from the welcome_message.php and put them in an external stylesheet the view is shown in the browser without formatting.
When I click the link to the stylesheet in the browser the stylesheet looks like this.
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html >
<head>
<title>Object not found!</title>
<link rev="made" href="mailto:postmaster@localhost" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>
<body>
<h1>Object not found!</h1>
<p>
The requested URL was not found on this server.
The link on the
<a href="http://localhost/projects/ci_demo/index.php">referring
page</a> seems to be wrong or outdated. Please inform the author of
<a href="http://localhost/projects/ci_demo/index.php">that page</a>
about the error.
</p>
<p>
If you think this is a server error, please contact
the <a href="mailto:postmaster@localhost">webmaster</a>.
</p>
<h2>Error 404</h2>
<address>
<a href="/">localhost</a><br />
<span>12/03/2011 10:02:33<br />
Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1</span>
</address>
</body>
</html>
The stylesheet is in the folder application/views.
The link in the welcome_message.php is:
Code:
<link rel="stylesheet" href="default.css" type="text/css">
Does anybody know what is wrong?