Re:Code wrap (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: Re:Code wrap
|
vid (User)
Fresh Boarder
Posts: 3
|
|
Code wrap 2 Years, 8 Months ago
|
Karma: 0
|
|
Is it possible to line wrap the code between the {geshibot} tags?
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
admin (Admin)
Admin
Posts: 475
|
|
Re:Code wrap 2 Years, 8 Months ago
|
Karma: 10
|
|
You can use CSS to give the <div> containing the code a max-width. In the case of IE a fixed width.
Then use overflow:auto; to make it scroll when it goes over the given width.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
vid (User)
Fresh Boarder
Posts: 3
|
|
Re:Code wrap 2 Years, 8 Months ago
|
Karma: 0
|
|
Thanks. I thought that was the way to go.
What i'm not sure about, is which CSS file should be edited (template?). Also, the div created for the {geshibot} code seems to contain a dynamically created ID, so how would you identify the code to be styled?
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Code wrap 2 Years, 8 Months ago
|
Karma: 0
|
|
did you manage to find a solution to this?
could this be added as a option in the plugin with a corresponding overide parameter ie wrap="on"
thanks
|
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|