Tuesday June 24 2008
Styling Code
As I mentioned in the previous entry I wanted to be able to style code on this blog. Coincidentally last night there was a thread on the EE forums asking the same question. In the end I discovered that when wrapping text in [ code][ /code] tags EE adds another div with a class codeblock which I was then able to style. It’s temporarily set to look like this:
.codeblock {width: 200; overflow: auto; background: #e7e7e7; border: 1px solid #666;}
Looking at this, setting the width doesn’t seem to be having any effect.
Hmm.. blog title is getting cropped in IE - will have to fix that soon.
Sean. inscribed these words of wisdom on Tuesday Jun 24, 2008 at 06:18 AM | tags: ee thread, css, this blog, expressionengine |





