2010-10-25, 02:29 AM
intenta con esto:
.codeblock {
background: #fff;
border-top-style: solid;
border-top-color: black;
border-top-width: 1px;
border-bottom-style: solid;
border-bottom-color: #ccc;
border-bottom-width: 1px;
border-left-style: solid;
border-left-color: black;
border-left-width: 1px;
border-right-style: solid;
border-right-color: #ccc;
border-right-width: 1px;
padding: 4px;
}
.codeblock .title {
font-weight: bold;
margin: 4px 0;
}
.codeblock code {
overflow: auto;
height: auto;
max-height: 200px;
display: block;
font-family: Monaco, Consolas, Courier, monospace;
font-size: 13px;
}
___________________________________
tu quieres que no salga la palabra codigo tambien?
.codeblock {
background: #fff;
border-top-style: solid;
border-top-color: black;
border-top-width: 1px;
border-bottom-style: solid;
border-bottom-color: #ccc;
border-bottom-width: 1px;
border-left-style: solid;
border-left-color: black;
border-left-width: 1px;
border-right-style: solid;
border-right-color: #ccc;
border-right-width: 1px;
padding: 4px;
}
.codeblock .title {
font-weight: bold;
margin: 4px 0;
}
.codeblock code {
overflow: auto;
height: auto;
max-height: 200px;
display: block;
font-family: Monaco, Consolas, Courier, monospace;
font-size: 13px;
}
___________________________________
tu quieres que no salga la palabra codigo tambien?