473,549 Members | 2,935 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2042
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***@yoursolu tion.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.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***@yoursolu tion.com> wrote in message
news:ei******** ******@TK2MSFTN GP12.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
3653
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 is done through the use of floats. HTML file: http://superdisco.net/css/index.html CSS file: http://superdisco.net/css/sd.css The gray and...
20
12380
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. http://www.aczoom.com/isongs/0/t_ff.html is the test page - that has shows the line "This is using CSS to specify xdvng:" show up with the default...
10
10270
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 paragraph is showed correctly</p> <table style="width:300px"> <tr><td>This table is not moved downwards in Firefox. </td></tr> <tr><td>IE gets it...
3
2353
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 are incorrectly positioned. VS sets the positioning of the controls to absolute, and because the DIV is to the right of another DIV Firefox...
12
2033
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
2076
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 seems to break. For example, Number 13 is coded as follows: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
2
1366
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 of my form. The form renders as I would expect in IE7. In FireFox, the column widths are all out of whack - mostly, they are too wide. Looking...
7
3322
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 ideas on how to fix it so it works in FireFox 2.0.0.14?
3
2414
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 couple of the Firefox is munging up. So, on my information page there is a gridview in the content section of the page. The masterpage contains...
0
7446
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7469
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7808
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6040
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5087
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1935
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.