PDA

View Full Version : page wont display properly in firefox


gka
06-09-2006, 03:59 PM
Hey guys,
i made a frontpage for my new site. it works fine in interne explorer but in firefox it goes retarted. this would be fine but in the community my site is in, lots of people use firefox. open it in Internet Explorer and Firefox and you can see a difference (if u have firefox). is there any oviuse reason for this? or is it more complex problem?

http://www.gka-fusion.com/home.php

thanks

drhowarddrfine
06-09-2006, 04:15 PM
You will never get IE to display like modern browsers without a proper doctype. See my link below. Use html4 strict.

oracleguy
06-09-2006, 06:28 PM
You also don't have well formed HTML on your page. You are lacking a head tag (and a title tag for that matter).

<html>
<style type="text/css">
<!--
.style3 { font-family: "Times New Roman", Times, serif;
font-size: 14px;
}
body {
background-color: #CCCCCC;
}
-->
</style>
<body>
<center>

Should be more like:
<html>
<head>
<title>Your page title</title>
<style type="text/css">
<!--
.style3 { font-family: "Times New Roman", Times, serif;
font-size: 14px;
}
body {
background-color: #CCCCCC;
}
-->
</style>
</head>
<body>
<center>

That might be part of the issue.

VIPStephan
06-09-2006, 11:57 PM
[...] it works fine in interne explorer but in firefox it goes retarted.

Just to clarify some prevalent misunderstanding: In at least 90% of all cases Firefox is working fine and IE is being retarded.
Firefox is just doing what you tell it to do. That means if you write bad code no wonder it's screwing up in Firefox because it just executes your bad code while IE is trying to guess what you could have meant (which you shouldn't see as a positive quality).