.syntaxhighlighter{
/* padding top/bottom 1em & left/right no padding */
padding: 1em 0;
}
Put that within the area that keeps the CSS. Directly beneath the Heading "Content" for example.Without it your code-blocks will look like this:
/*
the vertical scrollbar looks silly, doesn't it?
*/
On a side-note I would like to recommend reading the SyntaxHighlighter Configuration-Page which is short and helpful. I used the "class"-feature to switch the vertical-scrollbar back on by setting padding to zero. I particularly like the highlight-feature. You may also want to turn off the upper right attributation-questionmark with "toolbar:false".
No comments:
Post a Comment