tags:

views:

37

answers:

3

Hi, how disables CSS file?

I use CMS and in header load style.css file. O don't have permission change index.php file, so i must change only in my file.

Thanks

+2  A: 

Comment the whole css out. Start with /* and don't put the end piece in the file.

/*

// Here starts your normal css file
body {
    font-family: serif;
    ...
{
...

// Post at the end or not at all
*/
Jurian Sluiman
Why serve all that content if it isn't gonna be used?
rchern
You can delete the whole content, but when you need it back it's gone. Create a backup, of course, but my feelings say this is just for a temporary solution. But eventually, you're correct.
Jurian Sluiman
+2  A: 

Are you saying you don't want to use the stylesheet but can't remove it from the html markup? If so, just delete everything in the file. You can comment it all out, but if you're not using it, save the bandwidth and just erase the content.

rchern
+2  A: 

Just replace style.css with an empty style.css file.

Enrico Pallazzo