in reply to Re^2: SENDMAIL problem!
in thread SENDMAIL problem!

It might indeed send mail, but this way the user will clearly know that the mail has been sent, or not!

I'm not trying to bust the OP's chops, English is obviously not his primary language, I'm just trying to help him make his code a bit better.

The Grammer Nazi

P.S. I am HTML challenged, what is the tag for a tab character?

Replies are listed 'Best First'.
Re^4: SENDMAIL problem!
by Anonymous Monk on Apr 06, 2005 at 16:07 UTC

    \t (from Perl) gives a tab character, but that is of no use, as in HTML rendering all whitespace gets collapsed to a normal space.

    If you want to display tabular data, you use a definition list or table and style it appropriately.

Re^4: SENDMAIL problem!
by jhourcle (Prior) on Apr 07, 2005 at 01:38 UTC

    It's easy:

    <html><head><title></title><style><!-- .indent { padding: 0 0 0 3em; } --></style></head><body><div class="indent">I am indented</div></body +></html>

    In all seriousness -- this leaves space on the left side of a block of text. Please don't use a definition list (<dl><dt></dt><dd></dd></dl>) unless it actually is a list. If you're trying to do tabular data, then use a table. If you're trying to do preformatted text, then use <pre></pre>. If you're quoting something, use <blockquote></blockquote> Please don't use a tag that denotes structure for a purely stylistic purpose -- it may 'look' right to you, but it can confuse people who are using screen readers and other assistive technology.

    Please see the WAI recommendations for more details.

    Depending on exactly what you're trying to pull off, there are lots of other (wrong) ways to get 'a tab', as well, but it's probably better if you don't ever use them. Bad things would include transparent images, 1x1 images with padding and non breaking spaces

      Thanks for the tips! I was asking in the context of formatting my nodes here at PM. I like to indent things for clarity.

      I especially like your point on screen readers, I have several visually impaired friends who depend on their screen readers.