In my last post about styling text widgets using css I was trying to paste some code directly into the post but the problem I was having was the code was being displayed as you would see it in your browser and not how the actual code was written.
I did a quick search and after visiting about three sites I found this post on the blog herald. “Writing and Publishing Code in Your WordPress Blog Posts“
Basically the solution to my problem was, wherever an opening “<” is used within my code I needed to replace that with “<”
So lets say I wanted to display the div tag, as in my last post, using the html editor for writing my post, every time the opening < bracket is used I simply changed that to <div>
Works a treat.