Title: invalid CSS property
Last modified: August 30, 2016

---

# invalid CSS property

 *  Resolved [sleeplessindc](https://wordpress.org/support/users/sleeplessindc/)
 * (@sleeplessindc)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/invalid-css-property/)
 * I got a CSS error in the source code for my site found in the PrintFriendly pf.
   php file–the double semicolon ending margin:
 *     ```
       div.printfriendly {
                   margin: 1px 1px 1px 1px;;
                 }
       ```
   
 * The original code for this is on lines 224-226 in pf.php:
 *     ```
       div.printfriendly {
                   margin: <?php echo $this->options['margin_top'].'px '.$this->options['margin_right'].'px '.$this->options['margin_bottom'].'px '.$this->options['margin_left'].'px;'; ?>;
                 }
       ```
   
 * Should the first semicolon in the last line be deleted?
 * [https://wordpress.org/plugins/printfriendly/](https://wordpress.org/plugins/printfriendly/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Print & PDF by PrintFriendly](https://wordpress.org/support/users/printfriendly/)
 * (@printfriendly)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/invalid-css-property/#post-6660148)
 * Thanks for alerting us to the issue. We’ll get this fixed and updated ASAP!
 *  Thread Starter [sleeplessindc](https://wordpress.org/support/users/sleeplessindc/)
 * (@sleeplessindc)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/invalid-css-property/#post-6660188)
 * Great. My guess is you’ll be changing
    ‘px;’; to ‘px’;
 *  Plugin Author [Print & PDF by PrintFriendly](https://wordpress.org/support/users/printfriendly/)
 * (@printfriendly)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/invalid-css-property/#post-6660221)
 * We have resolved this issue and released the updated version of the Print Friendly
   and PDF Button plugin so please update the plugin on your site to resolve the
   issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘invalid CSS property’ is closed to new replies.

 * ![](https://ps.w.org/printfriendly/assets/icon-256x256.png?rev=2951152)
 * [Print, PDF, Email by PrintFriendly](https://wordpress.org/plugins/printfriendly/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/printfriendly/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/printfriendly/)
 * [Active Topics](https://wordpress.org/support/plugin/printfriendly/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/printfriendly/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/printfriendly/reviews/)

## Tags

 * [print-friendly](https://wordpress.org/support/topic-tag/print-friendly/)

 * 3 replies
 * 2 participants
 * Last reply from: [Print & PDF by PrintFriendly](https://wordpress.org/support/users/printfriendly/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/invalid-css-property/#post-6660221)
 * Status: resolved