Topic: [code] line-height (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=25964" title="Pages that link to Topic: [code] line-height (Page 1 of 1)" rel="nofollow" >Topic: [code] line-height <span class="small">(Page 1 of 1)</span>\

 
reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 06-05-2005 11:40
code:
.codeBlock pre {
    font-family: monospace;
    font-size: 1.2em;
    margin: 0px;
    line-height: 80%;
    width: 100%;
}


...is that line-height really necessary? It hurts readability imo.

HZR
Paranoid (IV) Inmate

From: Cold Sweden
Insane since: Jul 2002

posted posted 06-05-2005 13:00

Agreed. This must be some new addition, I didn't notice it until some days ago.

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 06-05-2005 13:25

userContent.css is your friend

HZR
Paranoid (IV) Inmate

From: Cold Sweden
Insane since: Jul 2002

posted posted 06-05-2005 13:38

Yes, of course, but I consider this a bug, so it really should be fixed :-)

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 06-05-2005 19:05

could change it to 1.2em to match the font-size - that would still cut down on the vertical space some, but without any overlap

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 07-09-2006 20:00

this is still annoying

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 07-09-2006 20:45

very strongly agreed here!
I've all but given up actually reading any code within the code tags...

this would be an awfully quick easy fix...is someone available to do something about this?

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 07-13-2006 16:29

If I remember correctly this was introduced due to a bug in one browser or the other... back of my head says 'firefox', but hey,
my memory is sketchy these days.

Let me check with kuckus who did quite a bit of the styling and crossbrowser testing.
If he doesn't remember any problems, we'll give it a try, cool?

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 07-13-2006 22:08

Mmm, but if he remembers a problem, let us know please. Some of us, like, know things.

kuckus
Paranoid (IV) Mad Librarian

From: Glieberlermany
Insane since: Dec 2001

posted posted 07-14-2006 00:09

hi there...

What I do remember is that, way back when we launched this thing, thosr styles were what was needed to get acceptable results across IE, FF, OP.

Now obviously this has not been the case any longer for a quite a while already, and I never got around to check the code and think of a fix.

I'd say I'll take care of it tomorrow, but I can't really promise I'll be able to... so please don't let me keep you from doing some fiddling and fixing in case I am not quick enough


[edit: Another thing worth fixing would be the Quote button JS (partial quoting, conversion of whitespaces, slimies..). If anyone has some time on their hands, and cares enough, I'd be quite happy to stop being the sole responsible for that as well. ]

(Edited by kuckus on 07-14-2006 00:52)

kuckus
Paranoid (IV) Mad Librarian

From: Glieberlermany
Insane since: Dec 2001

posted posted 07-14-2006 18:47

OK - I made the changes and just committed them to svn, TP will be uploading soon.

The new styles are:

code:
.codeBlock pre {
    font-family: "Courier New", monospace;
    font-size: 1.1em;
    margin: 0px;
    line-height: 1.33em;
    width: 100%;
}


and it's looking good in all the browsers I have available, so hopefully fixes it for everyone.


Good thing you never gave up on it, reisio

(Edited by kuckus on 07-14-2006 18:48)

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 07-14-2006 23:26

There you go, the upload is done.



Btw, would anyone be interested in per forum rss feeds?

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 07-15-2006 00:01

Yay, much improved - good job.

sandyvicky
Obsessive-Compulsive (I) Inmate

From:
Insane since: Oct 2009

posted posted 10-29-2009 18:09

Edit TP: Aggressive anti spam stance applied.

(Edited by Tyberius Prime on 10-29-2009 18:20)



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu