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'
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.
imtiaz_durrani
Member
332 Points
83 Posts
Problem of ASP.NET pages with Mozilla
May 31, 2007 09:50 AM|LINK
All of controls are displaced when asp.net pages are displayed in Mozilla. Does any body has solution?
E-Lecturer Software Projects and Research
Virtual Univeristy of Pakistan
addie
Participant
1562 Points
291 Posts
Re: Problem of ASP.NET pages with Mozilla
May 31, 2007 11:10 AM|LINK
A little more detail would have helped, how exactly are you creating your layout (tables, css ...)?
imtiaz_durrani
Member
332 Points
83 Posts
Re: Problem of ASP.NET pages with Mozilla
Jun 01, 2007 05:13 AM|LINK
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 ??????
E-Lecturer Software Projects and Research
Virtual Univeristy of Pakistan
Hong-Gang Ch...
All-Star
74695 Points
6767 Posts
Microsoft
Re: Problem of ASP.NET pages with Mozilla
Jun 03, 2007 02:49 AM|LINK
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
If you have any feedback about my replies,please contactmsdnmg@microsoft.com.
Microsoft One Code Framework