12.09.2015 Views

Boot Camp

Web Authoring Boot Camp - StudioBast

Web Authoring Boot Camp - StudioBast

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<br />

<br />

Styling Code, Part 2<br />

Local Page Styles<br />

Other CSS rules that apply to only the single page may also be added in the page’s style<br />

element, but all @import statements must occur at the start of the style sheet. Any rules<br />

specified in the page’s embedded cascading styles override conflicting rules in the imported<br />

CSS files. For example, even if one of the imported style sheets contained body {background:<br />

aqua}, and you told your specific page style to make the body background black,<br />

the page would have a black background.<br />

<br />

<br />

body {color:#000;”}<br />

<br />

201

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

Saved successfully!

Ooh no, something went wrong!