Skip to content

wordpress source code wrapper

well wrodpress.com can’t handle plugins.
to display sourcecode i use the unsorted list container like this:

<ul style=”margin-left:0;border:1px solid #D8D8D8;background-color:#F8F8F8 ;overflow:auto;width:100%”><pre>

main(){

}

public veryLongFunctionWithoutAnyPurposeJustToShowTheOverFlowEffect(){

}

</pre></ul>

it will look like this:

    main(){
    
    }
    public veryLongFunctionWithoutAnyPurposeJustToShowTheOverFlowEffectNeedSomeMoreWidth(){
    
    }
    

in ie7 it seems that the pre is too large for the ul container in height. but pre has only the width attribute :(

Categories: Uncategorized.

Tags: , , , , , , , , , ,

Comment Feed

One Response

  1. Is it really work?



Some HTML is OK

or, reply to this post via trackback.