Thread: code view question
Created on: 02/10/10 07:29 PM
| New topic Reply | Page: 1 |
| Replies: 0 | |
| johnbarr
|
02/10/10 7:29 PM Hi, I just started using the new fresh media template, and there is a weird situation with displaying code. it seems like it adds a line break after every line. You can see a test here: http://hawaiiflash.net/blog/post.cfm/code-test the post contains the followin: [code:xml] <?xml version="1.0" encoding="UTF-8"?> <school> <name>John Barrett</name> <school>University of Hawaii</school> <department>New Media</department> </school> [/code] Also, I checked in the css file, and I found: code { margin: 5px 0; padding: 15px; text-align: left; display: block; overflow: auto; font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ; /* white-space: pre; */ border: 1px solid #ECF8FE; background: #ECF8FE; } is this the right section for seeing why this template is adding a line break to the code? I suck at CSS, so I thought that I would ask here. I did check other templates and the plugin seems to be working fine, so I think that it is just this template, and something with the style sheet. Thanks, Johnny |
| Link | Top | Bottom | |
New Post