As you might have noticed, here's the differences I've come up with:
1) The footer is not pushed to the left, instead of lining up with the other blocks.
2) "?action=send" name="queries"> " appears above the contact form.
3) The outlines of the form boxes are thicker in IE
4) Nothing in the main block is centered
Thats what I've come up with.
Thanks for your help.
code:
PHP Code:
<html>
<head>
<title>.:Oshawa Power and Sail Squadron:.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="opss-css.css">
</head>
<body id="body">
<map name="CPSMAP">
<area shape="rect" coords="220,15,317,94" href="http://www.cps-ecp.ca/index.html" target="_blank">
</map>
<center>
<div id="banner"><img src="images/banner.gif" alt="Oshawa Power and Sail Squadron :: OPSS is a Unit of the Canadian power and Sail Squadrons" width="700" height="113" border="0" usemap="#CPSMAP"></div>
if(isset($_GET['action']) && ($_GET['action'] == "send"))
{
/* advisory messages */
$success_msg = 'Your Message Has Been Delivered';
$failure_msg = 'Please try again, there seems to be an error.';
/* all you have to set are the email addresses */
$commander = "1@1.com";
$email1 ="1@1.com";
$email2 ="2@2.com";
$email3 ="3@3.com";
$email4 ="4@4.com";
$email5 ="5@5.com";
$email6 ="6@6.com";
$email7 ="7@7.com";
$email8 ="8@8.com";
$email9 ="9@9.com";
$email10 ="10@10.com";
$email11 ="11@11.com";
$email12 ="12@12.com";
$email13 ="13@13.com";
$email14 ="14@14.com";
$email15 ="15@15.com";
/* end your editing */
It doesn't look exactly the same, but it looks like it should work. Don't forget, PHP is server side, it has nothing to do with how the browser renders it, or is not selective based on any of that.
Also, it's sending off false reports in both browsers.
A couple of things to start with: All html documents should start with a DOCTYPE, if they don't how will the browser know which version of HTML the document is based on? The textarea needs row and column attridutes. The style sheet, on line 92, contains a non-existant attrribute weight. Once you have sorted out those things validate the document and stylesheet.
Also remember that if you don't specify precisely how to display an element the browser will revert to its default behaviour which is different from browser to browser.
I didn't realize that I was accessiongthe contact age from the FTP I'm using. It must have looked at it differentlly than a regular IE window would. Sorry guys. But I did use the DOC type and took out the bolding. Thanks for that.
Bookmarks