Welcome Guest, Not a member yet? Register   Sign In
CSS parsing broken?
#1

[eluser]VicToMeyeZR[/eluser]
Does this framework do anything to the CSS, before it is passed to the browser?

Because I have tried to load my CSS file and images in the html from direct HTML, to using the helpers, and no of them seem to work. (using 1.7.2)

Here is what the CSS ends up looking like once my browser gets it :

Code:
<html>
<head>
<title>404 Page Not Found</title>
<style type="text/css">

body {
background-color:    #fff;
margin:                40px;
font-family:        Lucida Grande, Verdana, Sans-serif;
font-size:            12px;
color:                #000;
}

#content  {
border:                #999 1px solid;
background-color:    #fff;
padding:            20px 20px 12px 20px;
}

h1 {
font-weight:        normal;
font-size:            14px;
color:                #990000;
margin:             0 0 4px 0;
}
</style>
</head>
<body>
    <div id="content">
        <h1>404 Page Not Found</h1>
        <p>The page you requested was not found.</p>    </div>

&lt;/body&gt;
&lt;/html&gt;
I can't think of any good reason why you would try to parse the CSS file, or why its being broken before my browser gets it.

(this is in my view file, following all your tutorials for loading a simple view file, with some html and CSS).
#2

[eluser]VicToMeyeZR[/eluser]
ok, lol. Now I feel like an idiot. I forgot I had a redirect in the htaccess file blocking everything. dang. See what happens when you don't work on something for a couple of weeks?


Sorry, you can remove, or close this topic.




Theme © iAndrew 2016 - Forum software by © MyBB