前回のエントリー「とっても使えるoverflowプロパティ。その使い方色々。」の補足で、Dreamweaver使ってコーディングする場合、デザインビューを使ってるとその部分が選択できない問題が有ったと思います。(確認しているのはVer8)
一時的に、宣言を取れば普通に選択できます。
さて、ちょっと必要になったんで、各プロパティを初期値にするCSSを書いておきました。
使いどころとしては、ごちゃごちゃ複雑になってきたCSSが何か当たってて変だったりする時や、取り合えず初期値に戻してみたい時ですね。
他に、ブログサービスとか使ってると、良く分かんない場合が有るのでそんな時にも活用できるかもしれません。
ダウンロードしたい方は以下よりお願いします。
DLするのとほぼ同じのを貼り付けておきます。
selectorsName {
background-attachment: scroll;
background-color: transparent;
background-image: none;
background-position: 0% 0%;
background-repeat: repeat;
border-collapse: separate;
border-spacing: 0;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
bottom: auto;
caption-side: top;
clear: none;
clip: auto;
color: #000;
content: normal;
counter-increment: none;
counter-reset: none;
cursor: auto;
direction: ltr;
display: inline;
empty-cells: show;
float: none;
font-size: medium;
font-style: normal;
font-variant: normal;
font-weight: normal;
height: auto;
left: auto;
letter-spacing: normal;
line-height: normal;
list-style-image: none;
list-style-position: outside;
list-style-type: disc;
margin: 0;
max-height: none;
max-width: none;
min-height: 0;
min-width: 0;
orphans: 2;
outline-color: invert;
outline-style: none;
outline-width: medium;
overflow: visible;
padding: 0;
page-break-after: auto;
page-break-before: auto;
page-break-inside: auto;
position: static;
right: auto;
table-layout: auto;
text-align: left;
text-decoration: none;
text-indent: 0;
text-transform: none;
top: auto;
unicode-bidi: normal;
vertical-align: baseline;
visibility: visible;
white-space: normal;
widows: 2;
width: auto;
word-spacing: normal;
z-index: auto;
}
!impotant宣言を付けたバージョンも有ります。
selectorsName {
background-attachment: scroll !important;
background-color: transparent !important;
background-image: none !important;
background-position: 0% 0% !important;
background-repeat: repeat !important;
border-collapse: separate !important;
border-spacing: 0 !important;
border-top-style: none !important;
border-right-style: none !important;
border-bottom-style: none !important;
border-left-style: none !important;
bottom: auto !important;
caption-side: top !important;
clear: none !important;
clip: auto !important;
color: #000 !important;
content: normal !important;
counter-increment: none !important;
counter-reset: none !important;
cursor: auto !important;
direction: ltr !important;
display: inline !important;
empty-cells: show !important;
float: none !important;
font-size: medium !important;
font-style: normal !important;
font-variant: normal !important;
font-weight: normal !important;
height: auto !important;
left: auto !important;
letter-spacing: normal !important;
line-height: normal !important;
list-style-image: none !important;
list-style-position: outside !important;
list-style-type: disc !important;
margin: 0 !important;
max-height: none !important;
max-width: none !important;
min-height: 0 !important;
min-width: 0 !important;
orphans: 2 !important;
outline-color: invert !important;
outline-style: none !important;
outline-width: medium !important;
overflow: visible !important;
padding: 0 !important;
page-break-after: auto !important;
page-break-before: auto !important;
page-break-inside: auto !important;
position: static !important;
right: auto !important;
table-layout: auto !important;
text-align: left !important;
text-decoration: none !important;
text-indent: 0 !important;
text-transform: none !important;
top: auto !important;
unicode-bidi: normal !important;
vertical-align: baseline !important;
visibility: visible !important;
white-space: normal !important;
widows: 2 !important;
width: auto !important;
word-spacing: normal !important;
z-index: auto !important;
}
仕様書のProperty index部分の必要なところを持ってきてるだけなので、お好きに使って下さい。
