donators

n@work Internet Informationssysteme GmbH
Your ad here

Advertising

Found a solution

By: Thomas

22.12.05 18:08 Age: 3 yrs

Hi,

You might remember my problem with tp_syntaxhighlighting I wrote about some days ago. Now I found a solution for this problem. Well, my solution is a very nasty hack but it works... :-/

I simply set the float of the p tags inside the tp_syntaxhighlighting div to left. I don't know why setting the margin to 0 doesn't work. This is maybe a side effect of my current layout. I will see what happens with the new design. I didn't tested the extension with the new CSS.

Anyhow, here is the code that solves the problem:

 

  1.  
  2. plugin.tx_tpsyntaxhighlighting_pi1._CSS_DEFAULT_STYLE (
  3. .tx_tpsyntaxhighlighting_pi1 ol p {
  4. float: left;
  5. )
  6. }

 

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

  • Thomas

    Hi Jürgen, yes you're right. The page was actually not hacked and I used an inappropriate wordi...

  • Juergen Egeling

    Hi, as far as we investigated, typo3.org was not hacked, but one password was exposed, and a person...

  • Jens

    Hy, it is ruby on rails. :) Just added a Video to the site. The Podcast done by Kasper. 21...

  • Internetagentur München

    I am looking forward to meet you all there!

  • Emile

    Great! Would be nice if something was done about the strict validation as well. The border attribut...

Advertising