0

I'm having this presentation issue with Solstice theme. Could someone point me towards a solution, short of changing the theme?

alt text

4

You are using <pre> tags when you should be using <code> tags

Pre retains the format

Example

Pre

modules = ['meta-gnome-core', 'meta-gnome-apps-featured']  # This is what is built by the build slaves (http:build.gnome.org/)

Code
modules = ['meta-gnome-core', 'meta-gnome-apps-featured'] # This is what is built by the build slaves (http:build.gnome.org/)

6
  • I actually want the result to look like Pre. But it instead goes off the screen.
    – tshepang
    Dec 13 '10 at 17:13
  • 1
    @Tshepang well you will have to choose a different theme to accomodate for the width or set your overflow to auto in the pre css in the advanced section, so it displays as above.
    – phwd
    Dec 13 '10 at 17:32
  • @Tshepang, if an answer helps you, you can vote up the answer. Click the up arrow to the left of this post. The description of that action is This answer is useful. Dec 13 '10 at 23:20
  • @rchem I wanted to indicate that the Answer didn't help me reach the Answer, but the Comment did. See the Accepted Answer.
    – tshepang
    Dec 13 '10 at 23:27
  • 1
    @Tshepang, Alternatively, you could have asked @phwd to edit his comment into the answer and then accepted his answer rather than posting your own. Dec 14 '10 at 0:16
0

I went to Advanced tab and added this under Add custom CSS section:

pre {
 overflow: auto;
}

alt text

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.