Pankaj Tahiliani

  Home  |   Contact  |   Syndication    |   Login
  30 Posts | 0 Stories | 44 Comments | 0 Trackbacks

News

Twitter












Archives

“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

Feedback

# re: Font appearing red in Safari 9/11/2009 1:52 AM Ankit
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.

Post A Comment
Title:
Name:
Email:
Comment:
Verification: