DelphiFAQ Home Search:
General :: Web publishing
Information about web publishing, how to maintain, optimize and promote a web site.


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.
Recommended links on this topic:
Featured Article

Internet Explorer displays blank page, which works in Firefox


I have a HTML file with embedded style definitions that displays properly in Firefox, but Internet Explorer only shows a blank page.
What could be the reason?


I reviewed your HTML. I found the following style definition near the top of your page.

<style type="text/css">
a:link { text-decoration:none;color:blue; }

This does indeed work in Firefox but not in Internet Explorer. Remove the '<!--' and the '//-->' (comments) from the style so that it looks like this:

<style type="text/css">
a:link { text-decoration:none;color:blue; }

Then it will work both in Internet Explorer and in Firefox.
The <!-- ... //--> is used in Javascript, in case the page is viewed with a browser that does not understand the <script> tag.

Generated 8:01:40 on Feb 23, 2020