Local CSS file in Firefox
Hi. I want to change fonts on some websites for me in Firefox. I created userContent.css file and then I go to some page, open css file and take class of "p" or "div". Then I write a rule for this in userContent.css. For example page http://www.osnews.com/ . It has
Code:
<div class="newscontent1"> Code:
.newscontent1 { |
This style is set by webmaster as "important", so to override you also need to set it "important" (to be more than webmaster's), like that:
Code:
.newscontent1 { |
When you reload the page, the persistent information seems to override your CSS- as it should . This is expected behaviour and anyway local css lasts only for the current session.
OK |
Solved
eSelix, thanks, solved.
Is there a way to specify particular website for which the rule must be applied (and for no other)? Some websites just have "<p></p>" without class or anything else unique. |
Yes, you can write your rules inside this special syntax
Code:
@-moz-document url-prefix("http://somesite.com/") |
All times are GMT -5. The time now is 12:37 AM. |