Help needed with GeSHi

Discussion in 'CSS' started by shubhamjain, Nov 23, 2009.

  1. #1
    Hi, I am making a website which uses GeSHi.

    I did some styling like this
    $geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS);
    $geshi->set_header_content("{LANGUAGE} Code");
    $geshi->set_line_style('background: #F5F5F5;border-left: 1px solid #000;');
    $geshi->set_header_content_style("text-align: center; background-color: #E0E8EF;");
    $geshi->set_overall_style("overflow-y: hidden;background-color: #EEEEDD;overflow-x: scroll;width: 103%;font: 1.1em 'courier new', courier, monospace; border: 1px solid #ccc;");
    PHP:
    but the problem is that background colour behind the line numbers overflows to the rest of the code. As you can see here.

    http://pasteclip.com/rupload

    Can someone help with this?
     
    shubhamjain, Nov 23, 2009 IP