I'm trying to pretty-text-dump pages with nicely formatting css, including centered text. My problem boils down to the following snippet:

    <style type="text/css">
       p {text-align: justify; }
       .center {text-align: center; }
    <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>

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.

Thanks, Enrico

elinks-users mailing list

Reply via email to