Make the <pre> tag behave similar to monobook theme

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
ingard
Rank 0
Rank 0
Posts: 2
Joined: April 9th, 2010, 8:58 am

Make the <pre> tag behave similar to monobook theme

Post by ingard »

I want to make sure that even tho the content of the <pre> tag is "longer" than the width of your browser windows it doesnt affect the width of the rest of the content. Right now if I have a long cmd (for instance) in a pre tag, the rest of the content will have the same width as the content of the pre tag, which will result in having to do horizontal scrolling to read the text.

I would like the gumax skin to behave similar to the way for instance monobook deals with pre tags. When using monobook, only the right most contents of the pre tag will be "outside" the browser window and require horizontal scrolling while the "box" that is generated by the pretag will be inside the browser window as well as all other content.

I am using gumaxdd 1.1

Thanks!
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Make the <pre> tag behave similar to monobook theme

Post by Paul »

Try to open gumax_template.css, find <pre> and tweak it.... Google it for syntax...
User avatar
ingard
Rank 0
Rank 0
Posts: 2
Joined: April 9th, 2010, 8:58 am

Re: Make the <pre> tag behave similar to monobook theme

Post by ingard »

Yeah we tried loads, but just couldnt make it work. Would be nice if you could come up with an example or a quick fix :P
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Make the <pre> tag behave similar to monobook theme

Post by Paul »

I will take a look.....
Post Reply