I just viewed one of my .aspx pages using Netscape 7.1 I was surprised to see that it did not recognise any of the "aesthetic properties" I had applied to the page. Is that norrmal? Is there any way round it? Is there anything else in ASP.NET that is not recognised
by Netscape? I am pretty new to ASP.NET and I would appreciate any guidance in this area. Thanks Mark Barrett
> I was surprised to see that it did not recognise any of the "aesthetic properties" what aesthetic properties are these? NN7.x has very, very good CSS support, pretty much 100% HTML4.0 and so on - if you've applied IE-specific stuff I wouldn't be surprised,
but I can't tell from here. As ASP.NET goes, ASP.NET itself is a server-side framework, so the client-side issue is not
really an ASP.NET problem, though ASP.NET webforms try to blur the line, of course. a number of these controls still treat NN as a 'downlevel' browser, even though it's perfectly capable of many of the the same things as IE with only minor tweaks to
the client-side code. there are ways around all these problems - it's not like Netscape/Mozilla is a poor platform - in many ways it's superior to IE, it's just a matter of building your sites in a cross-platform manner - can I suggest www.alistapart.com as
a good starting point for cross-platform design, as well as www.webstandards.org j
RTFM - straight talk for web developers. Unmoderated, uncensored, occasionally unreadable
Atrax Many thanks for your help with this. To demonstrate the problem I have made a simple .aspx page using the Web Matrix Project. I just put on it 4 text boxes with different backgrounds and borders. (My tutorial calls these Aesthetic properties) The page
is at: http://www.aboutnelson.co.uk/properties.aspx If I view it the page in IE I see the different properties in Netscape I don't. The code for the first Text Box is I would appreciate your comments. Have I missed something really basic here?? Mark
Barrett
yeah, I see. do a view->source on that page Mark. you'll see that the ASP.NET web control has arbitrarily decided that Netscape can't handle the 'advanced' stuff and so it's not sending the code to the browser. compare and contrast the two, IE and Netscape,
then try running the output from IE in an HTML page in netscape. hmmmm.... If I were a more cynical man I'd say that this is a case of MS unfairly advancing IE's market-share stranglehold yet again, but of course
I'm not that cynical anyway, I'd advise you to forget about the ASP:TextPox control and use <input type="text" runat="server" style="background-color:#80FFFF;border-style:Dashed;" /> instead. then you don't get someone else's code making arbitrary design
decisions on your behalf. Dunno if textpox supports a style attribute with which you can force your opinions on it, since I don't use it. ever. and a final note. this is my biggest complaint with the framework at large - the assumption that only IE can handle
stylesheets and dHTML. Someone do something about this!!!
RTFM - straight talk for web developers. Unmoderated, uncensored, occasionally unreadable
Atrax Thank you for that comprehensive reply - and you are right it works! YOU GUYS ARE REALLY GREAT!! You are helping me to get my head round this subject, and it certainly helps my confidence that my question made sense. Can you just help with 2 last questions:
- the alternative you gave me - is that Visual Basic? My next project after this is to get to grips with VB.NET. - in my control I had the ID= bit, would the Visual Basic for that be Name= ? Thanks again Mark Barrett
> - the alternative you gave me - is that Visual Basic? My next project after this is to get to grips with VB.NET nah, you can use it in any ASP.NET language > - in my control I had the ID= bit, would the Visual Basic for that be Name= ? nope, still ID. in
HTML it would be name="" but the framework sorts all that out for you. j
RTFM - straight talk for web developers. Unmoderated, uncensored, occasionally unreadable
Mark Barrett
Member
55 Points
11 Posts
Aesthetic properties viewed in Netscape
Aug 11, 2003 10:40 AM|LINK
Atrax
All-Star
18705 Points
3733 Posts
Re: Aesthetic properties viewed in Netscape
Aug 11, 2003 12:14 PM|LINK
Jason Brown - MVP, IIS
Mark Barrett
Member
55 Points
11 Posts
Re: Aesthetic properties viewed in Netscape
Aug 11, 2003 03:38 PM|LINK
Atrax
All-Star
18705 Points
3733 Posts
Re: Aesthetic properties viewed in Netscape
Aug 12, 2003 12:24 AM|LINK
Jason Brown - MVP, IIS
Mark Barrett
Member
55 Points
11 Posts
Re: Aesthetic properties viewed in Netscape
Aug 12, 2003 12:16 PM|LINK
Atrax
All-Star
18705 Points
3733 Posts
Re: Aesthetic properties viewed in Netscape
Aug 13, 2003 04:30 AM|LINK
Jason Brown - MVP, IIS