Skip to main content
Inspiring
November 23, 2017
Question

CS4 - An unexpected error occurred while trying to read style-sheet information

  • November 23, 2017
  • 1 reply
  • 1651 views

Lately in DW4 my CSS file has intermittently been giving me the following error when I try save or open .classes from the CSS Styles panel:

"An unexpected error occurred while trying to read style-sheet information."

Here's the CSS file.

Thanks.

    This topic has been closed for replies.

    1 reply

    BenPleysier
    Community Expert
    Community Expert
    November 23, 2017

    A warning: Duplicate property text-align in

    .disclaimer {

         text-align:left;

         font-size:11px;

         text-align:center;

         color: #343735;

    }

    An error: Color has an invalid value

    .quotationattr {

         font-family: Verdana, Geneva, sans-serif;

         font-size: 14px;

         font-style: normal;

         font-weight: normal;

         color: #0;

         border-bottom: 2px solid #ddd;

         margin-top: 0px;

         margin-right: 40px;

         margin-bottom: 30px;

         margin-left: 40px;

         padding-top: 0px;

         padding-right: 40px;

         padding-bottom: 24px;

         padding-left: 40px;

    }

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    JayNewWebAuthor
    Inspiring
    November 23, 2017

    I made the changes you pointed out, but it's still "intermittently" not working.

    Here's the new file.

    Thanks.

    Nancy OShea
    Community Expert
    Community Expert
    November 23, 2017

    Can we safely assume that all background-images expressed in your CSS are in the same folder as your CSS file?

    I ask because I prefer to organize my site's assets in separate folders for images, css and scripts.  See screenshot.

    Having said that, my path to background-images would be different than yours because my CSS is in one folder and images are in another.

    ../images/filename.png

    Nancy O'Shea— Product User & Community Expert