13.07.2015 Views

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

Beginning CSS: Cascading Style Sheets for Web Design, 2nd ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Part II: PropertiesFigure 5-9bNow that you’ve seen some examples of the text-indent property, in Example 5-3, you experimentwith it <strong>for</strong> yourself.Try It OutApplying the text-indent PropertyExample 5-3. To experiment with the text-indent property, follow these steps.1. Enter the following markup into your editor. (Don’t want to type out the “lipsum” dummy text?Visit http://www.lipsum.com/.)text-indentIndenting Text With <strong>CSS</strong>Text can be indented by a positive length value, as is demonstratedby the following paragraph.Lorem ipsum dolor sit amet, consectetur adipisicing elit, seddo eiusmod tempor incididunt ut labore et dolore magna aliqua.Ut enim ad minim veniam, quis nostrud exercitation ullamcolaboris nisi ut aliquip ex ea commodo consequat. Duis auteirure dolor in reprehenderit in voluptate velit esse cillumdolore eu fugiat nulla pariatur. Excepteur sint occaecatcupidatat non proident, sunt in culpa qui officia deserunt mollitanim id est laborum.Text can be indented via a percentage value, as is demonstrated144

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

Saved successfully!

Ooh no, something went wrong!