Cross-browser compatibility problem

Discussion in 'ASP.NET / ASP.NET Core' started by JAgiato, Dec 24, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Happy holidays all!

    Please note that I am not a GUI guy, hence the question that is probably obvious to some (maybe most)of you.

    My website, http://www.agiato.net was created in VS.NET 2003. I just used the flow layout to create the boring, simple GUI you will see there, and stylesheets. The problem is that in Internet Explorer, it looks the way I intended it to but when I view it in Netscape or FireFox the whole site looks awful. Please see http://www.agiato.net/CourseTracker for another example of this. Strangely enough (to me at least), if you see http://www.agiato.net/PasswordGeneratorit looks almost the same in IE and Netscape, with the exception that the textbox gets screwed up in Netscape (shrunken down).

    Does anyone have any advice in this matter? I am usually a back end guy but I would like to have my front ends look at least somewhat professional across browsers when I end up making them. Thanks and happy holidays!

    Jon Agiato
    [email protected]
    http://www.agiato.net
     
  2. As far as the text box widths being different in IE and Mozilla, the fix is easy.

    In your asp:TextBox html definition, replace <u>width='xxx'</u> with <u>style='width:xxx;'</u>

    Also use the same procedure for any asp web control style definitions that use non-css standard names, i.e. 'backcolor='green''' shold be replaced with 'style='background-color:green;'
     
  3. Hi Scott,


    Thanks for your help. Is there any way I can set VS to only produce cross-compatible script? It's pretty annoying to have to go around and alter each pages html, especially in large sites.


    Hope you are enjoying your holiday.
    Jon Agiato
    [email protected]
    http://www.agiato.net
     
  4.  
  5. Ive found that Konqueror has the best compatibility on Linux. None of the others I've tried except FireFox comes close but Konqueror is the best. It might be worth mentioning to your users. FireFox still has issues though.

    Also, IE looks the same whether the site is rendered on Windows or Linux (under Mono/XSP) but Mozilla browsers (except Konqueror) all look bad when going against an IIS ASP.NET server but fair better when going against Mono's XSP server.

    The down side is that if you think cross-browser compatibility is tough, try cross-site compatibility using Mono/XSP, it actually works out well if you stick with standard .NET controls, I've found problems with vendor controls on Mono.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page