473,387 Members | 1,606 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,387 software developers and data experts.

Firefox renders .aspx page differently than .htm -- Same HTML

I have an .aspx page that renders fine in IE6, but it does not render
properly in Firefox. If I change the extension from .aspx to .htm
everything renders just fine in Firefox.

The problem I am having deals with stretching nested tables to fill the
cell they are nested in completely. I have specified the embedded table
to have a height of "100%", but it acts as if no height is given.

Any help would be greatly appreciated.

Thank you,
Jason

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #1
3 2036
And you haven't tweaked rendering for FireFox in configuration? That is,
ASP.NET usess uplevel rendering only for IE by default. other browsers get
HTML 3.2 unless you tweak it yourself. here for example:

A look at ASP.NET's Adaptive Rendering
http://aspnet.4guysfromrolla.com/articles/050504-1.aspx

--
Teemu Keiski
ASP.NET MVP, Finland
"Jason Honn" <ja***@yoursolution.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I have an .aspx page that renders fine in IE6, but it does not render
properly in Firefox. If I change the extension from .aspx to .htm
everything renders just fine in Firefox.

The problem I am having deals with stretching nested tables to fill the
cell they are nested in completely. I have specified the embedded table
to have a height of "100%", but it acts as if no height is given.

Any help would be greatly appreciated.

Thank you,
Jason

*** Sent via Developersdex http://www.developersdex.com ***

Nov 19 '05 #2
Thanks Teemu for the reply, but I have already applied the <browserCaps>
fix in the web config. That fixes some issues but not the specific Issue
I am dealing with now. The HTML that asp.net produces should be fine. I
tested the HTML output of the aspx page by copying the source of the
rendered page then pasted it into an htm file. The htm file produced the
desired reults. I then renamed the htm file extension to .aspx. That
broke it again.

Jason

*** Sent via Developersdex http://www.developersdex.com ***
Nov 19 '05 #3
Hmm, that gets interesting. Especially if it works in FireFox when you use
it in HTML. Maybe it uses different DOCTYPE for the document in question in
that case? Somehow or from somewhere I remember that table's height wouldn't
be available with the strictest DOCTYPE (I might be wrong with this one,
though)

Something like here
http://www.able2know.com/forums/viewtopic.php?t=39084

--
Teemu Keiski
ASP.NET MVP, Finland

"Jason Honn" <ja***@yoursolution.com> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...
Thanks Teemu for the reply, but I have already applied the <browserCaps>
fix in the web config. That fixes some issues but not the specific Issue
I am dealing with now. The HTML that asp.net produces should be fine. I
tested the HTML output of the aspx page by copying the source of the
rendered page then pasted it into an htm file. The htm file produced the
desired reults. I then renamed the htm file extension to .aspx. That
broke it again.

Jason

*** Sent via Developersdex http://www.developersdex.com ***

Nov 19 '05 #4

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

Similar topics

7
by: Drew Martin | last post by:
The page at the below URL renders perfectly in IE6, but is failing horribly in Firefox (0.7, 0.8). I can't figure out why and was hoping someone could take a quick look at it. Most of the layout...
20
by: B Wooster | last post by:
There is a page that shows Firefox 1.0 render text differently for CSS as compared to FONT FACE for one particular font: http://www.aczoom.com/fonts/xdvng.ttf is the font that does not work. ...
10
by: Jesper Rønn-Jensen | last post by:
Hope you can help me out on this one. I have a a box that is floated right. Below (in the normal float) I have a wide table. <body> <div style="float:right; width:200px">...</div> <p>This...
3
by: Dave | last post by:
I am designing a web page using VS2003 ASP.NET. The page contains various DIVs (panels), one of which is in grid layout. The controls in this DIV render correctly in IE, but when using Firefox they...
12
by: Brad | last post by:
Does anyone have any other solutions to the Firefox rendering problems with ASP.NET? I've tried the <browsercaps> web.config trick. It didn't work. Am I overlooking something else? Thanks!
3
by: Paul | last post by:
I found a great site for CSS tempaltes, http://blog.html.it/layoutgala/ . I downloaded them, and played around with them. Then I tried to use the template in as ASP.Net MasterPage, but everything...
2
by: Steve D. | last post by:
I am using a MasterPage where the middle column - in a table of 3 columns - contains the ContentPlaceholder. Within this ContentPlacehoder, on a different page, I use tables to layout sections...
7
by: Mel | last post by:
I have an update panel that has the UpdateMode set to "Conditional". When I call UpdatePanel1.Update() in the VB code it does not work in FireFox. It works just fine in Internet Explorer 6.0. Any...
3
by: SAL | last post by:
Hello, I did google this issue and found some stuff related to BrowserCaps section of either web.config or machine.config but it didn't work. It seems that most pages in my webapp are okay but a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.