Am I losing my mind dealing with CSS and Codeigniter? I can't figure out if it's a permissions issue or something else...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>test</title>
<link rel="stylesheet" href="<?php echo base_url(); ?>/css/style.css"
type="text/css" media="screen"/>
</head>
<body>
<?php echo base_url(); ?>css/style.css
In my header file, everything seems correct. Even checked by echoing it out. The source of the page shows it right... yet, there's no visual change. Here's the CSS snippet that should give a gray background:
body{
background: #b6b6b6;
margin 0;
padding 0;
font-family: arial;
}
I've confirmed that my base URL is correct as it echoes out properly and navigates to the intended location: $config['base_url'] = 'http://localhost/block/application';
What could possibly be causing this frustration?
.htaccess configuration:
Deny from all