472,371 Members | 1,394 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,371 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 1955
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: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

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.