10.07.2017 Views

246996016-HTML5-Step-by-Step

Create successful ePaper yourself

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

Indenting Paragraphs 129<br />

It is indented like other paragraphs, but you don’t want it to be. This is an excellent<br />

example of an unintended consequence stemming from making a global change to<br />

a tag’s style rules. There are several ways of removing the unwanted indentation:<br />

you could create a new class for the single line you don’t want indented; you could<br />

create a span; or you could override that line’s settings in its tag. Because this<br />

situation occurs only once in the document, use the third option—change the <br />

tag directly.<br />

6. In the tag for the copyright notice, add the following:<br />

Copyright &copy; 2012 The Garden<br />

Company&trade;<br />

7. Save the file, and then refresh the Internet Explorer display.<br />

The copyright notice now has no indentation or padding.<br />

CLEAN UP Close the Notepad and Internet Explorer windows.

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

Saved successfully!

Ooh no, something went wrong!