emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Dan Davison <davison@stats.ox.ac.uk>
Cc: emacs org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: source code block HTML appearance under linux firefox
Date: Wed, 13 May 2009 13:56:28 -0400	[thread overview]
Message-ID: <8954.1242237388@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from Dan Davison <davison@stats.ox.ac.uk> of "Wed, 13 May 2009 13:19:30 EDT." <87zldgc44d.fsf@stats.ox.ac.uk>

Dan Davison <davison@stats.ox.ac.uk> wrote:

> When source code blocks are rendered in HTML, in firefox under linux I
> see a thick lower border to the box enclosing the code, however I don't
> see this in firefox under windows and OS X, nor IE under Windows.  As an
> example (for linux users at least) look at the bounding box to the first
> code example on
> 
> http://orgmode.org/worg/org-contrib/org-protocol.php
> 
> It may seem minor on the worg page, but I've modified worg.css for my
> own use (I'm not sure who specifically to thank, but thanks!) and it can
> be very noticeable/ugly e.g.
> 
> http://www.stats.ox.ac.uk/~davison/software/dbm/download.php
> 
> If you zoom in, eventually that becomes a horizontal scrollbar, so
> perhaps what I'm seeing is a sort of vestigial scrollbar? Please excuse
> the slightly OT question, but I was hoping one of the resident css
> experts would know how to fix this? Or is it a bug in firefox?
> 

Well, if you zoom in too far, the text does not fit in the box any more,
so you get the horizontal scrollbar - that happened to me with the
second box on your page when I zoomed in as far as it would let me (with
Ctl +). If the text fits in the box (e.g. if I step back one zoom step
with Ctl -), there is no scrollbar: there is a perfectly well-defined
pink border - no ugliness that I can see.

I also can't see any ugliness on the worg page you mention: I get
horizontal scrollbars if I zoom in too far, but they disappear
completely if I step back (e.g. the org-store-link.js example contains a
very long line, so it does not take much zooming to make it too big to
fit.)

This is ff 3.0.10 on Ubuntu 8.04.

Nick

  reply	other threads:[~2009-05-13 17:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-13 17:19 source code block HTML appearance under linux firefox Dan Davison
2009-05-13 17:56 ` Nick Dokos [this message]
2009-05-13 18:00 ` Ian Barton
2009-05-13 19:07   ` Dan Davison
2009-05-14 18:54 ` Sebastian Rose

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=8954.1242237388@alphaville.usa.hp.com \
    --to=nicholas.dokos@hp.com \
    --cc=davison@stats.ox.ac.uk \
    --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).