emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Preventing line breaks in (HTML) published description lis


From: Paul Michael Reilly
Subject: [Orgmode] Re: Preventing line breaks in (HTML) published description lists
Date: Sun, 05 Jul 2009 14:18:42 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2

On 07/05/2009 09:33 AM, Bernt Hansen wrote:
Paul Michael Reilly <address@hidden> writes:

  
I added a plain list to my file:

...
  - term1 :: this means something
  - term2 :: this means something else
  - term3 :: and something different still
...

fully expecting the term and the description rendered in HTML to be on
the same line as is shown in the Latex published Org Mode manual.  But
the items were rendered as:

...
  term1
      this means something
  term2
      this means something else
  term3
      and something different still
...

I suspect this might be an HTML artifact, nevertheless, how would I
convince org-mode to arrange for the HTML rendering to attempt to keep
the terms and descriptions on the same line?  An example or reference
would be much appreciated.

Thanks,
    

Adding this seems to work:

#+STYLE: <style type="text/css">dt {clear: left; float: left; width: 4em; } </style>

-Bernt
  
Well it's a start but does have some side effects.  For example with each new entry it becomes more and more apparent that the term and the description are off center, i.e. the skew becomes more pronounced.  But your solution is much better than mine :-) and gives me a place to explore and become smarter, always a good thing!

Thanks again,

-pmr


reply via email to

[Prev in Thread] Current Thread [Next in Thread]