22.04.2013 Views

HTML, XHTML & CSS

HTML, XHTML & CSS

HTML, XHTML & CSS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

94<br />

Part IV: Scripting and (X)<strong>HTML</strong><br />

just inside the edge of an element box, whereas an outline includes that<br />

edge. Table 12-2 lists the various border and outline properties along with a<br />

description of what they do.<br />

Table 12-2 Border and Outline Properties<br />

Property Description<br />

border Shorthand for all border properties<br />

border-bottom Sets all bottom border properties<br />

border-bottom-color Sets bottom border color<br />

border-bottom-style Sets bottom border style<br />

border-bottom-width Sets bottom border width<br />

border-color Sets color for all four borders<br />

border-left Sets all left border properties<br />

border-left-color Sets left border color<br />

border-left-style Sets left border style<br />

border-left-width Sets left border width<br />

border-right Sets all right border properties<br />

border-right-color Sets right border color<br />

border-right-style Sets right border style<br />

border-right-width Sets right border width<br />

border-style Sets style for all four borders<br />

border-top Sets all top border properties<br />

border-top-color Sets top border color<br />

border-top-style Sets top border style<br />

border-top-width Sets top border width<br />

border-width Sets width for all four borders<br />

outline Sets all outline properties<br />

outline-color Sets outline color<br />

outline-style Sets outline style<br />

outline-width Sets outline width

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!