<p>I am wondering if it is possible to use Code Access Security, and a custom permission class (and attribute), without having to register the assembly that the attribute is in, in the GAC.</p>

<p>At the moment, I get a TypeLoadException when the method with my attribute is called, and I can't seem to get around it. Everything i've read seems to imply that you need to use the GAC in order to achieve this.</p>

<p>Does anyone have any insight?</p>

<p>I've tried to acheive the same end-goal with AOP using PostSharp or AspectDNG, but both of those add an addition dependency to my product, which is not ideal.</p>

Adding
```
!important
```
after a property in your CSS will allow it to override the inline styles. For example:
```
```
<div class="test" style="color: blue;">Some Text</div>
```
```
css:
```
```
.test {
     color: red !important;
  }
```
```
will be displayed red.