MyBB Hacks

Full Version: Cool Codes (Syntax Highlighter)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
ZiNgA BuRgA, you can add the CSS code for this plugin?

And I had an idea that I think could improve this plugin. Change the "image 1", for the "image 2":

[attachment=588] [attachment=589]
(09-06-2011 09:13 PM)nodba Wrote: [ -> ]ZiNgA BuRgA, you can add the CSS code for this plugin?

And I had an idea that I think could improve this plugin. Change the "image 1", for the "image 2":

That is a interesting idea there, but you will need to edit the editor.js file right?
Maybe I'll look at it in future, but I don't have any intentions of adding a button to the editor at this point in time.
Thanks for the suggestion nonetheless.
(09-07-2011 08:45 AM)ZiNgA BuRgA Wrote: [ -> ]Maybe I'll look at it in future, but I don't have any intentions of adding a button to the editor at this point in time.
Thanks for the suggestion nonetheless.

You're welcome. Smile

And add the CSS code, you see no viable right now? Because for my forum I "need" the HTML, CSS, PHP, Javascript and SQL codes.

A greeting and thanks for your time!
CSS highlighting was something that I did want to add, though I can't say it'll happen any time soon.  Sorry about that.
I understand, thanks anyway. Smile
Can someone tell me how to fix this?
I tried to change the width value from highlight.css (from 100% to 90%) but the same problem.
Thanks.
You can try to set the width in your .codeblock code class in your global.css. For example: 400px.
(09-12-2011 04:00 AM)RateU Wrote: [ -> ]You can try to set the width in your .codeblock code class in your global.css. For example: 400px.
Now it`s working... But it is very strange because I cannot set a relative value...
Thanks very much!Wink
(09-12-2011 05:05 AM)Mihu Wrote: [ -> ]But it is very strange because I cannot set a relative value...

It will fit on the page in "standard" browser, even if we put 100px there (you can try to resize the browser window). But, IE6 will take the width value (I don't know about the other IE versions).
Pages: 1 2 3 4 5 6 7 8 9 10
Reference URL's