• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cannot load 960 css my app , i have error 500

#1
[eluser]dinisptc[/eluser]
i have created a html page nd works fine
but when paste this code on php file i get http error 500

thanks
Pedro

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&lt;html &gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;

&lt;title&gt;&lt;?php echo $this->config->item('app_name');?&gt;&lt;/title&gt;
    
     &lt;?php echo base_url();?&gt;
    
    &lt;link href="&lt;?php echo base_url();?&gt;css/960/960.css" rel="stylesheet" type="text/css" /&gt;
    &lt;link href="&lt;?php echo base_url();?&gt;css/default.css" rel="stylesheet" type="text/css" /&gt;
    &lt;link href="&lt;?php echo base_url();?&gt;css/960/text.css" rel="stylesheet" type="text/css" /&gt;
    &lt;link href="&lt;?php echo base_url();?&gt;css/960/reset.css" rel="stylesheet" type="text/css" /&gt;

    [removed][removed]

&lt;/head&gt;
&lt;body&gt;


<div id="container" class="container_12">
  <div id="header" class="grid_12">
    <h1>This is my header</h1>
  </div>
  &lt;!--end header--&gt;
  <div id="secondary1" class="grid_3">
    <p>  </p>
  </div>
  &lt;!--end secondary1--&gt;
  <div id="secondary2" class="grid_3">
    <p>  </p>
  </div>
  &lt;!--end secondary2--&gt;
  <div id="mainContent" class="grid_6">
    <p> </p>
    <div id="col1" class="grid_3 alpha">
      <p> t is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. </p>
    </div>
    
        <div id="col2" class="grid_3 omega">
      <p> t is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. </p>
    </div>
    
  </div>
  &lt;!--end mainContent--&gt;
  <div id="footer" class="grid_12">
    <h2>My footer</h2>
  </div>
  &lt;!--end footer--&gt;
</div>
&lt;!--end container--&gt;
&lt;/body&gt;
&lt;/html&gt;

#2
[eluser]Atharva[/eluser]
This can be anything, php error, db error. Check your error log.

#3
[eluser]otherjohn[/eluser]
Add the css folder to your list of excludes in your .htaccess file.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.