469,917 Members | 1,420 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

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 1874
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Drew Martin | last post: by
20 posts views Thread by B Wooster | last post: by
10 posts views Thread by Jesper Rønn-Jensen | last post: by
12 posts views Thread by Brad | last post: by
2 posts views Thread by Steve D. | last post: by
3 posts views Thread by SAL | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.