function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
charlie_vcharlie_v 

Help! IE8 Won't Load External Stylesheet

OK guys ... I've spent an entire afternoon on this and have no clue ...

 

I'm customizing the Customer Portal.  I have created a .html file to load into the header so it calls the custom CSS.

 

Everything is working fine in Chrome, Firefox and Safari.

 

But IE8 refuses to acknowledge the external stylesheet, which is stored in Documents.  I've tried both relative URL's and normal URL's in the link tag ... neither work.

 

I can't find anything online about this.  Does anyone know?  I'm up against a deliverable deadline here and I'm starting to panic.  Help!

 

Here's the code:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"  >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Company Customer Portal</title>
<link rel="stylesheet" type="text/css" href="https://c.na2.content.force.com/servlet/servlet.FileDownload?file=01540000000Wuuk"/>
</head>

<body>
</body>

</html>

 

 

Best Answer chosen by Admin (Salesforce Developers) 
charlie_vcharlie_v

Boy do I feel stupid.  This was the fix:

 

Method II: Reset security settings for Internet Explorer
If you configure security settings to be too restrictive, you may prevent Internet Explorer from displaying certain Web sites. To determine whether an issue is caused by overly restrictive security settings, revert to default security settings. To do this, follow these steps: 

1. Open Internet Explorer.
2. Click Tools, and then click Internet Options. 
3. Click the Security tab. 
4. Click Reset all zones to default level, and then click OK.