Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

internet explorer not working, firefox fine 2

Status
Not open for further replies.

dianne123

Technical User
Mar 3, 2009
2
US
I created a site in dreamweaver MX 2004. After many weeks of work, it suddenly won't preview in Internet Explorer. Firefox is fine. I uploaded it and have a REAL website now. However, even on-line it won't open in Internet Explorer. I have no idea what I did to make this happen. Any ideas? is the address if that helps. I'm a beginner, so a simple explanation is appreciated. Thanks!
 
Well you have quite the mess there, you have repeated things, you have a call to your css file twice, you have two blocks of styles when there should be only one etc...

But basically your problem stems form 2 comment tags you never close.

<!--

Explorer, Safari and probabably other browsers find that, and just take eveyrthing after the tag as a comment so they don't display it.

Firefox, figures that when you open a new element the old comment ends so it does go on and display the website.


Remove the tags in red:
Code:
...
</style>
<style type="text/css">
<!--
.style3 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.style7 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #880000;
	font-size: 12px;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
[red]<!--




<!--[/red]
</script>
<link href="css_winksite.css" rel="stylesheet" type="text/css">

...



----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
You also have <meta> tags in your <body> element - they should only be in the <head>. It's also worth checking your site validation - as that will pick up a lot of the errors for you.

If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Thank you, thank you, thank you! I am teaching myself and creating the site in Design View, so I was at a total loss as to what went wrong. I will do the site validation. That will help a lot. I am so grateful there are people out there who are willing to take the time to help. Thank you so much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top