Problem of ASP.NET pages with Mozilla

Last post 06-02-2007 10:49 PM by Hong-Gang Chen - MSFT. 3 replies.

Sort Posts:

  • Problem of ASP.NET pages with Mozilla

    05-31-2007, 5:50 AM
    • Member
      332 point Member
    • imtiaz_durrani
    • Member since 05-24-2007, 6:20 AM
    • Lahore, Pakistan
    • Posts 83

    All of controls are displaced when asp.net pages are displayed in Mozilla. Does any body has solution?

    Imtiaz Durrani
    E-Lecturer Software Projects and Research
    Virtual Univeristy of Pakistan
  • Re: Problem of ASP.NET pages with Mozilla

    05-31-2007, 7:10 AM
    • Participant
      1,562 point Participant
    • addie
    • Member since 03-02-2007, 11:12 AM
    • Posts 291

    A little more detail would have helped, how exactly are you creating your layout (tables, css ...)?

  • Re: Problem of ASP.NET pages with Mozilla

    06-01-2007, 1:13 AM
    • Member
      332 point Member
    • imtiaz_durrani
    • Member since 05-24-2007, 6:20 AM
    • Lahore, Pakistan
    • Posts 83

    Most of the time i am using tables and CSS for layout in my web application. My observation is this that pages linked to CSS are more displaced and disturbed in Mozilla. I have also changed my web.config file as below but it is not working for the pages following some CSS.Secondly Controls like List Box and drop downlists are badly displaced. Similarly i have use login control of asp.net. It seems funny to view that control in Mozilla. Please if someone can solve this problem

     

    <
    browserCaps>

    <case match="^Mozilla/5\.0 \([^)]*\) (Gecko/[-\d]+)(?'VendorProductToken'

    (?'type'[^/\d]*)([\d]*)/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)))?">

    browser=Gecko

    <filter>

    <case match="(Gecko/[-\d]+)(?'VendorProductToken'

    (?'type'[^/\d]*)([\d]*)/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)))">

    type=${type}

    </case>

    <case>

    <!-- plain Mozilla if no VendorProductToken found -->

    type=Mozilla

    </case>

    </filter>

    frames=true

    tables=true

    cookies=true

    javascript=true

    javaapplets=true

    ecmascriptversion=1.5

    w3cdomversion=1.0

    css1=true

    css2=true

    xml=true

    tagwriter=System.Web.UI.HtmlTextWriter

    <case match="rv:(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*))">

    version=${version}

    majorversion=0${major}

    minorversion=0${minor}

    <case match="^b" with="${letters}">

    beta=true

    </case>

    </case>

    </case>

    </browserCaps>

     

    Some other solution ??????

    Imtiaz Durrani
    E-Lecturer Software Projects and Research
    Virtual Univeristy of Pakistan
  • Re: Problem of ASP.NET pages with Mozilla

    06-02-2007, 10:49 PM
    Answer

    Hi,

    See the following code: 

    <div  style="MARGIN-TOP: 16px!important; MARGIN-TOP: 10px; MARGIN-RIGHT: 28px" align="right">

    IE:<div  style="MARGIN-TOP: 16px!important; MARGIN-TOP: 10px; MARGIN-RIGHT: 28px" align="right"> will rander as follows:

    <div  style="MARGIN-TOP: 10px; MARGIN-RIGHT: 28px" align="right">

    Firefox: 

    <div  style="MARGIN-TOP: 16px!important; MARGIN-TOP: 10px; MARGIN-RIGHT: 28px" align="right"> will rander as follows:

    <div  style="MARGIN-TOP: 16px!important;  MARGIN-RIGHT: 28px" align="right"> 

    MARGIN-TOP: 16px!important : the property of "!important" do not supported by IE, but it was supported by other browsers.

    Therefore, the key to solve your problem is how the FireFox works.

    To know more about FireFox, please visit:

    http://www.supernova00.biz/userchrome.html

    http://forums.mozillazine.org/viewtopic.php?t=551820

    http://west-wind.com/WebLog/posts/1463.aspx

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Hope it helps,

    Hong Gang

    Hong-Gang Chen
    Microsoft Online Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (4 items)