[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] <div> not indenting
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] <div> not indenting |
Date: |
Wed, 25 Jan 2017 20:49:12 -0500 (EST) |
----- Original Message -----
| From: address@hidden
| To: address@hidden
| Sent: Tuesday, January 24, 2017 10:03:37 AM
| Subject: [Lynx-dev] <div> not indenting
|
| I re-write DefaultStyle.c to customize. I indent for
| paragraphs and divisions. The 'Annals of Internal Medicine' changed
| how it makes its articles html recently and often (but not always),
| lynx doesn't indent for <div>. This article demonstrates (and is
| interesting):
|
|
http://annals.org/aim/article/2598025/historical-perspective-rise-fall-rise-antibiotics-human-weight-gain
|
| The first 3 divisions indent; the next 3 don't ('The most
| extensive investigations...' 'Despite such pronouncements...' 'By
| 1974...') They are all tagged identically:
|
| <a id="149994141"></a>
| <div class="content-section clearfix ">
| <div class="typed para">
|
| Why are they rendered differently?
Essentially because lynx isn't using css, and treats div as just a container.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net