[prev in list] [next in list] [prev in thread] [next in thread]
List: elinks-users
Subject: [elinks-users] centering with <br/>, css overriding, bug?
From: fesegre <enrico.segre () weizmann ! ac ! il>
Date: 2013-12-25 21:49:28
Message-ID: 52BB52E8.4060401 () weizmann ! ac ! il
[Download RAW message or body]
[Attachment #2 (text/html)]
<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="UTF-8" bgcolor="#FFFFFF"
text="#000000">
I'm trying to pretty-text-dump pages with nicely formatting css,
including centered text. My problem boils down to the following
snippet:<br>
<br>
<pre><html></pre>
<pre> <head></pre>
<pre> <style type="text/css"></pre>
<pre> p {text-align: justify; }</pre>
<pre> .center {text-align: center; }</pre>
<pre> </style></pre>
<pre> </head></pre>
<pre> <body></pre>
<pre> <p class="center">1. This is centered</p></pre>
<pre> <p style="text-align: center;">2. And this one<br/>is \
centered too</p></pre> <pre> <p class="center">3. But also this one \
should,<br/>and comes not.</p></pre> <pre> </body></pre>
<pre></html></pre>
<p><br>
</p>
<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.</p>
<p><br>
</p>
<p>Thanks, Enrico<br>
</p>
</body>
</html>
_______________________________________________
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic