emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vinh Nguyen <vinhdizzo@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: centering text in html
Date: Mon, 11 Oct 2010 08:21:56 -0700	[thread overview]
Message-ID: <AANLkTik48TgkUuCKnDb3srrj0uWss72oMFZ+fCjiPDBV@mail.gmail.com> (raw)
In-Reply-To: <FB9EC672-ECDA-405F-AC97-81627B457B96@gmail.com>

On Mon, Oct 11, 2010 at 12:41 AM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
> You give us *very* little to chew on.

Sorry about this.  I meant to elicit on what folks do when they want
to center text I general.  I should've known better to put down what
I've tried.  I just got it working but will also put down what I tried
to let others know what did not work.

> How about:
>
> - what have you tried?

#+HTML: <p style="text-align: center;">
{ [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] }
#+HTML: </p>

and

#+HTML: <DIV CLASS="centeralign">
{ [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] }
#+HTML: </div>


> - an example HTML code that would do the right thing
>

THIS WORKED:
#+HTML: <div align=center>
{ [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] }
#+HTML: </div>


> etc etc etc.  If you want people to help you solve a problem,
> please do your part by giving them *as much as possible* information.
>
> - Carsten

-- Vinh

  reply	other threads:[~2010-10-11 15:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-10 17:27 centering text in html Vinh Nguyen
2010-10-11  7:41 ` Carsten Dominik
2010-10-11 15:21   ` Vinh Nguyen [this message]
2010-10-11 17:02     ` Christian Moe
2010-10-12  7:41       ` Christian Moe
2010-10-12 15:35         ` Vinh Nguyen
2010-10-12 16:51           ` Christian Moe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTik48TgkUuCKnDb3srrj0uWss72oMFZ+fCjiPDBV@mail.gmail.com \
    --to=vinhdizzo@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).