Re: [O] [html-export question] location with JS.

2014-12-17 Thread Christian Moe
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? Which browser? It seems to work well with zooming in Firefox and Safari, so I'd say you're doing something right and the

Re: [O] [html-export question] location with JS.

2014-12-17 Thread Paul Rudin
Rasmus ras...@gmx.us 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–year1FooCorp -

Re: [O] [html-export question] location with JS.

2014-12-17 Thread Rasmus
Hi Christian, Christian Moe m...@christianmoe.com writes: 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? Which browser? It seems to work well with zooming in Firefox and

Re: [O] [html-export question] location with JS.

2014-12-17 Thread Rasmus
Paul Rudin p...@rudin.co.uk writes: Hoping for pixel perfect rendering for html is fraught with difficulty - it's not really designed for that sort of thing. I'm only asking for two things (divs/spans) to be (almost) on the same line (if you rerun the new example I sent to Christian you might

Re: [O] [html-export question] location with JS.

2014-12-17 Thread Christian Moe
It still works fine for me in Firefox with the added title and text, zooming in and out (except when the window becomes seriously too small, and the year jumps up on top of the other one, but that, I think, has to be expected). A different problem is that the script only picks out every other

Re: [O] [html-export question] location with JS.

2014-12-17 Thread Rasmus
Hi Christian, Thanks for the insightful comments. Javascript is an interesting domain; totally foreign to me, though. Christian Moe m...@christianmoe.com writes: (except when the window becomes seriously too small, and the year jumps up on top of the other one, but that, I think, has to be

[O] [html-export question] location with JS.

2014-12-16 Thread Rasmus
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–year1FooCorp - note1 year½ - note2 In the