comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: need hint for adabrowse usage
Date: Wed, 19 Dec 2007 17:08:01 -0600
Date: 2007-12-19T17:08:01-06:00	[thread overview]
Message-ID: <fkc8km$a2c$2@jacob-sparre.dk> (raw)
In-Reply-To: 1198019081.6939.1.camel@K72

"Georg Bauhaus" <rm.tsoh+bauhaus@maps.futureapps.de> wrote in message
news:1198019081.6939.1.camel@K72...
>
> On Tue, 2007-12-18 at 16:48 -0600, Randy Brukardt wrote:
> > <JPWoodruff@gmail.com> wrote in message
> > news:c598ef51-35ec-4da1-8b8e-2d3d35704577@e6g2000prf.googlegroups.com...
> > ...
> > > --  I don't know how to collect Ada comments that have empty spaces
> > > --  between them in the way I've formatted these paragraphs.
>
> > If you're using spaces to get the effect of tabs, it simply isn't
possible
> > in HTML. There are no tabs; the only way to get columnar layout is to
format
> > as a table or to format everything in fixed fonts -- the former is very
> > difficult to do with unstructured source, and the latter is horribly
ugly.
>
> I beg to differ,
>
> http://home.arcor.de/bauhaus/Tools/ASnip/sample-rm.html
> and
> http://home.arcor.de/bauhaus/Tools/ASnip/sample-antiq.html
>
> :)

That's the ugly fixed font solution that I was talking about. It's probably
the best that can be done avoiding tables, but for a lot of purposes
(program code is one of the exceptions) it isn't very good. For instance,
using it means that the width of the text is fixed, which means that the
ability of the HTML to adjust to different screen sizes is lost.

If you want text to look like:
    <term>  <lengthy definition>
    <term>  <another lengthy definition>
That is very hard to do in a portable manner. I've fought browser issues and
tooling issues a lot in getting that sort of thing to look good -- but it is
best to avoid it.

                           Randy.





      parent reply	other threads:[~2007-12-19 23:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-18 22:27 need hint for adabrowse usage JPWoodruff
2007-12-18 22:48 ` Randy Brukardt
2007-12-18 23:17   ` JPWoodruff
2007-12-18 23:04 ` Georg Bauhaus
2007-12-19 23:08   ` Randy Brukardt
2007-12-19 23:08   ` Randy Brukardt [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox