lxzliuxinzhu / syntaxhighlighter

Automatically exported from code.google.com/p/syntaxhighlighter
GNU General Public License v3.0
0 stars 0 forks source link

Every other line has a different height, looks strange. Possible error when used with Mandigo theme. #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use your syntax hilighter wordpress plugin.
2. Use the Mandigo 1.3 theme.
3. Place code into a page using the same method as described by your usage
page.

What is the expected output? What do you see instead?
If i set my theme to Rin v1.1 then the code displays correctly, much like
the picture on your home page. However with this theme, every odd line
number is thick/tall, and every even line number is thin/short. I have
tried using the control options (i.e. turning of gutter) but i get the same
result. I have included a picture of what it looks like for you.

What version of the product are you using? On what operating system?
I am using version 1.5.1 of the highlighter. My OS is XP, my explorer is
Firefox. My WP version is 2.3.2 and i'm using version 1.3 of the Mandigo theme.

Please provide any additional information below;
I would really like to get this to work, if you have any idea what i can do
that would be great. Or indeed if this is a fix from your side. Your
highlighter looks great and would be really useful to me if i can get it
working. Thanks.

Original issue reported on code.google.com by james.de...@googlemail.com on 11 Jan 2008 at 1:31

Attachments:

GoogleCodeExporter commented 8 years ago
This isn't really an issue with his code or even my WordPress plugin which 
wraps his
code into an easy to use plugin. The problem is with the CSS of that WP theme. 
I did
my best to make sure my plugin overrode any default CSS, but obviously some 
themes
are stubborn.

I'd contact the author of the theme and request they fix their CSS.

Original comment by viper007...@gmail.com on 29 Jan 2008 at 10:15

GoogleCodeExporter commented 8 years ago
I see. Well thanks for the info. I have contacted the theme author but i'm 
having
difficulty in getting help from him. Do you have any idea where i might start? 
Would
it be something i could fix myself by changine a few lines in the CSS? Any help 
much
appreciated.

Original comment by james.de...@googlemail.com on 29 Jan 2008 at 10:23

GoogleCodeExporter commented 8 years ago
Open style.css.php, go to line 450 and comment the code in this way:
/*li { margin: 3px 0 4px 5px; }*/

It worked with me

Original comment by flavio.c...@gmail.com on 4 Nov 2008 at 9:53