browser compat issue

G

Guest

Hi,
I've a issue in browsing web pages in netscape.
I've a multiline text box on my web page. the word wrap for the multiline
text box is not working in netscape...it's extending towwards the right
infinitely....

I've used the below code, but it din't help

if(Regex.IsMatch(Request.UserAgent,"Netscape*",RegexOptions.IgnoreCase))
{
Response.Write("browser isNetscape");
this.TextBox1.Attributes.Add("Wrap","physical") ;
}


Can anyone help out
 
G

Guest

I thought that this had something to do with the auto generated CSS class
that visual studio creates.

You might try checking into that.

J
 
G

Guest

It has to do with the styles that you set for every control. When you set
those styles it is creating it's own css class that it uses to set the
formatting. Of course Microsoft does not want to cater to other browsers so
IE recognizes them and renders them no problem while other browsers dont get
it. Just do some google searches on asp.net compatibility with firefox.

J
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top