2

The code sample below is visible in its entirety, yet a horizontal scroll bar appears.

012345678-012345678-012345678-012345678-012345678-012345678-012345678-012345678-01

Can that be prevented?

3
  • FWIW - I don't get the scrollbar in FF4 on Win7
    – squillman
    Jun 15, 2011 at 21:38
  • @squillman: I'm using FireFox 4.0.1 on Windows 7.
    – raven
    Jun 15, 2011 at 22:19
  • As am I shrug
    – squillman
    Jun 15, 2011 at 23:03

2 Answers 2

15

No.

The last pixel of the last 1 is not visible.
You need the scrollbar to see the full glory of this pixel.

4
  • be nice if it word wrapped. Jun 15, 2011 at 21:09
  • 9
    No, it wouldn't. Word-wrapped code is very annoying.
    – SLaks
    Jun 15, 2011 at 21:18
  • It would be especially annoying when diagnosing newline-related syntax errors in questions.
    – SLaks
    Jun 15, 2011 at 21:19
  • true, i didnt think of that Jun 15, 2011 at 21:20
1

I don't see a scrollbar at all in FireFox 4.01. If you're still seeing it, it must be a cross-browser issue.

EDIT:

Went home and checked it in Safari (OSX Snow Leopard), with the default font size. The scrollbar is there.

4
  • I'm using FireFox 4.0.1.
    – raven
    Jun 15, 2011 at 22:19
  • I see it in FireFox 3.6 Jun 15, 2011 at 22:46
  • 1
    Rendering depends on fonts and font-size prefs, here and anywhere else.
    – Tobu
    Jun 15, 2011 at 23:33
  • I can't manage to rewrite my comment into a satisfactory answer (or be bothered to spend a lot of time). SLaks's is okay if you don't mind.
    – Tobu
    Jun 16, 2011 at 0:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .