Problem with <code> tags
-
I’m having problems with this. When I publish a post with some code in it I used the
</code< tags to display it. Firstly, I had quite a lot of CSS code and I just wrapped the whole lot int between the tags like:CSS code here... about 50 lines in total
For some reason it only worked for the first bit of the code, which was:
* {
margin: 0;
padding: 0;
}
After that the rest of the code was just normal text.
Also I wanted to post some html code too. So I wrapped all that in between the code tags, but what happened was the html code in the tags was messing up the page. It was being put into the page like normal code, not being displayed as the code on the post. Not sure why this is happening, so a solution would be really appreciated. :)
Many thanks,
Josh -
-
- The topic ‘Problem with <code> tags’ is closed to new replies.