Page 1 of 1

Css denied

Posted: Wed Feb 09, 2011 4:27 pm
by Kevinabc
Hi,

I've got a certain problem with my css since today.
The website has been online for 2 weeks working perfectly. But today I edited some css, saved it and now just nothing happens.

What i tryed:
I reversed the changes saved again and thought/hoped that would work.
Checked all css in an editor (nothing wrong)
Deleted certain parts of the css to find out where it could be going wrong. (didnt matter)
Check the source of the html. The link to the css file was there able to open it and make sure it wasnt empty. (all fine)
Use different browsers to make sure styles were not just turned off.

Dirty quick way i solved it:
{literal}
<style>
ALL CSS
</style
{/literal}

What did i mess up? ( except the quick solve part)

Re: Css denied

Posted: Wed Feb 09, 2011 5:07 pm
by Jos
Maybe there was an error message in the html source?

Re: Css denied

Posted: Wed Feb 09, 2011 5:30 pm
by Wishbone
View the source and see if the stylesheets are referenced. Access the stylesheets through the browser and see if your CSS is there.

Re: Css denied

Posted: Wed Feb 09, 2011 6:29 pm
by Kevinabc
Wishbone wrote:View the source and see if the stylesheets are referenced. Access the stylesheets through the browser and see if your CSS is there.
I did that the link is at the right place. I can open it and, all of the css is complete.

So i kinda ran out of ideeas what could be wrong..

Re: Css denied

Posted: Wed Feb 09, 2011 8:23 pm
by Nullig
Which tag are you using for the stylesheets, {stylesheet} or {cms_stylesheet}?

Nullig

Re: Css denied

Posted: Thu Feb 10, 2011 6:51 pm
by Kevinabc
{cms_stylesheet} tag.. didnt change anything about that but ill try the other one

Re: Css denied

Posted: Thu Feb 10, 2011 6:55 pm
by Dr.CSS
It helps if a link is provided, if you have...

{literal}
<style>
ALL CSS
</style
{/literal}

That is something that goes in the template <head>, if you have it in your style sheet it is messed up...