Title: A little css validation error
Last modified: August 31, 2016

---

# A little css validation error

 *  [Demetrio_M](https://wordpress.org/support/users/venerdi/)
 * (@venerdi)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/a-little-css-validation-error-1/)
 * There is a parse error reported by W3C CSS Validator in the wpa.css in the /style/
   0/ folder.
    There is **‘};** at the end of the css. These three characters generated
   the error. Once i deleted them the validation is ok.
 * [https://wordpress.org/plugins/wp-attachments/](https://wordpress.org/plugins/wp-attachments/)

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

 *  Plugin Author [Marco Milesi](https://wordpress.org/support/users/milmor/)
 * (@milmor)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/a-little-css-validation-error-1/#post-7101498)
 * Thank you, i will check as soon as possibile
 *  [marketsys](https://wordpress.org/support/users/marketsys/)
 * (@marketsys)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/a-little-css-validation-error-1/#post-7101538)
 * Guess you didn’t bother to check or fix cos this screwed my css minification 
   up, I found the reason is this wpa.css (in styles/0/wpa.css, styles/1/wpa.css,
   styles/2/wpa.css etc) You have in file:
 * NOTE AT THE VERY END OF EACH IS ‘; with breaks stylesheets when compressed or
   minified
 * ul.post-attachments{list-style:none;margin:0;}
    li.post-attachment{background:
   url(document.png) 0 4px no-repeat;padding-left:24px;} .post-attachment.mime-imagejpeg,.
   post-attachment.mime-imagepng,.post-attachment.mime-imagejpeg,.post-attachment.
   mime-imagegif{background-image:url(document-image.png);} .post-attachment.mime-
   applicationzip{background-image:url(document-zipper.png);} .post-attachment.mime-
   applicationpdf{background-image:url(document-pdf.png);} .post-attachment.mime-
   applicationvnd-ms-excel{background-image:url(document-excel.png);} .post-attachment.
   mime-applicationvnd-openxmlformats-officedocument-spreadsheetml-sheet{background-
   image:url(document-excel.png);} .post-attachment.mime-applicationmsword{background-
   image:url(document-word.png);} .post-attachment.mime-applicationvnd-openxmlformats-
   officedocument-wordprocessingml-document{background-image:url(document-word.png);}.
   post-attachment.mime-applicationvnd-oasis-opendocument-spreadsheet{background-
   image:url(document-ods.png);} .post-attachment.mime-applicationvnd-oasis-opendocument-
   text{background-image:url(document-odt.png);} .post-attachment.mime-audiompeg{
   background-image:url(document-music.png);}’;

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

The topic ‘A little css validation error’ is closed to new replies.

 * ![](https://ps.w.org/wp-attachments/assets/icon-256x256.png?rev=2617427)
 * [WP Attachments](https://wordpress.org/plugins/wp-attachments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-attachments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-attachments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-attachments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-attachments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-attachments/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [marketsys](https://wordpress.org/support/users/marketsys/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/a-little-css-validation-error-1/#post-7101538)
 * Status: not resolved