|
Re: Code align [message #37782 is a reply to message #37771] |
Sun, 24 June 2007 17:43 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The code section is generated by PHP, you may need to wrap it in a div and set the div to RTL via css.
FUDforum Core Developer
|
|
|
|
Re: Code align [message #37792 is a reply to message #37787] |
Tue, 26 June 2007 01:29 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Try adding CSS style for the <pre> tag
FUDforum Core Developer
|
|
|
|
Re: Code align [message #37882 is a reply to message #37872] |
Thu, 28 June 2007 22:53 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to edit the code inside post_proc.inc.t to support style="direction: ltr" inside the <pre>. Another alternative would be to do pre { direction: ltr } inside the forum's css.
FUDforum Core Developer
|
|
|
|
|
|
Re: Code align [message #38262 is a reply to message #38240] |
Sun, 29 July 2007 15:28 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to modify the post_proc.inc.t parser to decode the new CSS block you've added. You can probably do <pre[^>]*> regex.
FUDforum Core Developer
|
|
|
|