D
David Mark
I definitely don't think you want to play around with the window's scrollbars.
It *seems* to work fine now. Sure, I have to use some kind of hack to
make links to anchors work, and I wouldn't be surprised if there are
still some problematic corner cases on some browsers, but this really
seems preferable to the alternatives.
[html snippet]
That works very well for Firefox, but my obscure-css knowledge turned
out to be insufficient to make it behave properly on IE.
Add doctypes to your pages! Quirks mode is the problem. And the CSS
expression to simulate max-width in IE6 is simple. Google for it or
ask in a CSS group.
Besides,
fixing the width of these things will give long lines a scroll-bar
even when the client has a window that is wide enough to show them. I
Fixing the widths of what things? The code DIV's? The opposite is
true in that case. With my layout, wide code examples will scroll.
With your current layout, they hang off the right edge of the content
and cause horizontal scrollbars. Not to mention that they overflow
their borders.
tweaked things a bit more (slightly smaller font, narrower margins,
Leave the font size alone. Set it to 100% and design your layout from
there. And when testing, try different variations using View | Text
Size.
cut down a few more long lines), and now everything displays propertly
on 800x600. People using smaller windows than that are probably used
You are clearly only testing with one font size.
to horizontal scrolling
It isn't just the scrolling, but the wasted space. Try enlarging your
browser's font size and scroll to the right to see what I mean.
I know. The console is entirely layed out by scripts and absolute
positions (texareas and iframes don't resize very well on their own),
and it was a major headache.
At least with the console is script-only to begin with.