Thread Starter
egoldy
(@egoldy)
Thread Starter
egoldy
(@egoldy)
hi. podz
It is not work ,too
The code tag is working as it is intended by the html specification. Similarly, the plugin is working as it is intended.
However, what you’re looking for is really client-side css styling. Add the following to the bottom of your style.css file
code {
display:block;
font-size: 0.9em;
font-family: "Courier New";
border:1px solid black;
background-color: #f9f9f9;
width: 400px;
overflow: auto;
padding:5px;
}
Thread Starter
egoldy
(@egoldy)
hi. ifelse
very good. can you tell me how to make it show scrollbar?
thanks a lot.
Thread Starter
egoldy
(@egoldy)
oh .I get it.
add height:300px.
but I have another question. Can I make the block auto scale.
for example. if the code height <300 .not show the scrollbar. and the block height is the code text height,if the code text height >300 and show scrollbar.
sorry for my bad english.
thanks again.
I use something called iG:Syntax Hiliter
Thread Starter
egoldy
(@egoldy)
any one have an other good idea?