I am doing a review of a website that it is poorly made. The developer is doing some things, mainly in CSS he needs to take out. He is the type that says I am making stuff up. I have gone cross-eyed trying to figure out his code. Is there a way to enable/disable by stylesheet to find out what is happening?
If you use the Web Developer Toolbar for FF, there’s a CSS menu and one of the options there is to disable individual stylesheets. Is that what you were looking for?
If you are using PHP then you could use the following:
<head>
<?php if( 0 ) { /* 0 == FALSE */ ?>
<link type="text/css" href="style-001.css" rel="stylesheet" />
<?php } ?>
<?php if( 1 ) { /* 1 == TRUE */ ?>
<link type="text/css" href="style-002.css" rel="stylesheet" />
<?php } ?>
<style type='text/css' >
.hhh {display:none}
</style>
<head>
<body>
<div class=‘hhh’ >
Nothing displayed
…
…
</div>
<table class=‘hhh’>
…
…
</table>