locked
Warning "The page at ... contains a large block of embedded Cascading Style Sheet (CSS) code." RRS feed

  • Question

  • User-636020408 posted

    I am wondering if anyone could offer some hint for understanding the following error:

    The page at "http://localhost:8080/Templates/marblefaint.jpg" contains a large (2363 characters) block of embedded Cascading Style Sheet (CSS) code.

    How can a jpg file contain a large block of embedded CSS code?

    Friday, November 19, 2010 3:14 PM

Answers

  • User-47214744 posted
    If you see the Content (double click the item and see the Content Tab), I bet you got a Server Error that included some CSS instead of actually getting the Image. See also the Status code cause I can bet that is not going to be a 200 OK.
    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, November 26, 2010 10:47 PM

All replies

  • User-47214744 posted
    If you see the Content (double click the item and see the Content Tab), I bet you got a Server Error that included some CSS instead of actually getting the Image. See also the Status code cause I can bet that is not going to be a 200 OK.
    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, November 26, 2010 10:47 PM
  • User-636020408 posted

     Thanks Carlos. Yes, the error is the following:

    HTTP Error 404.0 - Not Found

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

     I am wondering how the warning is related to this error.

    Friday, November 26, 2010 11:10 PM
  • User-47214744 posted

    The real error is having a 404 (not found), you should probably have a specific violation for that in addition to this one. This one is just trying to tell you that you might want to create a custom error that has less CSS embedded on it, but I think given that 404's should never be indexed anyway (cause you dont want search engines to see that),it would probably not matter.

    Wednesday, December 8, 2010 4:02 PM