22 Capitolo 2 Tabella 2.2 Indice delle background ['background-color' 'background-image' 'background-repeat' 'background-attachment' 'background-position'] TUTTI background-attachment scroll fixed scroll TUTTI background-color <colore> transparent transparent Per l elemento HTML dipende dal TUTTI background-image <uri> none none TUTTI background-position [ [ <percentuale> <lunghezza> ]{1,2} [ [top center bottom] [left center right] ] ] 0% 0% LB e R background-repeat repeat repeat-x repeat-y no-repeat repeat TUTTI border [ 'border-width' 'border-style' <colore> ] TUTTI border-collapse collapse separate collapse TABLE border-color <colore>{1,4} transparent TUTTI border-spacing <lunghezza> <lunghezza>? 0 TABLE sì NN, O, M, K, border-style [ none hidden dotted dashed solid double TUTTI groove ridge inset outset ]{1,4} border-top border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color border-top-style border-right-style border-bottom-style border-left-style [ 'border-top-width' 'border-style' <colore> ] <colore> valore della color TUTTI TUTTI 'border-style' none no IE, NN, O, K,
C: sintassi, e valori 23 border-top-width border-right-width border-bottom-width border-left-width 'border-width' medium border-width 'border-width'{1,4} bottom <lunghezza> <percentuale> auto auto elementi clear none left right both none LB color <colore> impostazioni TUTTI cursor [ [<uri>,]* [ auto crosshair default pointer auto TUTTI sì IE,NN, M, move e-resize ne-resize nw-resize n-resize se-resize sw-resize s-resize w-resize text O7, wait help ] ] display inline block list-item run-in compact marker table inline-table table-row-group table-header-group table-footer-group table-row table-column-group table-column table-cell table-caption none dipende dal tipo di elemento TUTTI no ~IE, ~NN, ~M, ~O, ~K, ~ empty-cells show hide show TABLE sì IE, NN, M, O float left right none none tutti tranne no ~IE/W, IE/M, elementi font [ [ 'font-style' 'font-variant' 'font-weight' ]? 'font-size' [ / 'line-height' ]? 'font-family' ] caption icon menu message-box small-caption status-bar font-family [[ <famiglia-caratteri> <famiglia-generica> ],]* <famiglia-caratteri> <famiglia-generica>] font-size <misura-assoluta> <misura-relativa> <lunghezza> <percentuale> vedi individuali impostazioni TUTTI TUTTI medium TUTTI font-style normal italic oblique normal TUTTI (egue)
24 Capitolo 2 Tabella 2.2 (continua) font-variant normal small-caps normal TUTTI sì ~IE5+/W, IE6/W, IE5/M, NN, M, O, font-weight normal bold bolder lighter 100 200 300 normal TUTTI 400 500 600 700 800 900 height <lunghezza> <percentuale> auto auto tutti tranne IL e colonne left <lunghezza> <percentuale> auto auto elementi letter-spacing normal <lunghezza> normal TUTTI line-height normal <numero> <lunghezza> <percentuale> normal TUTTI list-style [ 'list-style-type' 'list-style-position' 'list-style-image' ] elementi con list-style-image <uri> none none elementi con list-style-position inside outside outside elementi con list-style-type disc circle square decimal decimal-leading-zero lower-roman upper-roman lower-greek lower-alpha lower-latin upper-alpha upper-latin hebrew armenian georgian cjk-ideographic hiragana katakana hiragana-iroha katakana-iroha none margin [ <lunghezza> <percentuale> auto ]{1,4} disc elementi con TUTTI
C: sintassi, e valori 25 margin-top margin-right margin-bottom margin-left [ <lunghezza> <percentuale> auto ] dipende dal tipo di elemento associato alla e dal max-height <lunghezza> <percentuale> none none tutti tranne max-width <lunghezza> <percentuale> none none tutti tranne TUTTI min-height <lunghezza> <percentuale> 0 tutti tranne min-width <lunghezza> <percentuale> dipende dal tutti tranne overflow visible hidden scroll auto visible LB e R no ~IE/W, IE/M, padding [ <lunghezza> <percentuale> ]{1,4} TUTTI padding-top padding-right padding-bottom padding-left [ <lunghezza> <percentuale> ] dipende dal tipo di elemento associato alla e dal TUTTI position static relative absolute fixed static TUTTI no ~IE/W, IE/M, right <lunghezza> <percentuale> auto auto elementi (egue)
26 Capitolo 2 Tabella 2.2 (continua) text-align left right center justify dipende dal e dalla direzione di scrittura text-decoration none [ underline overline line-through blink ] LB none TUTTI text-indent <lunghezza> <percentuale> 0 LB text-transform capitalize uppercase lowercase none none TUTTI top <lunghezza> <percentuale> auto auto elementi vertical-align baseline sub super top text-top middle bottom text-bottom <percentuale> <lunghezza> baseline IL e celle di una tabella visibility visible hidden collapse TUTTI white-space normal pre nowrap normal LB width <lunghezza> <percentuale> auto auto tutti tranne IL e righe tabella word-spacing normal <lunghezza> normal TUTTI z-index auto <intero> auto elementi