473,943 Members | 29,632 Online
Bytes | Software Development & Data Engineering Community
+ 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.dt d">
<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="SpryAsset s/SpryMenuBarHori zontal.css" rel="stylesheet " type="text/css" />
<script type="text/javascript">
function checkall(frmEnq uiry)
{
if (frmEnquiry.txt Name.value == "")
{
alert ("You must enter a name");
return (false);
}
if (frmEnquiry.txt Email.value == "")
{
alert ("You must enter a email address");
return (false);
}
if (frmEnquiry.Tex tNumber.value == "")
{
alert ("You must enter a phone number");
return (false);
}
if(isNan(frmEnq uiry.TextNumber .value) || (frmEnquiry.Tex tNumber.value== ""))
{
alert("enter a valid phone number");
return (false);
}
}


</script>
</head>

<body>
<div id="wrapper">
<div id="header"><im g src="banner1.jp g" alt="Brian De Palma.com" width="720" height="100" /></div>
<div id="nav">
<ul id="MenuBar1" class="MenuBarH orizontal">
<li><a href="index.htm l">Home</a> </li>
<li><a href="profile.h tml" class="MenuBarI temSubmenu">Pro file</a>
<ul>
<li><a href="gallery.h tml">Gallery</a></li>
<li><a href="info.html ">Other Info</a></li>
</ul>
</li>
<li><a href="hmovies.h tml" class="MenuBarI temSubmenu">Mov ie History</a>
<ul>
<li><a href="htrailers .html">Trailers </a></li>
</ul>
</li>
<li><a href="umovies.h tml" class="MenuBarI temSubmenu">Upc oming Movies</a>
<ul>
<li><a href="utrailers .html">Trailers </a></li>
</ul>
</li>
<li><a href="opinion.h tml" class="MenuBarI temSubmenu">You 're Opinion</a>
<ul>
<li><a href="favmov.ht ml">Favourite Movie</a></li>
<li><a href="favact.ht ml">Favourite Actor</a></li>
</ul>
</li>
</ul>
</div>
<div id="content">
<form method="post" action="sendDet ails.asp" onsubmit="retur n checkall(this); " action="senddet ails.asp">
<input type="hidden" name="receiver3 " value="adam87@l ive.co.uk" />
<table width="500px" cellpadding="10 px" align="center">
<tr>
<td colspan="2"><sp an 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">Nam e:</td>
<td width="385"><in put 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="TextNumbe r" type="text" size="40" maxlength="30" /></td>
</tr>
<tr>
<td colspan="2">How did you hear about us?<p>
<input type="radio" name="radioQues tion" value="1" />Website
<input type="radio" name="radioQues tion" value="2" />Magazine
<input type="radio" name="radioQues tion" value="3" />Newspaper
<input type="radio" name="radioQues tion" value="4" />Recommendation <br />
Other:<input type="text" name="other" size="40" maxlength="30" /></p>
</td>
</tr>
<tr>
<td colspan="2"><in put type="submit" value="Submit Enquiry" /></td>
</tr>
</table>
</form>

</div>

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

<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.Men uBar("MenuBar1" , {imgDown:"SpryA ssets/SpryMenuBarDown Hover.gif", imgRight:"SpryA ssets/SpryMenuBarRigh tHover.gif"});
//-->
</script>
</body>
</html>[/html]
Mar 31 '08 #1
2 1518
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
2100
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. Test page is available at http://www.aoov50.dsl.pipex.com/flowers/test.htm I've included all the css as inline rather than linked so the source code
4
1772
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; margin-left:10%; margin-right:10%; width:80%;
5
3013
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 <<<<<<<<<<<<<<CODE>>>>>>>>>>>>>>>> <html>
2
6225
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 evaluating if we can easily resolve this issue. For example, I have a class MyClass consisting of 100 fields.
1
1021
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... wnd.m_ctrlNavBar.innerHTML = unescape(link);
6
1166
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 is a heavy Mac user, and the website I'm developing for them looks very different on their Macs from the way it looks on Windows browsers. The common denominator seems to be specifying table dimensions in pixels.
34
3904
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
1952
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 Vbscript and Activex control, will the site developed in Asp.net2.0 work fine on IE5.0 Mac Os? Any body who has viewed the working of ASP.NET2.0 with rich controls
57
4816
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 release with Safari V3.0.4. browser. This user has big problems with a couple of pages. A couple of users have older Safari and one has Firefox. They experience the minor issue. Is developing a site with Windows and targeting IE and Firefox as the...
0
9970
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11125
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11299
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7390
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6087
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6308
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4510
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3511
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.