[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [html-export question] location with JS.
From: |
Paul Rudin |
Subject: |
Re: [O] [html-export question] location with JS. |
Date: |
Wed, 17 Dec 2014 10:29:50 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Rasmus <address@hidden> writes:
> Hi,
>
> For my CV I'm trying to place a box (div, whatever) at the left edge of
> the content-div. My org-file looks like
>
> - year0–year1 :: FooCorp
> - note1
> - note2 {{{BOL(year½)}}}
>
> And I want the ouput to look like:
>
> year0–year1 FooCorp
> - note1
> year½ - note2
>
> In the attached example I have the desired output for LaTeX, and the
> output for html is also fine *as long as you don't zoom*. The issue is
> that the javascript that I use absolute position in pixels, and the
> browser doesn't update the location when zooming...
>
> Any ideas on how to solve this?
Hoping for pixel perfect rendering for html is fraught with difficulty -
it's not really designed for that sort of thing. If that's what you want
then you may be better off producing a pdf.