[elinks-users] centering with <br/>, css overriding, bug?

Fabienne Ducroquet fabiduc at gmail.com
Sat Jan 11 07:35:25 PST 2014

Le mercredi 25 décembre 2013, fesegre a écrit :
> I'm trying to pretty-text-dump pages with nicely formatting css, 
> including centered text. My problem boils down to the following
> snippet:

> <html>
>   <head>
>     <style type="text/css">
>        p {text-align: justify; }
>        .center {text-align: center; }
>     </style>
>   </head>
>   <body>
>     <p class="center">1. This is centered</p>
>     <p style="text-align: center;">2. And this one<br/>is centered 
> too</p>
>     <p class="center">3. But also this one should,<br/>and comes 
> not.</p>
>   </body>
> </html>

> In FF, Chrome, 1,2,3 are displayed as centered; in elinks 3 is 
> left-aligned (it would be centered if I either omitted the css for  p
> or the internal <br/>). Bug or feature, and why? ELinks 0.12pre6, 
> package-installed in ubuntu 13.10.

3 is left-aligned with ELinks 0.12pre6 but centered with current 
0.13.GIT, so I guess it’s a bug that’s been fixed since but I didn’t 
research exactly where it came from.


More information about the elinks-users mailing list