I'm using the default theme of s9y which is carl_contest I think. I wanted to add a nicer look to my blog when posting code snippets via <pre> tags.
Something like
Code: Select all
pre {
border: 1px dashed #000000;
padding: 10px;
background-color: #f1f6fb
}What's funny is, when adding the above code at the top of style.css, nothing happens. No dashed borders around the <pre> contents.
But when I add something meaningless like a non-existing tag above all this, it's working and the dashed box is shown.
Code: Select all
meaningless_stuff { }
pre {
border: 1px dashed #000000;
padding: 10px;
background-color: #f1f6fb
}