473,625 Members | 3,064 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Form problem in Firefox

67 New Member
Hi, does anyone know of a good route to take to allow users with Firefox and other browsers other than Internet Explore to use my website?

My website is working great on Internet Explorer but I just found out that in Firefox users can't enter any information in the form fields plus there are random font issues throughout the pages.

Can anyone direct me to a tutorial or idea how to be universal since most people I know are starting to use Firefox?

Thanks --Jerry
Dec 16 '08 #1
8 2379
drhowarddrfine
7,435 Recognized Expert Expert
IE is the worst browser on the planet, so if you used it to originally markup your site, it means you coded to a bug. Firefox, along with Safari and Opera, is the most standards compliant and modern browsers around. So, if it doesn't work in FF, it can only mean your code was misguided by IE and is now buggy itself.

There is no tutorial or guideline to fix this. To be "universal" means coding to the W3C standard, as everyone should. One start would be to validate your html and css to make sure there are no errors there. A question would be do you have a proper doctype?

As you fix your code, make sure you always use the most modern, standards compliant browser you can find to test your code. That means, use anything but IE. Firefox has excellent developer tools and is the reason many use it as their test bed. Test your page in FF as you go along, then look to see if IE screws it up.

It's better to catch IEs bugs early. There are hundreds of sites dedicated to fixing IE bugs, and most of us know the usual solutions.

One good thing would be to post a link to your site. A casual glance and we can get you started in addition to the points mentioned above.
Dec 16 '08 #2
afrog4u2
5 New Member
@jerrydigital
My recent exploits into this realm have seen exactly what you are now. A lot of the differences seem to be in the differences in how IE 7- and Firefox 3 implement their box model. I still can't make some things work, but I have been able to find a work around that works in BOTH browsers.

See QuirksMode for some good information on browser differences (primarily shows differences in css and javascript).
QuirksMode - for all your browser quirks

Issues with forms usually center around making sure that the <form></form> tag properly surrounds all of the form controls on the page - IE tries to play nice and sort of allows non form bounded controls to act like they are form bounded. Firefox may act differently depending on the version but pretty much will pretty much never give those rogue controls any respect.

I could go on, but I am knee deep in paperwork for my "real work" project.

Cheers.
Dec 16 '08 #3
drhowarddrfine
7,435 Recognized Expert Expert
To the contrary...

Peter-Paul Koch has some good stuff on his site but I thought he was considered a javascript expert more than anything else. I really don't understand where he gets off on some of the things he shows. Just now I went there to see if he's changed his ways but he has not. He publishes "bug reports" and links to 3rd parties but these reports have errors in them and, if you fix the errors, the "bug" goes away.

Maybe I misread how he writes but I've been thrown for a loop several times on his page when I first started learning and I just don't trust what he has there.
Dec 16 '08 #4
afrog4u2
5 New Member
@drhowarddrfine
PPK does have some good info on Javascript, but he has done a lot of testing with different browser versions and his information on CSS and differences between browsers is extremely insightful and informative. I have not found ANY other site on the web which has as much depth.

But alas, that is not enough as I have had to research even past his site - for javascript and CSS when working to make both browsers behave.

And in the end to fix anything in the browser it nearly always comes down to something in CSS and/or how the box model is implemented. Life would be easier if all the browsers worked the same, but that would probably put some of us out of a job. (Hmmmmm... that might mean there would be a conspiracy between all the different browser vendors - or maybe their respective development teams.)

Cheers
Dec 16 '08 #5
drhowarddrfine
7,435 Recognized Expert Expert
As long as you code to standards, generally the only browser you'll have issues with is IE. Here is one web site I like to use as a quick reference.
Dec 16 '08 #6
jhardman
3,406 Recognized Expert Specialist
@jerrydigital
Jerry, I also recommend validating your code (see validator.w3.or g - just type in your url or paste the code and it checks for errors in your code). Most browser differences are caused by different browsers handling errors in the code differently.

The other thing I have found is that the strictest doctypes (don't use transitional if you can help it) have the most consistent experience. Once it took all day for me to figure out why FF and Safari showed the same "mistake" but IE was showing what I intended, even though there was no error in the validation. When I changed the doc to HTML strict an error showed up, and when that was solved the page was fixed in all browsers.

Jared
Dec 16 '08 #7
jerrydigital
67 New Member
Thank you all for your input. I will check out those websites later today.

I have been making several changes and it's going pretty good. I have two major issues that come to mind. First, I can only right click to enter information in text boxes in FireFox. This is very unnatural for my users and I need to figure out how to change this. Second, I like to use <br> in IE to go to the next line but in FireFox this causes a complete blank line.
Dec 20 '08 #8
jhardman
3,406 Recognized Expert Specialist
@jerrydigital
A better solution would be to use javascript to put focus on a textbox when the page loads and set the tab order of the controls so the user can tab through them
Second, I like to use <br> in IE to go to the next line but in FireFox this causes a complete blank line.
Instead, try a block style display in css and specify line spacing. These are standard HTML questions.

Jared
Dec 24 '08 #9

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

Similar topics

15
2783
by: Dominic Tocci | last post by:
When I submit a form to an asp page, the request.form is not getting the data. This only happens on my local copy of IIS, and not on my web host. It's a simple request.form, so I know it's not a coding issue. The pages all load fine and access the MSAccess database perfectly. However, when I submit a form (even the login form) to another asp page, the data is not received by the target page. Why would this happen locally and not on...
4
9294
by: Stuart Perryman | last post by:
Hi, I have the following code which works just fine in IE6 but not in Firefox. It is an extract of several table rows each with an individual form. It is generated by php. <form action="MaintNotification.php?ReqID=5" method="post" name="frm5"> <tr align="left" bgcolor="#dddddd" class="text" onClick="submit()"
35
2047
by: Aaron Gray | last post by:
Hi, I have some code I just cannot seem to get to work properly on FireFox. It is probably something simple. On FireFox the following code does not seem to terminate in the browser, but it works fine on IE :- http://angray.members.beeb.net/Test/Test5.html
8
5724
by: Adam | last post by:
Hey, I'm using JS to submit a form with image submit buttons, using the following code... (Page is here... http://www.cards2do.co.uk/addcard.php?card_id=292 ) ************************************************************************************** <form action="https://www.cards2do.co.uk/addcard.php" method="post"
11
2233
by: shankwheat | last post by:
I have a function which passes text from txtdebt to debtsbox which works fine. However, I want to add code which examines the value of debtsbox and if any of the values the user entered contain the string "d" then I want to emable rblDebts which is disabled when the page loads. This part is not working (no errors) and I'm not sure why. Thanks. <script type="text/javascript" language="JavaScript"> <!-- Begin oldvalue = "";
4
9737
by: Tim Mackey | last post by:
hi, asp.net 2. can anyone explain why this code does not work in firefox (2.0.0.1), but does work in IE 7. if you hit enter after typing something into the textbox, it should fire the Submit button click handler, instead it fires the event for the bogus button above it. btw it doesn't matter if i set it to ClientID, UniqueID or "btnSubmit" hard-coded, they all fail. <form id="form1" runat="server"> <asp:Button ID="Button1"...
18
13112
by: NavinM | last post by:
I have a couple of forms that are misbehaving in FireFox, but work fine in IE. when i do submit( with submit button) a javascript function validates all of the fields entered, and stops the submission if there is an error. Sample (obviously not working code): <html> <head> <script type="text/javascript"> function Submit() {
2
1424
by: awi | last post by:
Hi Everyone, I'm facing a unique problem when testing with FireFox (at least, I think its unique). Here is the situation: I have a page setup that looks like this: <form id="abcForm"> <div id="abcDiv"> HTML TABLE HERE WITH FORM FIELDS AND SUCH. </div>
11
4217
by: dhtml | last post by:
(originally mis-posted on m.p.s.jscript...) I've just closed all windows in Firefox and its using 244MB of memory. I have no idea why. I had GMail open, a page from unicode, the CLJ FAQ. I've noticed that createElement leaks. It's obvious with form controls because the form keeps the control name as a property. Example:
0
8259
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8696
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8637
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...
0
8502
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6119
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5571
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
4090
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
4195
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1504
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.