作者: barryyeung 時間: 2018-3-28 16:31 標題: 邊度可以搵到CSS1 REFERENCE ?
本帖最後由 barryyeung 於 2018-3-28 16:51 編輯
各位好, 我想用CSS disable sharepoint toolbar 第2,第3個ITEM,但係公司應該用緊CSS1 ( 由於係sharepoint, 我唔可以(唔識)自己改element ID)
<STYLE>
td.ms-toolbar:not(:first-child) {
display:none !important;
}
</STYLE>
我想問下CSS1有冇呢個function ? "first-child", "Not" CSS1 都唔support
自己裝portable Firefox 就得
[attach]2049289[/attach]
IE 唔support
[attach]2049290[/attach]
作者: Ferrari2010 時間: 2018-3-29 22:56
本帖最後由 Ferrari2010 於 2018-3-29 23:01 編輯
deleted
作者: Jackass_TMxCK 時間: 2018-3-30 01:53
IE幾?乜公司黎仲用咁舊ge IE執__左佢啦__
作者: 燒浩 時間: 2018-3-30 17:42
:not 要css3; :first-child 加 display,IE8應該用倒。你可以試吓 select個 class display: none ,再first-child display: inline 睇吓可唔可以解決倒。
作者: justiceice 時間: 2018-4-7 11:43
https://www.quirksmode.org/css/selectors/
人哋用緊乜版本 IE? IE7 或以上可以試吓
- td.ms-toolbar + td.ms-toolbar { display: none !important }
作者: barryyeung 時間: 2018-6-13 13:58
Thanks problem solved, thank you everyone !!!
