WordPress: Fluid code box in ig_syntax_hilite

simple

September 3, 2006

Internet, WordPress

No Comment

go to: ./ig_syntax_hilite/css
open: syntax_hilite_css.css
and add
[css]

/* change this line to set the width of code box */
/* .syntax_hilite { width:500px; } */
.syntax_hilite { width:99%; }

/* change this line to set the width of code box in a list */
/* li .syntax_hilite { width:460px; } */
li .syntax_hilite { width:100%; }
.
.
.
/* change this line to set the width of plain text bar above code box */
/*.igBar { width:511px; }*/
igBar { width:100%; }

/* change this line to set the width of plain text bar above code box in a list */
/*li .igBar { width:471px; }*/
li .igBar { width:100%; }
[/css]

dont miss the cocoa section 😉
go to: ./ig_syntax_hilite/
open: syntax_hilite.php

[css]

switch($mType) {
case “cocoa”:
$mType = “java”;
$mTypeShow = “Cocoa”;
break;
.
.
.
[/css]

Related Posts

ISPConfig3: Mail aliases for login to Dovecot

If you knew ISPConfig2 you probably remember the user login approach which was done there: [crayon-5a11f3f5df573122834483/] Now with ISPConfig3 this has changed to the better by using the users email address – sounds cool – it is! But what about migration from ispconfig 2 to ispconfig 3 – you do not want to drive around […]

Read More

SEO: Blackhat Tactics – Part 1

During working on a customer SEO project I just came across a competitor which is massively using black hat SEO tactics. Ethically now the question pops up, if the right approach is to respond by using the same or even better tactics. So here are some interesting reads on how to approach this situation. Black […]

Read More

Leave a Reply