Title: Browser Specific CSS
Author: Adrian Hanft
Published: <strong>2009 年 12 月 13 日</strong>
Last modified: 2013 年 11 月 2 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/browser-specific-css.svg)

# Browser Specific CSS

 由 [Adrian Hanft](https://profiles.wordpress.org/adrian3/) 開發

[下載](https://downloads.wordpress.org/plugin/browser-specific-css.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/browser-specific-css/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/browser-specific-css/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/browser-specific-css/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/browser-specific-css/#developers)

 [技術支援](https://wordpress.org/support/plugin/browser-specific-css/)

## 外掛說明

The Browser Specific CSS plugin is a tool that allows developers to easily target
different browsers straight from the stylesheet. Browser Specific CSS adds a short
javascript to the head of your page that enables you to use browser specific css
selectors. For example, targeting Internet Explorer 7 from your stylesheet is just
a matter of defining styles with a “.ie7” selector. Every major browser is supported
including code for targeting Macs, PCs, and Linux operating systems.

This plugin uses the javascript written by [Rafael Lima](http://rafael.adm.br/css_browser_selector/).
No changes have been made to his code, and all the credit goes to him. Thanks, Rafael!

Changelog:
 Version 0.3 – Update for compatibility with WordPress 2.9

Version 0.2
 – Corrected readme file.

Version 0.1
 – Features of the first version of this plugin include the ability 
to turn the plugin on and off and to specify a separate stylesheet.

## 螢幕擷圖

 * [[
 * This screenshot shows the “settings” panel for the Browser Specific CSS plugin.

## 安裝方式

Installing Browser Specific CSS is very easy and do not require any template modification
in most cases. Just follow these steps:

 1. Upload the folder ‘browser_specific_css’ to the ‘/wp-content/plugins/’ directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Under “settings” you will see a “Browser Specific CSS” link that you can click 
    on to access the Browser Specific CSS Plugin settings. This screen will give you
    a list of browser specific css selectors that you can begin to use in your stylesheet(
    s)

## 常見問題集

  How does this plugin work?

Browser Specific CSS links to a javascript that enables you to target specific different
browser and operating systems using simple css selectors.

  What is a CSS Selector?”

A CSS Selector is a basic stylesheet concept. If you don’t understand CSS this plugin
probably isn’t for you.

  Does this plugin work if a visitor has javascript disabled?”

Since this plugin uses a javascript, it won’t target browsers that have javascript
disabled. Depending on who you ask, this might affect 5% of your visitors. In this
case, you can use the .no_js selector to target these users.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Browser Specific CSS〉的開發相關工作。

參與者

 *   [ Adrian Hanft ](https://profiles.wordpress.org/adrian3/)

[將〈Browser Specific CSS〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/browser-specific-css)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/browser-specific-css/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/browser-specific-css/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/browser-specific-css/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/browser-specific-css/)。

## 中繼資料

 *  版本 **0.3**
 *  最後更新 **12 年前**
 *  啟用安裝數 **100+**
 *  WordPress 版本需求 ** 2.0.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.9.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/browser-specific-css/)
 * 標籤
 * [browser](https://tw.wordpress.org/plugins/tags/browser/)[css](https://tw.wordpress.org/plugins/tags/css/)
   [ie6](https://tw.wordpress.org/plugins/tags/ie6/)[ie7](https://tw.wordpress.org/plugins/tags/ie7/)
   [target](https://tw.wordpress.org/plugins/tags/target/)
 *  [進階檢視](https://tw.wordpress.org/plugins/browser-specific-css/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  4 個 5 星使用者評論     ](https://wordpress.org/support/plugin/browser-specific-css/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/browser-specific-css/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/browser-specific-css/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/browser-specific-css/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/browser-specific-css/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/browser-specific-css/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/browser-specific-css/reviews/)

## 參與者

 *   [ Adrian Hanft ](https://profiles.wordpress.org/adrian3/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/browser-specific-css/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=designer%40adrianhanft%2ecom&lc=US&item_name=Wordpress%20Plugin%20Development&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)