473,472 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Having an compatibility issue with Firefox

1 New Member
Below is my code, what I have done is create a form which sends via asp, it works fine within IE but when testing it in Firefox the entire form is outside the page. Hope you can help!
Adam Huxtable


HTML FILE
[html]
<!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>Brian De Palma - Favourite Actor</title>
<link href="css.css" rel="stylesheet" type="text/css" />
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function checkall(frmEnquiry)
{
if (frmEnquiry.txtName.value == "")
{
alert ("You must enter a name");
return (false);
}
if (frmEnquiry.txtEmail.value == "")
{
alert ("You must enter a email address");
return (false);
}
if (frmEnquiry.TextNumber.value == "")
{
alert ("You must enter a phone number");
return (false);
}
if(isNan(frmEnquiry.TextNumber.value) || (frmEnquiry.TextNumber.value==""))
{
alert("enter a valid phone number");
return (false);
}
}


</script>
</head>

<body>
<div id="wrapper">
<div id="header"><img src="banner1.jpg" alt="Brian De Palma.com" width="720" height="100" /></div>
<div id="nav">
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="index.html">Home</a> </li>
<li><a href="profile.html" class="MenuBarItemSubmenu">Profile</a>
<ul>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="info.html">Other Info</a></li>
</ul>
</li>
<li><a href="hmovies.html" class="MenuBarItemSubmenu">Movie History</a>
<ul>
<li><a href="htrailers.html">Trailers</a></li>
</ul>
</li>
<li><a href="umovies.html" class="MenuBarItemSubmenu">Upcoming Movies</a>
<ul>
<li><a href="utrailers.html">Trailers</a></li>
</ul>
</li>
<li><a href="opinion.html" class="MenuBarItemSubmenu">You're Opinion</a>
<ul>
<li><a href="favmov.html">Favourite Movie</a></li>
<li><a href="favact.html">Favourite Actor</a></li>
</ul>
</li>
</ul>
</div>
<div id="content">
<form method="post" action="sendDetails.asp" onsubmit="return checkall(this);" action="senddetails.asp">
<input type="hidden" name="receiver3" value="adam87@live.co.uk" />
<table width="500px" cellpadding="10px" align="center">
<tr>
<td colspan="2"><span class="style2">The Theatre Booking<br />
Comapny</span></td>
</tr>
<tr>
<td colspan="2"><p>Please send me more information about the following forthcoming play:<br />
<select name="plays">
<option value="Twelfth">Twelfth Night</option>
<option value="EndsWell">All's Well That Ends Well</option>
<option value="Othello">Othello</option>
</select>
</p>

</td>
</tr>
<tr>
<td width="193">Name:</td>
<td width="385"><input name="txtName" type="text" size="40" maxlength="30" /></td>
</tr>
<tr>
<td>Email Address:</td>
<td><input name="txtEmail" type="text" size="40" maxlength="30" /></td>
<tr>
<td>Telephone Number:</td>
<td><input name="TextNumber" type="text" size="40" maxlength="30" /></td>
</tr>
<tr>
<td colspan="2">How did you hear about us?<p>
<input type="radio" name="radioQuestion" value="1" />Website
<input type="radio" name="radioQuestion" value="2" />Magazine
<input type="radio" name="radioQuestion" value="3" />Newspaper
<input type="radio" name="radioQuestion" value="4" />Recommendation<br />
Other:<input type="text" name="other" size="40" maxlength="30" /></p>
</td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="Submit Enquiry" /></td>
</tr>
</table>
</form>

</div>

<div id="footer">
BrianDePalma.com <br />Copyrighted 2008
</div>
</div>

<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</body>
</html>[/html]
Mar 31 '08 #1
2 1474
drhowarddrfine
7,435 Recognized Expert Expert
Validate your html and css for your list of errors.
Mar 31 '08 #2
bartdebruin
2 New Member
hmm u host an adult website? are you that guy spamming my mailbox all the time ??
Mar 31 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Mik Foggin | last post by:
Hi folks, I'm working on a site using css-p for all the layout and rollovers etc. I've hit a bit of a brick wall with a couple of elements though and thought someone here could help me out. ...
4
by: Corona | last post by:
I have some CSS that behaves perfectly in Firefox but not in IE 6.x. I'm hoping someone has a suggestion to fix the problem. This is the CSS i'm using: ..content { position:relative;...
5
by: Craig Keightley | last post by:
Please help, i have attached my page which worksin IE but i cannnot get the drop down menu to fucntion in firefox. Any one have any ideas why? Many Thanks Craig ...
2
by: Dominic | last post by:
Hi everybody, I'm planning to use serialization to persist an object (and possibly its child objects) in my application. However, I'm concerned about the backward compatibility issue. I'm...
1
by: mehdi_mousavi | last post by:
Hi folks, The following code works fine under IE, but it doesn't work under firefox: var wnd = parent.frames, link = ''; //initialize link variable... //removed for clarity... ...
6
by: Mark Rae | last post by:
Hi, I realise that this post isn't ABSOLUTELY to do with ASP.NET, but can anyone please confirm whether pixels are different on Windows and Macs? Reason I ask is that one of my current clients...
34
by: Simon Wigzell | last post by:
document...focus() will scroll the form to move the specified text field into view on everything I have tried it with except Safari on the MAC. The form doesn't move. Any work around? Thanks.
4
by: dreamamit2001 | last post by:
Hi, I would like to know the ASP.NET2.0's(Controls, Menubar, Validations, Object Data Souce Controls, Treeview Control) compatibility with IE5.0 browser on Mac OS. If I don't use Client side...
57
by: HEX | last post by:
Have a site under development which works with both IE and Mozilla Firefox. Three MAC users accessed site and two have a small problem with one page and the other recently went to the new Leopard...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.