1
callawey
How can i add scrollbar in code and queto tags ?
  • 2004/5/8 17:20

  • callawey

  • Just popping in

  • Posts: 5

  • Since: 2004/3/10


example

exampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexample
eexampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleeexample
exampleexampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleeexampleexampleexampleexample
exampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleeexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexampleexampleeexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleeexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexample
exampleeexampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexample
xampleexampleexampleexampleexampleexampleeexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexampleexampleexampleeexampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleeexampleexampleexampleexampleexampleexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexample
exampleexampleexampleeexampleexampleexampleexampleexample
exampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexampleexample


that seems very bad,
i dont want that usage, i want it in a table with scrollbar, how can i do that ? i need help for that


2
Draven
Re: How can i add scrollbar in code and queto tags ?
  • 2004/5/8 18:27

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


put it in a div tag with a style for overflow.

<div style="width: 50px; height: 50px; overflow-x:auto; overflow-y: auto">

content

</div>

3
Dave_L
Re: How can i add scrollbar in code and queto tags ?
  • 2004/5/8 19:09

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Would that be feasible as a permanent XOOPS core fix?

Sometimes the line-wrapping makes it hard to understand posted code.

4
Brad
Re: How can i add scrollbar in code and queto tags ?
  • 2004/5/8 22:01

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Yes, please have this be part of the core for the [code] tags in forum messages.

5
Jack404
Re: How can i add scrollbar in code and queto tags ?
  • 2004/5/8 22:18

  • Jack404

  • Just popping in

  • Posts: 56

  • Since: 2003/5/16


If I'm not mistaken, you fix the [code] tags by modifying the CSS file for the theme you're using on your site. Just fine the line that says:

div.xoopsCode

or

div.xoopsQuote

and make sure it has those things in it.

6
callawey
Re: How can i add scrollbar in code and queto tags ?
  • 2004/5/9 6:11

  • callawey

  • Just popping in

  • Posts: 5

  • Since: 2004/3/10


Quote:

Draven wrote:
put it in a div tag with a style for overflow.

<div style="width: 50px; height: 50px; overflow-x:auto; overflow-y: auto">

content

</div>


in wich file i must add it ?

i add this div styles in class/module.textsanitizer.php, but it dont work. is there an another file to put it ?

7
callawey
Re: How can i add scrollbar in code and queto tags ?
  • 2004/5/9 6:50

  • callawey

  • Just popping in

  • Posts: 5

  • Since: 2004/3/10


ok, thanks for all, i resolved my problem.

8
Brad
Re: How can i add scrollbar in code and queto tags ?
  • 2004/5/9 10:45

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:

callawey wrote:
ok, thanks for all, i resolved my problem.

For the kids at home who were silently following along, please indicate what you did to resolve your problem. Others may not be able to figure it out as well as you did.

9
Mithrandir
Re: How can i add scrollbar in code and queto tags ?

Quote:

Brad wrote:
Yes, please have this be part of the core for the [code] tags in forum messages.

The Feature Request Tracker is there for these kinds of situations

(Could also be a patch, since you have the solution )

10
Brad
Re: How can i add scrollbar in code and queto tags ?
  • 2004/5/9 16:11

  • Brad

  • Not too shy to talk

  • Posts: 150

  • Since: 2003/12/4


Quote:

Mithrandir wrote:
Quote:

Brad wrote:
Yes, please have this be part of the core for the [code] tags in forum messages.

The Feature Request Tracker is there for these kinds of situations

(Could also be a patch, since you have the solution )

Silly Mith... 'twas not I that either initially requested it be added nor I that came up with the solution. All I did was stick my head in and give my 2 cents worth.

Login

Who's Online

68 user(s) are online (37 user(s) are browsing Support Forums)


Members: 0


Guests: 68


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits