* Some CSS properties give us a finer control over how our text is rendered in the browser.
* The text indent property allows us to place an indent in the first line of a block of text.
* The text can be indented from both the left and the right.
* For example p {text-indent:1.5em;} would give us an indent of 1.5em.
* We can also use pixels and points as values, as well as % which would relate to a percentage of the width of the block of text.
* This can be very handy should we want to hide things like structural headings from the average visitor that we still want to be read by screen reading applications.
* We do this by giving the desired content an indent of say -9000px.
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment