Title: CSS Code Blocks (solved)
Last modified: August 30, 2016

---

# CSS Code Blocks (solved)

 *  Resolved [thePleasurePrincess](https://wordpress.org/support/users/thepleasureprincess/)
 * (@thepleasureprincess)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/css-code-blocks-solved/)
 * I found a [support posting](http://css-javascript-toolbox.com/support/topic/problem-with-css-code/)
   that said to use:
 * **<style type=”text/css”>
    …. your css here </style>
 * If that doesn’t work -remove _type=”text/css_“:
 * **<style>
    …. your css here </style>
 * [https://wordpress.org/plugins/css-javascript-toolbox/](https://wordpress.org/plugins/css-javascript-toolbox/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [wipeoutmedia](https://wordpress.org/support/users/wipeoutmedia/)
 * (@wipeoutmedia)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/css-code-blocks-solved/#post-6870449)
 * Hi thePleasurePrincess,
 * Thanks for taking the time to write your post with your suggestions.
    We appreciate
   every support post.
 * To provide some additional information to your post:
 * **type**
 * This attribute defines the styling language as a MIME type (charset should not
   be specified). This attribute is optional and default to text/css if it’s missing.
   
   Also comparing **html 4.01** and **html 5**:
 * > **html 4.01**
   >  **type = content-type [CI]** This attribute specifies the style
   > sheet language of the element’s contents and overrides the default style sheet
   > language. The style sheet language is specified as a content type (e.g., “text/
   > css”). Authors must supply a value for this attribute; there is no default 
   > value for this attribute.
 * > **html 5**
   >  The type attribute gives the styling language. If the attribute
   > is present, its value must be a valid MIME type that designates a styling language.
   > The charset parameter must not be specified. The default value for the type
   > attribute, which is used if the attribute is absent, is “text/css”.
 * Hope this helps
 * Regards,
    Damian Baker

Viewing 1 replies (of 1 total)

The topic ‘CSS Code Blocks (solved)’ is closed to new replies.

 * ![](https://ps.w.org/css-javascript-toolbox/assets/icon-256x256.gif?rev=3132209)
 * [CSS & JavaScript Toolbox](https://wordpress.org/plugins/css-javascript-toolbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/css-javascript-toolbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/css-javascript-toolbox/)
 * [Active Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/css-javascript-toolbox/reviews/)

## Tags

 * [CJT](https://wordpress.org/support/topic-tag/cjt/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 1 reply
 * 2 participants
 * Last reply from: [wipeoutmedia](https://wordpress.org/support/users/wipeoutmedia/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/css-code-blocks-solved/#post-6870449)
 * Status: resolved