|
Posted by Blinky the Shark on 09/28/07 10:03
Ben C wrote:
> On 2007-09-23, Blinky the Shark <no.spam@box.invalid> wrote:
>> Test page: http://improve-usenet.html/filters_ex3test.html
>>
>> Please take a look in FF and Opera, where the padding beneath the code
>> lines in the boxes looks as I wish it to; then look in Konqueror, which
>> here seems to be ignoring it:
>>
>> http://blinkynet.net/stuff/comp/filters_ex3test_konq.jpg
>>
>> (It's okay in IE, too.)
>>
>> I'd *like* some breathing room between the last line and the bottom of
>> the box (FF, Opera), but if the only way I can get both the top and
>> bottom of the text to be the same relative to the box top and bottom is
>> to reduce the space on the top, that might be Plan B.
>>
>> Of course, if I add padding for Konq, the other browsers display too
>> much space down there.
>>
>> Ideas?
>
> It's a difference in the way browsers are collapsing whitespace in the
><pre>.
>
> In the source you've got a newline after "msgid_only=google". Firefox
> is leaving that in, hence the gap, Konqueror isn't (but should be-- it
Ah!
> sounds like they've already fixed it).
Yeppers on the fix.
> If you change the source to msgid_only=google</code></pre>
>
> like that, with no newline between google and </code>, the gap goes away
> in Firefox too.
AH!
> Then you can put the gap back with some padding and it should look the
> same in both.
....and then see if the new Konq in which the current code is okay still
looks okay. I'm not saying it wouldn't, but that would be just muy
luck. :)
Thanks for the explanation (nice catch, Ben)...as well as a fix.
Looks like I should play around with the
<pre>
<code>
as well.
--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project moved to this site August 28th:
http://improve-usenet.org
[Back to original message]
|