473,320 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

browser compat issue

AVL
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*",Reg exOptions.IgnoreCase))
{
Response.Write("browser isNetscape");
this.TextBox1.Attributes.Add("Wrap","physical") ;
}
Can anyone help out
Feb 10 '06 #1
3 1061
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

"AVL" <AV*@discussions.microsoft.com> wrote in message
news:EB**********************************@microsof t.com...
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*",Reg exOptions.IgnoreCase))
{
Response.Write("browser isNetscape");
this.TextBox1.Attributes.Add("Wrap","physical") ;
}
Can anyone help out

Feb 10 '06 #2
AVL
Can I know more about this auto generated CSS class?

"wa********@newsgroups.nospam" wrote:
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

"AVL" <AV*@discussions.microsoft.com> wrote in message
news:EB**********************************@microsof t.com...
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*",Reg exOptions.IgnoreCase))
{
Response.Write("browser isNetscape");
this.TextBox1.Attributes.Add("Wrap","physical") ;
}
Can anyone help out


Feb 10 '06 #3
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

"AVL" <AV*@discussions.microsoft.com> wrote in message
news:F7**********************************@microsof t.com...
Can I know more about this auto generated CSS class?

"wa********@newsgroups.nospam" wrote:
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

"AVL" <AV*@discussions.microsoft.com> wrote in message
news:EB**********************************@microsof t.com...
> 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*",Reg exOptions.IgnoreCase))
> {
> Response.Write("browser isNetscape");
> this.TextBox1.Attributes.Add("Wrap","physical") ;
> }
>
>
> Can anyone help out


Feb 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Tony Marston | last post by:
If the use of the browser's BACK button is interfering with the operation of your web application then take a look at this article entitle "Back Button Blues" ...
11
by: Duane Lambe | last post by:
Hi folks - site's at http://www.datawire.net/files/intranet.html ; works fine in IE, but open in Firebird/Moz/Opera, and you can see that the word "Home" near the top doesn't move down to line up...
115
by: J | last post by:
I've run CSSCheck on my style sheets and I always get a warning similar to this: "font: bold 9pt/100% sans-serif Warning: Absolute length units should not generally be used on the Web ..." ...
1
by: sreak | last post by:
Need to find the cause of the following error: The sample code goes as follows:( file name version.cpp ) #include <iostream> struct version { int val; }; int main()
12
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical...
2
by: Eric Caron | last post by:
Hi everybody, I was doing some cross-browser tests today and I found out that if you specify the width and height for a button type control, asp.net doesn't output the style information when...
7
by: SStory | last post by:
I make a page that looks good in IE/Avant, but the font size is really big in FireFox and the textboxes don't stay at their specified widths. Is there a way to get these 3 main browsers to...
5
by: ns21 | last post by:
How can the browser back button be disabled If the form is submitting information to other pages or submitting to itself or using redirections. I tried the tweaks like history.forward(1) in each...
2
by: SeanInSeattle | last post by:
Hey all. I'm working on a fairly large XSL file along with an external css file for my xml data. I'm running into cross browser issues. The code below works in IE, but not in Firefox 3.0. Any...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.