Re: Make pixel shim invisible?

Subject: Re: Make pixel shim invisible?
From: "Anameier, Christine A - Eagan, MN" <christine -dot- a -dot- anameier -at- usps -dot- gov>
To: <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Wed, 11 Feb 2004 09:29:02 -0600

Lyndsey Amott wrote:
> I tried the &nbsp, which worked, except that I needed a hanging
indent,
> and things looked funny when the text wrapped.
>
> I can't use CSS (too complicated to explain why), so I tried Geoff's
> table idea, even though I was already working in a table.

I'm joining this thread a little late, so please excuse the late
advice... but never never use &nbsp; for indents. If you do, anybody
with a different default font or font size in their browser is likely to
see a messed-up layout. One exception, I suppose, would be super-simple
layouts where there are no columns, tables, etc.--just those indented
lines. But even in that case you might as well use CSS. Even inline
styles, like <p style="margin-left: 10%"> (or 2em or 30px, or whatever
unit of measurement you want to work with--I know somewhere out there is
a CSS purist who has a stronger opinion on that than I do).

Any modern browser should be able to render basic CSS properly.

Hanging indent: try something like
<p style="margin-left: 30px; text-indent: -30px">

You could use tables for indents, but keep in mind that screen reader
software for visually-impaired users doesn't always do well with layout
tables.

(Hope the angle brackets don't get converted or stripped out in this
post...)

HTH,
Christine




Previous by Author: RE: Saying "RTFM" out loud (was Everyday [was: Style question: "war dial" ...
Next by Author: Re: Resumes with a sense of humour
Previous by Thread: EM or EN usage <NIGHTMARE> !
Next by Thread: Re: Make pixel shim invisible?


What this post helpful? Share it with friends and colleagues:


Sponsored Ads