CSS TEXT-INDENT - CSS3 Examples

CSS TEXT-INDENT

Written by jon on 8:18 AM
This property specifies the horizontal indent from the left side of the current parent Block Element for the first line in the current Block. The indent is only applied at the beginning of the block and not after any intervening line-breaking elements (like BR.)
Note: Negative values are allowed. The first line will be indented tothe left if the value is negative.

Example
p {text-indent: 18px}

p {text-indent: -11px}

Possible Values
Value Description
inherit Explicitly sets the value of this property to that of the parent
length Defines a fixed indentation
% Defines an indentation in % of the width of the parent element

Related Posts by Categories



Widget by John | Interviewghost
  1. 0 comments: Responses to “ CSS TEXT-INDENT ”

RECENT COMMENTS

SUBSCRIBE TO CSS3 EXAMPLES

 Subscribe to css3 Examples via RSS
Or, subscribe via email:
Find CSS3 Examples Entries :