Title: Error when validating style.css for plugin and its solution.
Last modified: August 21, 2016

---

# Error when validating style.css for plugin and its solution.

 *  Resolved [webmasterpro.bizz](https://wordpress.org/support/users/webmasterprobizz/)
 * (@webmasterprobizz)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-when-validating-stylecss-for-plugin-and-its-solution/)
 * Hi All,
 * I am using this plugin on my website. While validating the CSS, I found that 
   errors are there. One of the errors identified by the W3C CSS validator was:
 * **Error Mssage:** .child_pages .post_content h4 Value Error : margin-top Too 
   many values or values are not recognized : 0.5em 0 0 0
 * To correct the above error follow the steps mentioned below:
 * 1. Go to the plugin CSS file.
 * 2. Look for a piece of code shown below:
 * .child_pages .post_content h4 {
    font-weight: bolder; margin-top: .5em 0 0 0;
   font-size: 14px; line-height: 1.2em; }
 * 3. The margin-top takes a single value but here its having 4 values.
 * 4. Edit the margin-top statement so that the above piece of code looks as shown
   below:
 * .child_pages .post_content h4 {
    font-weight: bolder; margin-top: .5em; font-
   size: 14px; line-height: 1.2em; }
 * 5. Run your website CSS through the validator. The error is now gone.
 * Hope this helps.
 * [https://wordpress.org/plugins/child-pages-shortcode/](https://wordpress.org/plugins/child-pages-shortcode/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Takayuki Miyauchi](https://wordpress.org/support/users/miyauchi/)
 * (@miyauchi)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/error-when-validating-stylecss-for-plugin-and-its-solution/#post-5015484)
 * Oh … I will fix soon.
    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Error when validating style.css for plugin and its solution.’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/child-pages-shortcode_1b95bb.svg)
 * [Child Pages Shortcode](https://wordpress.org/plugins/child-pages-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/child-pages-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/child-pages-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/child-pages-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/child-pages-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/child-pages-shortcode/reviews/)

## Tags

 * [margin-top](https://wordpress.org/support/topic-tag/margin-top/)
 * [Validation error](https://wordpress.org/support/topic-tag/validation-error/)
 * [W3C](https://wordpress.org/support/topic-tag/w3c/)

 * 1 reply
 * 2 participants
 * Last reply from: [Takayuki Miyauchi](https://wordpress.org/support/users/miyauchi/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/error-when-validating-stylecss-for-plugin-and-its-solution/#post-5015484)
 * Status: resolved