473,398 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Form problem in Firefox

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 2368
drhowarddrfine
7,435 Expert 4TB
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
@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 Expert 4TB
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
@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 Expert 4TB
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 Expert 2GB
@jerrydigital
Jerry, I also recommend validating your code (see validator.w3.org - 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
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 Expert 2GB
@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
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...
4
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...
35
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...
8
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 ) ...
11
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...
4
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...
18
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...
2
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...
11
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. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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,...
0
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...

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.