473,399 Members | 2,159 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,399 software developers and data experts.

Yik - ASP.NET is NOT Firefox friendly!

Hi,

To my great dismay and disgust - I just discovered that ASP.NET is rendering
the aspx pages differently for the Firefox browser - with disastrous
results.

Below are the renderings of a TextBox for IE and Firefox browsers
respectively:
<input name="txtName" type="text" value="abcd" id="txtName"
style="width:464px;Z-INDEX: 114; LEFT: 80px; POSITION: absolute; TOP: 32px"
/><input name="txtName" type="text" value="abcd" id="txtName"
style="Z-INDEX: 114; LEFT: 80px; POSITION: absolute; TOP: 32px" />
As you can see the "width" attribute is being left out for Firefox. I
check - Firefox is able to display the page rendered for IE properly.Is
Firefox being treated as a second class browser or what?I am really
disgusted.Regards,Yee
Nov 19 '05 #1
4 1288
While I am certainly no expert on the subject I don't think firefox is
being targeting. Firefox is a new browser, and is probably being treated as
a generic browser, since firefor didn't exist when .net 1.1 was released.

If you search around the net you should be able to find an update to
machine.config which reflects firefox's capabilitys.

Take a look at
c:\windows\microsoft.net\framework\v1.1.4322\confi g\machine.config

and search down to the browser section.

I haven't found firefox treated particularly differently to IE. Width
treatment will be different, simply because IE doesn't always treat the
width parameter as it should, but this is a recognised problem.

Regards

Ian
Nov 19 '05 #2
check out this article it will tell you how to add support for firefox
browser to application.config or machine.config

http://aspnet.4guysfromrolla.com/articles/050504-1.aspx

If you are using a datagrid or datalist you will want to set the 'GridLines'
property explicitly to turn off gridlines in firefox.

These are all the changes I had to make toget firefox to work correctly with
my site.

HTH

Ollie Riches
"YeeCN" <Xn************@pd.jaring.my> wrote in message
news:OC**************@TK2MSFTNGP14.phx.gbl...
Hi,

To my great dismay and disgust - I just discovered that ASP.NET is rendering the aspx pages differently for the Firefox browser - with disastrous
results.

Below are the renderings of a TextBox for IE and Firefox browsers
respectively:
<input name="txtName" type="text" value="abcd" id="txtName"
style="width:464px;Z-INDEX: 114; LEFT: 80px; POSITION: absolute; TOP: 32px" /><input name="txtName" type="text" value="abcd" id="txtName"
style="Z-INDEX: 114; LEFT: 80px; POSITION: absolute; TOP: 32px" />
As you can see the "width" attribute is being left out for Firefox. I
check - Firefox is able to display the page rendered for IE properly.Is
Firefox being treated as a second class browser or what?I am really
disgusted.Regards,Yee

Nov 19 '05 #3

Hello there.
A bit of a shock when you tried it hey :)
On my site I have the code for the config section that will render about 90%
of stuff well in firefox.

www.tirnaog.com
Look in the forums under the Code Vault section.
In the VB. net there is a heading:
Getting your .NET site to look better in NON IE browsers!

Hope this helps,
Deasun
"YeeCN" wrote:
Hi,

To my great dismay and disgust - I just discovered that ASP.NET is rendering
the aspx pages differently for the Firefox browser - with disastrous
results.

Below are the renderings of a TextBox for IE and Firefox browsers
respectively:
<input name="txtName" type="text" value="abcd" id="txtName"
style="width:464px;Z-INDEX: 114; LEFT: 80px; POSITION: absolute; TOP: 32px"
/><input name="txtName" type="text" value="abcd" id="txtName"
style="Z-INDEX: 114; LEFT: 80px; POSITION: absolute; TOP: 32px" />
As you can see the "width" attribute is being left out for Firefox. I
check - Firefox is able to display the page rendered for IE properly.Is
Firefox being treated as a second class browser or what?I am really
disgusted.Regards,Yee

Nov 19 '05 #4
Thanks Ollie Riches & Deasun! I was wondering if i was using the right
tool when i saw my site in Firefox. With you tips now it looks great.
Being a newby i first put the <browserCaps> tag under <configuration>, that
didn't work, until i tried it under <system.web>.

Mark

"YeeCN" <Xn************@pd.jaring.my> wrote in message
news:OC**************@TK2MSFTNGP14.phx.gbl...
Hi,

To my great dismay and disgust - I just discovered that ASP.NET is
rendering
the aspx pages differently for the Firefox browser - with disastrous
results.

Below are the renderings of a TextBox for IE and Firefox browsers
respectively:
<input name="txtName" type="text" value="abcd" id="txtName"
style="width:464px;Z-INDEX: 114; LEFT: 80px; POSITION: absolute; TOP:
32px"
/><input name="txtName" type="text" value="abcd" id="txtName"
style="Z-INDEX: 114; LEFT: 80px; POSITION: absolute; TOP: 32px" />
As you can see the "width" attribute is being left out for Firefox. I
check - Firefox is able to display the page rendered for IE properly.Is
Firefox being treated as a second class browser or what?I am really
disgusted.Regards,Yee

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: effendi | last post by:
Can anyone help me; this code works perfectly in IE but not in NN or Firefox. function fDHTMLPopulateFields(displayValuesArray, displayOrderArray){ for(i=0; i<displayValuesArray.length; i++){...
8
by: lkrubner | last post by:
Am I wrong, or do paragraphs have extra space on top in FireFox, when compared to Microsoft IE. The top of this page is an example: http://www.publicdomainsoftware.org/index.php?pageId=299 The...
18
by: matt | last post by:
hello, i am experiencing a little problem w/ regards to IE & Firefox compatibility (works as expected in firefox, doesnt in IE). i have a container-div element, which contains 1 image, and 2...
13
by: Giggle Girl | last post by:
Hi there, I am having a problem with the behavior of Firefox, where lefthand column content is not resized properly after it is "collapsed" and then "re-expanded". An online demo is available...
15
by: Lennart | last post by:
Hi folks, I have created an animated image gallery in dhtml. It works fine in Internet Explorer. In Firefox, it only works if I ommit the DOCTYPE tag. The page is valid xhtml-strict but with a...
4
by: jackchang1 | last post by:
Hi I should admit at the beginning that I love FireFox very much. But recently there were two FF related issues that bothered me, and I had no idea. The first one is how to use javascript to...
18
by: Diogenes | last post by:
Hi All; I, like others, have been frustrated with designing forms that look and flow the same in both IE and Firefox. They simply did not scale the same. I have discovered, to my chagrin,...
2
by: erobinso | last post by:
In IE it is simple to address form fields with the same name in multiple forms, such as: document.firstform.mode.value='open'; document.secondform.mode.value='new'; etc But in Firefox I am...
3
by: uremog | last post by:
I have a set of of check boxes. onClick, the checkboxes call check_radio and recup_checkbox. the referenced radios function as group selectors. check_radio just unchecks the radios if someone...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...
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
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.