remove of indent (white space) of the first line of a paragraph

jorisx - July 3, 2009 - 16:06
Project:Zen
Version:5.x-1.2
Component:layout.css
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

I would like to remove the indent on every first line in the paragraphs.
I've tried p {text-indent:0} but that won't work.

#1

jorisx - July 3, 2009 - 16:09

oops
had to use:

p {
clear: both;
text-indent:0
}

solved :-)

#2

jorisx - July 3, 2009 - 16:28

Hmm no that really didn't solve it because now it clears everything after the paragraph :-/
so it's still a problem to remove this white space on the left side of the first line in a paragraph,

any help would be appreciated :-)

#3

pkiff - July 15, 2009 - 15:26

I'm not familiar with Zen for 5.x, and maybe you've already resolved this issue.

If not, then I would remove the "clear: both;", since it is unrelated to text-indenting, and is instead related to floats. It is certainly possible that other floated divs/blocks may be causing your text to indent, but if this is the case, then it is not a text-indent problem but a float problem.

Also, the code you provided is missing a closing semi-colon. Is it possible you just forgot to include the closing semi-colon? i.e.:

p {
text-indent:0;
}

 
 

Drupal is a registered trademark of Dries Buytaert.