W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2009

Error rendering css text-indent

From: Dominique Meeùs <dominique@d-meeus.be>
Date: Mon, 31 Aug 2009 09:24:39 +0000
Message-ID: <4A9A54B9.2040902@d-meeus.be>
To: www-amaya <www-amaya@w3.org>
I commonly use a class="alinea" with first-line indentation as 
{text-indent: 30px;}

Amaya indents the first line but does not shorten it accordingly. 
Instead, it translates the first line to the right (somewhat as a SVG 
transform translate). As a result, the line is longer than the body (I 
mean: you get an horizontal scroll bar, which is absurd in a page where 
nothing has a fixed width).

I have given my blockquote left and right borders through css. If I use 
class alinea inside a blockquote, the first line goes through the right 
border of the containing block blockquote.

You may see this on http://www.d-meeus.be/marxisme/classiques/lME.html. 
Firefox displays it correctly.
Received on Monday, 31 August 2009 09:38:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 31 August 2009 09:38:23 GMT