Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: FireFox display issue
03-26-2007, 09:44 PM #1
- Join Date
- Mar 2007
- Thanked 0 Times in 0 Posts
FireFox display issue
I have an issue with FireFox, perhaps firefox is simply not capable of displaying this type of page, or perhaps someone has a suggestion for me.
I have a relatively simple page with three tables on it. The first table contains a header control (.ascx)
The middle table has one row with a .ascx menu control in the left most cell that causes the cell to grow quite long, and in the other cell there is another .ascx which generated a dynamic table with 1 to n rows within it depending on data.
The Third Table has a footer .ascx control in it.
All works fine provided the dynamic table does not grow too large. If it stays smaller than the height of the menu in cell 1 then all is well and the page displays correctly. However if it grows to a size larger than the menu control does then the footer displays in the middle of the table somewhere.
It is almost as if firefox allows the dynamic table to display outside of the table cell it is in instead of causing the cell to grow in height as one would expect.
This page seems to work just fine in IE and other browsers but firefox seems incapable of handling it.
Does anyone have any suggestions? Is there something I can do to cause this display to function correctly in firefox as it does in other browsers?
03-26-2007, 09:56 PM #2
- Join Date
- Jun 2005
- Near Chicago, IL, USA
- Thanked 32 Times in 31 Posts
.NET simply generates html from user controls.
My guess, were it my page...
Either the doctype is wrong, the html is invalid, or the CSS is incorrect. Firefox is not as forgiving a browser as IE. I would take the generated html (view source) and run it through validators as a starting point.
If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit http://www.kaelisspace.com/