Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cleanup

macrumors 68030
Original poster
Jun 26, 2005
2,643
10
Toronto
I used to use a style sheet to fix a visual problem on deviantART. But I decided I didn't need it so I deleted it and emptied the trash. Now, Safari constantly searches for it every time i load a new page and so it always displays "There was one error opening the page. For more information, choose Activity from the Window menu." and sure enough, the error is that it can't find the .css file that has now been deleted.

When I go into Advanced in Preferences, under Style Sheet it says "None Selected", so shouldn't it not be searching for the bloody thing?

It's purely a cosmetic problem, but it's really annoying having the status bar full of text all the time.

Any ideas how I can get rid of the error?
 
Try going to Safari/Reset Safari... It should fix the problem and will delete the history and saved form information, but leave the bookmarks.
 
Make sure you don't have <link rel="stylesheet" href="styles.css"> or similar in the head tag.
 
epepper9 said:
Try going to Safari/Reset Safari... It should fix the problem and will delete the history and saved form information, but leave the bookmarks.

That didn't work. Thanks anyways.

Nermal said:
Make sure you don't have <link rel="stylesheet" href="styles.css"> or similar in the head tag.

Make sure I don't have it where? Where would I find this code?
 
Try this: Make another css file (just a dummy text file named something.css). In Safari preferenced -> Advanced choose that style sheet. Restart Safari or whatever, then go back and choose none selected before you delete the style sheet.

Edit: Alternatively you can trash ~/Library/Preferences/com.apple.safari.plist or at least edit it to remove these two properties:
 

Attachments

  • Picture 3.jpg
    Picture 3.jpg
    17.4 KB · Views: 92
actually it is still selected as your user defined style sheet, but when it errors it produces the None Select because safari can't find your sheet. I would suggest you select something else, then select None Selected.

*oh Mitthrawnuruodo beat me. :)
 
Mitthrawnuruodo said:
Try this: Make another css file (just a dummy text file named something.css). In Safari preferenced -> Advanced choose that style sheet. Restart Safari or whatever, then go back and choose none selected before you delete the style sheet.

Edit: Alternatively you can trash ~/Library/Preferences/com.apple.safari.plist or at least edit it to remove these two properties:

It worked! Thanks. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.