在CSS2.1的說明裡面看到
Style sheets may have three different origins:
author, user, and user agent
優先順序是 author > user > user agent
想請問一下...現在的瀏覽器有辦法指定user的CSS嗎?
難道"檢視 -> 放大, 縮小文字"就是嗎?
後面還提到!important這個標記
說明裡面講到優先順序是(由高而低)
1. user important style sheets
2. author important style sheets
3. author normal style sheets
4. user normal style sheets
5. user agent style sheets
耶?...author important跟author normal分列2, 3位
那author為什麼要加important呢?有加沒加不是一樣嗎?
哈哈...真是奇怪, 但是在許多範例裡面都會看到
使用!important這個標記, 想請問一下這麼做有什麼目的?
http://www.w3.org/TR/CSS21/cascade.html#cascade