The Artima Developer Community
Sponsored Link

Web Buzz Forum
Site specific stylesheets in Mozilla

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Simon Willison

Posts: 282
Nickname: simonw
Registered: Jun, 2003

Simon Willison is a web technology enthusiast studying for a Computer Science degree at Bath Uni, UK
Site specific stylesheets in Mozilla Posted: Aug 4, 2005 7:45 PM
Reply to this message Reply

This post originated from an RSS feed registered with Web Buzz by Simon Willison.
Original Post: Site specific stylesheets in Mozilla
Feed Title: Simon Willison: [X]HTML and CSS
Feed URL: http://simon.incutio.com/syndicate/markup/rss1.0
Feed Description: Simon Willison's [X]HTML and CSS cateory
Latest Web Buzz Posts
Latest Web Buzz Posts by Simon Willison
Latest Posts From Simon Willison: [X]HTML and CSS

Advertisement

New in Mozilla 1.8 Alpha 3: bug 238099 - implement at-rule for matching on site/document URL. Here's the example:

@-moz-document url-prefix(http://www.mozilla.org/) {
  #q { background: white ! important; color: black ! important; }
}

Drop that in your userContent.css file for black-on-white search fields, but only for pages with URLs starting in http://www.mozilla.org/. Two other selection functions are available: domain(mozilla.org) for all page (and sub-domains) of the mozilla.org domain and url(http://www.mozilla.org/) for just the page matching that exact URL.

The sooner this makes it in to Firefox the better.

Read: Site specific stylesheets in Mozilla

Topic: The Worst Thing About Best Practices Previous Topic   Next Topic Topic: Librarians' Index to the Internet

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use