Fiji Web Design
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Code wrap (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Code wrap
#937
vid (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Code wrap 2 Years, 8 Months ago Karma: 0  
Is it possible to line wrap the code between the {geshibot} tags?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#938
admin (Admin)
Admin
Posts: 475
graph
User Online Now Click here to see the profile of this user
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.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#940
vid (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
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?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#948
shoulders (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
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
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Joomla Downloads

DownloadsDownload our free Joomla! Components, Modules and Plugins.