[eluser]CoderReborn[/eluser]
Hi, there,
I'm new to Code Ignitor and have run into the following frustrating problem:
I have an existing index.html file with an external CSS file that works fine.
I want to rename "index.html" to "index.php" for a number of reasons.
I'll be using it as a View.
So, my views folder includes:
- index.php
- css folder
- js folder
- images folder
However, when I rename the file, all CSS styling is lost!
There is currently no PHP code in this file, yet. It's all HTML.
Here are the first few lines of "index.php".
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html >
<head>
<title>Title </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/all.css" />
Thanks for your help!