I am using the add-on stylish in Firefox 8.0. I particularly like a plain style and I want to apply to all website. Can I do that? I tried *.com and it doesn't work.

link|improve this question

47% accept rate
feedback

1 Answer

up vote 3 down vote accepted

You can apply a style to all websites by using the XHTML namespace:

@namespace url(http://www.w3.org/1999/xhtml);

Your CSS here.

Alternatively, to only modify the Firefox UI, you would use the XUL namespace:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

So, if you do not include a namespace, Stylish will modify all elements in Firefox.

Example:

Example

link|improve this answer
Can you give an working example? Thanks. – gunbuster363 Dec 1 '11 at 3:41
I tried the first one you wrote and it didn't work. – gunbuster363 Dec 1 '11 at 4:06
@gunbuster363 See my edit. :) – iglvzx Dec 1 '11 at 4:21
It's working now. – gunbuster363 Dec 1 '11 at 5:42
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.