On 10/14/11 14:52, Stephan Beal wrote:
[---]
a) it uses a non-fixed-width font and collapses whitespaces by default,
which makes the output more difficult to read (IMO). (PS: i used the sample
CSS from the original post as-is - i think that the whitespace mode can be
resolved easily in the CSS but the markup doesn't come to mind at the
moment).
Hmm..
I would have thought that:
-----------
table.sbsdiff {
font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace;
[---]
}
-----------
...would make it fixed width on most systems out there, and that the
"white-space: pre" in:
-----------
table.sbsdiff tr td {
white-space: pre;
[---]
}
-----------
...would stop it from collapsing whitespaces? It does so on my
browser. I'm using Firefox 7. What browser are you using?
Let me emphasize again that this is one of the reasons I need help
with CSS. I know enough CSS to realize I know nothing about it.
font-size: 7pt;
7pt by default? i don't think that will be readable on small screens (my
netbook, where i do much of my development). i understand the need for a
smaller size to get side-by-side working, but 7pt seems a bit extreme to me.
Yeah, I know. But please note that the style sheet is no way set in
stone. In fact, one of the reasons I want people to try it out is to
help with them.
width: 100%;
In my experience a width of 100% often causes elements to overlap the border
just a bit, causing a horizontal scroll bar to appear just for the sake of a
few pixels. i would recommend setting that to "just under" 100%, e.g. 97 or
98.
Noted; I'll change it to 98.
Thanks for testing and the feedback.
--
Kind regards,
Jan Danielsson
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users