Geeks With Blogs
Pankaj Tahiliani

“When checking your page in various browsers, you may find Safari displaying a bright red text color for your page anchors (links), overriding the colors you've specified in your CSS selectors.

First, look for a CSS document that may not be uploaded to your server. It will be returning a 404 (page not found) error. The simplest way to do this is to use the Web Developer's Toolbar extension for Firefox (by Chris Pederick) and simply click on the CSS > View CSS menu item. The page that appears will actually render the 404 error page code (if it exists) among the other linked and imported CSS documents. This method is effective because it pulls in any CSS documents related to your page -- even if they're brought in through a Javascript file.

Once you locate the document returning the 404 error, you can upload that CSS file to the server and your red links will disappear.

Theory is that Safari is erroneously rendering the 404 document (since it's being returned in place of  a CSS file) as a CSS document. And thus, the red link selectors in the head of the error document are overriding your own selectors.

Note: This problem only exists on certain servers since 404 error documents will differ slightly. If you create a custom 404 page for your site, it's likely you'll never see this problem (or may see something entirely different).”
 
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=2101&productId=1

Original Source: www.adobe.com

Posted on Wednesday, March 25, 2009 3:19 PM | Back to top


Comments on this post: Font appearing red in Safari

# re: Font appearing red in Safari
Requesting Gravatar...
site is perfectly working on All the web browsers but in safari link are coming in red color please suggest me how we can solve this issue please ASAP.
Left by Ankit on Sep 11, 2009 1:52 AM

Your comment:
 (will show your gravatar)


Copyright © Pankaj Tahiliani | Powered by: GeeksWithBlogs.net