donators

n@work Internet Informationssysteme GmbH
Your ad here

supported by

 TYPO3 Hamburg
 TYPO3 Anbieter

Advertising

A question

By: Thomas

19.12.05 16:25 Age: 3 yrs

Hello,

As I said in the last post, I'm working on the new layout with some additonal content. Currently I'm testing the tp_syntaxhighlighting extension to print out some formatted code.

As you can see here every line of the code is wrapped by <p style="margin:0;"></p>. My question is how I can get rid of this? The problem is, that I want disable this behavior only for that special extension, or better for the Tag <CODE> the extension provides. Any ideas on this?

This is the code I used for configuring the output on that page:

 

  1.  
  2. tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines {
  3. encapsTagList >
  4. remapTag.DIV >
  5. wrapNonWrappedLines = |
  6. addAttributes.P {
  7. style=margin:0;
  8. }
  9. innerStdWrap_all.ifEmpty = &nbsp;
  10. innerStdWrap_all.textStyle < tt_content.text.20.textStyle
  11. }

 

Greets,

Thomas


Please leave a comment

Leave a Reply

You have to activate JavaScript to post comments!

Calendar

December 2005
M T W T F S S
« Nov   Jan »
 12304
50678091011
12131415161718
19202122232425
262728293031  

Latest comments

  • Robert

    Well, one can live only so long by basically exploiting oneself, so I think it's very understood in...

  • neochung

    As you mentioned above, " it is much faster to copy and paste the needed stuff from other files." ...

  • reto

    Thanks for your great work and good luck!

  • Anoop

    ++ Michael Cannon! Thanks Thomas for all your work, don't disappear! I read your blog regularly ...

  • Simon

    At the first glance it seems to be a pity, that you've stopped working at the installer ( I really ...

Advertising