CSS Cookbook, 2nd Edition

background-color

Figure D-141. Testing the background color of the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad141.gif

background-image

Figure D-142. Testing background images in the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad142.gif

border: 0;

Figure D-143. Testing the removal of borders on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad143.gif

border-color

Figure D-144. Testing of colors on the textarea element borders can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad144.gif

border-style

Figure D-145. Testing the styles of borders on the textarea elementborde can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad145.gif

border-width

Figure D-146. Testing the widths of borders on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad146.gif

color

Figure D-147. Testing the color on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad147.gif

font-family

Figure D-148. Testing to set a different font on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad148.gif

font-size

Figure D-149. Testing a different size of font on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad149.gif

font-weight

Figure D-150. Testing a bold font on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad150.gif

height

Figure D-151. Testing to set a height for the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad151.gif

letter-spacing

Figure D-152. Testing the letter spacing of the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad152.gif

line-height

Figure D-153. Testing setting the spacing between lines of text on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad153.gif

margin

Figure D-154. Testing margins on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad154.gif

padding

Figure D-155. Testing padding on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad155.gif

text-alignt

Figure D-156. Testing the alignment of text on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad156.gif

text-decoration

Figure D-157. Testing to set a different font on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad157.gif

text-indent

Figure D-158. Testing indenting the text on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad158.gif

width

Figure D-159. Testing the width of the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad159.gif

word-spacing

Figure D-160. Testing the spacing between words on the textarea element can be found at http://www.oreilly.com/catalog/cssckbk2/appendixd/figs/css2_ad160.gif

Table D-9. A review of the CSS properties on textarea

 WinIE5WinIE5.5WinIE6WinIE7Safari2WinFF1.5MacFF1.5WinNN7.2MacNN7.2Op8.5

background-color

YYYYYYYYYY

background-image

YYYYNYYYYY

border

YYYYNYYYYY

border-color

YYYYNYYYYY

border-style

YYYYNYYYYY

border-width

YYYYNYYYYN

color

YYYYYYYYYY

font-family

YYYYYYYYYY

font-size

YYYYYYYYYY

font-weight

YYYNYYYYYY

height

YYYYYYYYYY

letter-spacing

YYYYNSSYYY

line-height

YYYYNYYNNN

margin

YYYYYYYYYY

padding

YYYSNSSSSS

text-align

YYYYYYYYYY

text-decoration

YYYYNYYYYN

text-indent

SSSSNYYYYN

width

YYYYYYYYYY

word-spacing

NNYYNYYYYN

Категории