Last post Jan 19, 2008 08:02 AM by scott@elbandit.co.uk
Member
62 Points
46 Posts
Jan 18, 2008 01:10 AM|ravi.ambar|LINK
Whenever I trying to design web page there is one problem. that is browser capabilities
i found solution at
http://aspnet.4guysfromrolla.com/articles/050504-1.aspx
just copy paste this code in web.config under system tag
<!-- GECKO Based Browsers (Netscape 6+, Mozilla/Firebird, ...) //--> <case match="^Mozilla/5\.0 \([^)]*\) (Gecko/[-\d]+)? (?'type'[^/\d]*)([\d]*)/(?
asp.NET 2.0
Contributor
7324 Points
1846 Posts
Jan 19, 2008 08:02 AM|scott@elbandit.co.uk|LINK
Brilliant Thanks!
Member
62 Points
46 Posts
Adjust Different Brwoser for web page design
Jan 18, 2008 01:10 AM|ravi.ambar|LINK
Whenever I trying to design web page there is one problem. that is browser capabilities
i found solution at
http://aspnet.4guysfromrolla.com/articles/050504-1.aspx
just copy paste this code in web.config under system tag
<!-- GECKO Based Browsers (Netscape 6+, Mozilla/Firebird, ...) //-->
<div class="gmail_quote"><case match="^Mozilla/5\.0 \([^)]*\) (Gecko/[-\d]+)? (?'type'[^/\d]*)([\d]*)/(?
browser=Gecko
type=${type}
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'
version=${version}
majorversion=${major}
minorversion=${minor}
<case match="^b" with="${letters}">
beta=true
</case>
</case>
</case>
<!-- AppleWebKit Based Browsers (Safari...) //-->
<case match="AppleWebKit/(?'version'
browser=AppleWebKit
version=${version}
majorversion=${major}
minorversion=0.${minor}
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="AppleWebKit/(?'version'
type=${type}
</case>
</case>
<!-- Konqueror //-->
<case match = "Konqueror/(?'version'(?'major
browser=Konqueror
version=${version}
majorversion=${major}
minorversion=${minor}
platform=${platform}
type=Konqueror
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>
</browserCaps> </div><div class="gmail_quote"> </div><div class="gmail_quote"> </div><div class="gmail_quote">change HtmlTextWriter to Html32TextWriter </div>
asp.NET 2.0
Contributor
7324 Points
1846 Posts
Re: Adjust Different Brwoser for web page design
Jan 19, 2008 08:02 AM|scott@elbandit.co.uk|LINK
Brilliant Thanks!