473,735 Members | 2,150 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cross browser

I have developed an asp.net application in 2.0 . I need this web page to
have same look and feel in all the browser like IE, mozila , firefox etc.

Please suggest me how to proceed.
Jan 8 '06 #1
5 1546
well see my websites in IE and Mozilla ( tested on Windows , Unix and
Mac )

http://www.bildelskatalogen.se/

http://www.tireponline.de

http://reservdelskatalogen.micro.se/
these were written with VS.Net 2003 ( ASP.NET 1.1 )
i am currently bussy with a new project in 2.0 ( currently on staging
server , it must be ready end february so visit it later to see it
complete )

http://62.58.78.243/
well , the trick is learn javascript and use never the shorter Jscript ,
folllow W3c specs
i code everything by hand i do not use the GUI designer

that`s it :-) ....

regards

Michel Posseth [MCP]
"Ajay Kumar" <Aj*******@disc ussions.microso ft.com> wrote in message
news:A6******** *************** ***********@mic rosoft.com...
I have developed an asp.net application in 2.0 . I need this web page to
have same look and feel in all the browser like IE, mozila , firefox etc.

Please suggest me how to proceed.

Jan 8 '06 #2
First of all, I'd like to tell you that you've got some nice and clean sites
:)

And I totally agree with you Michel. At the moment, hand-coding the sites is
the
only way to achieve the total "PASS" validation on w3c validator and to
create professional sites.

Kindly check out the sites I've done also, they are 100% pass on the
validator and I'm proud of it :) The following sites are done with Visual
Web Developer + ASP.NET 1.1.

- http://www.nmasoft.com
- http://www.jinnikettle.com
- http://www.naymyoaung.name

Work-in-progress sites (ASP.NET 2)...

- http://203.125.247.35/ (this will replace the old
http://www.globalknowledge.com.sg in 2 weeks time)

Based on my experience, I recommend all to use HTML (or XHTML) + CSS for
site
design (instead of inline styles) and hand-code the site for best results!

--
Nay Myo Aung
Technical Trainer / Chief Visual Software Architect
MCP MCSD MCDBA MCT

Email: owN0SPAMner @naymyoauN0SPAM ng.name [remove NOSPAM s]

Homepages:
http://www.naymyoaung.name
http://hyperdisc.unitec.ac.nz/postgrad/aungn01/

"m.posseth" <mi*****@nohaus ystems.nl> wrote in message
news:ee******** ******@TK2MSFTN GP09.phx.gbl...
well see my websites in IE and Mozilla ( tested on Windows , Unix and
Mac )

http://www.bildelskatalogen.se/

http://www.tireponline.de

http://reservdelskatalogen.micro.se/
these were written with VS.Net 2003 ( ASP.NET 1.1 )
i am currently bussy with a new project in 2.0 ( currently on staging
server , it must be ready end february so visit it later to see it
complete )

http://62.58.78.243/
well , the trick is learn javascript and use never the shorter Jscript ,
folllow W3c specs
i code everything by hand i do not use the GUI designer

that`s it :-) ....

regards

Michel Posseth [MCP]
"Ajay Kumar" <Aj*******@disc ussions.microso ft.com> wrote in message
news:A6******** *************** ***********@mic rosoft.com...
I have developed an asp.net application in 2.0 . I need this web page to
have same look and feel in all the browser like IE, mozila , firefox etc.

Please suggest me how to proceed.



Jan 8 '06 #3
What i need to know is that. Is there any special coding needs to be done in
Javascript in order to handle , the contents have same look and feel across
all the browser.

Like traditional we use have javascript code for which checks like this

if( browser is IE and also for version ) then

// do this

else if ( browser is Mozila with version) then
{
//do this

}
else if ( browser is firefox with version) thebn
//do this..

So do we need to some thing like this.

Also can any one help me for sample source code which i need to do.

MY web pages will be generally contents not images...

Thanks in advance , please forward me for sample source code. Waiting
urgently.
Thanks & Regards

Ajay kumar


"Nay Myo Aung" wrote:
First of all, I'd like to tell you that you've got some nice and clean sites
:)

And I totally agree with you Michel. At the moment, hand-coding the sites is
the
only way to achieve the total "PASS" validation on w3c validator and to
create professional sites.

Kindly check out the sites I've done also, they are 100% pass on the
validator and I'm proud of it :) The following sites are done with Visual
Web Developer + ASP.NET 1.1.

- http://www.nmasoft.com
- http://www.jinnikettle.com
- http://www.naymyoaung.name

Work-in-progress sites (ASP.NET 2)...

- http://203.125.247.35/ (this will replace the old
http://www.globalknowledge.com.sg in 2 weeks time)

Based on my experience, I recommend all to use HTML (or XHTML) + CSS for
site
design (instead of inline styles) and hand-code the site for best results!

--
Nay Myo Aung
Technical Trainer / Chief Visual Software Architect
MCP MCSD MCDBA MCT

Email: owN0SPAMner @naymyoauN0SPAM ng.name [remove NOSPAM s]

Homepages:
http://www.naymyoaung.name
http://hyperdisc.unitec.ac.nz/postgrad/aungn01/

"m.posseth" <mi*****@nohaus ystems.nl> wrote in message
news:ee******** ******@TK2MSFTN GP09.phx.gbl...
well see my websites in IE and Mozilla ( tested on Windows , Unix and
Mac )

http://www.bildelskatalogen.se/

http://www.tireponline.de

http://reservdelskatalogen.micro.se/
these were written with VS.Net 2003 ( ASP.NET 1.1 )
i am currently bussy with a new project in 2.0 ( currently on staging
server , it must be ready end february so visit it later to see it
complete )

http://62.58.78.243/
well , the trick is learn javascript and use never the shorter Jscript ,
folllow W3c specs
i code everything by hand i do not use the GUI designer

that`s it :-) ....

regards

Michel Posseth [MCP]
"Ajay Kumar" <Aj*******@disc ussions.microso ft.com> wrote in message
news:A6******** *************** ***********@mic rosoft.com...
I have developed an asp.net application in 2.0 . I need this web page to
have same look and feel in all the browser like IE, mozila , firefox etc.

Please suggest me how to proceed.



Jan 8 '06 #4

Well i thought we said so ,,, the answer is no

in my websites i hav not written a single line of code that is not
compatible in both browsers
if( browser is IE and also for version ) then

// do this

else if ( browser is Mozila with version) then
{
//do this
i have never needed this as i said you may choose to code in browser
specific syntax like the MS Jscript dialect or you can code in Javascript
standard ( i use 1.3 ) wich is understood by both browsers
what is the advantage of Jscript then you may ask ?? well for one thing a
much shorter syntax
with HTML the same thingy ,,,, use the worldwide standards and you should
be safe

this is a nice starting point http://www.w3.org/

if you want sample source well you might look at the sources in the
webbbrowser from the websites we showed you
regards

Michel Posseth [MCP]

"Ajay Kumar" <Aj*******@disc ussions.microso ft.com> wrote in message
news:C8******** *************** ***********@mic rosoft.com... What i need to know is that. Is there any special coding needs to be done
in
Javascript in order to handle , the contents have same look and feel
across
all the browser.

Like traditional we use have javascript code for which checks like this

if( browser is IE and also for version ) then

// do this

else if ( browser is Mozila with version) then
{
//do this

}
else if ( browser is firefox with version) thebn
//do this..

So do we need to some thing like this.

Also can any one help me for sample source code which i need to do.

MY web pages will be generally contents not images...

Thanks in advance , please forward me for sample source code. Waiting
urgently.
Thanks & Regards

Ajay kumar


"Nay Myo Aung" wrote:
First of all, I'd like to tell you that you've got some nice and clean
sites
:)

And I totally agree with you Michel. At the moment, hand-coding the sites
is
the
only way to achieve the total "PASS" validation on w3c validator and to
create professional sites.

Kindly check out the sites I've done also, they are 100% pass on the
validator and I'm proud of it :) The following sites are done with Visual
Web Developer + ASP.NET 1.1.

- http://www.nmasoft.com
- http://www.jinnikettle.com
- http://www.naymyoaung.name

Work-in-progress sites (ASP.NET 2)...

- http://203.125.247.35/ (this will replace the old
http://www.globalknowledge.com.sg in 2 weeks time)

Based on my experience, I recommend all to use HTML (or XHTML) + CSS for
site
design (instead of inline styles) and hand-code the site for best
results!

--
Nay Myo Aung
Technical Trainer / Chief Visual Software Architect
MCP MCSD MCDBA MCT

Email: owN0SPAMner @naymyoauN0SPAM ng.name [remove NOSPAM s]

Homepages:
http://www.naymyoaung.name
http://hyperdisc.unitec.ac.nz/postgrad/aungn01/

"m.posseth" <mi*****@nohaus ystems.nl> wrote in message
news:ee******** ******@TK2MSFTN GP09.phx.gbl...
> well see my websites in IE and Mozilla ( tested on Windows , Unix and
> Mac )
>
> http://www.bildelskatalogen.se/
>
> http://www.tireponline.de
>
> http://reservdelskatalogen.micro.se/
>
>
> these were written with VS.Net 2003 ( ASP.NET 1.1 )
>
>
> i am currently bussy with a new project in 2.0 ( currently on staging
> server , it must be ready end february so visit it later to see it
> complete )
>
> http://62.58.78.243/
>
>
> well , the trick is learn javascript and use never the shorter Jscript
> ,
> folllow W3c specs
> i code everything by hand i do not use the GUI designer
>
> that`s it :-) ....
>
> regards
>
> Michel Posseth [MCP]
>
>
> "Ajay Kumar" <Aj*******@disc ussions.microso ft.com> wrote in message
> news:A6******** *************** ***********@mic rosoft.com...
>>I have developed an asp.net application in 2.0 . I need this web page
>>to
>> have same look and feel in all the browser like IE, mozila , firefox
>> etc.
>>
>> Please suggest me how to proceed.
>
>


Jan 8 '06 #5
Hi Ajay,
What i need to know is that. Is there any special coding needs to be done in
Javascript in order to handle , the contents have same look and feel across
all the browser.
This sounds a bit confused to me. The "JavaScript " is not usually
related to "look and feel". The look and feel is more related to the CSS
and whether you've used correct attributes on the tags (in general, the
fewer the better) and whether you're telling your target browsers to use
standards compliance mode.
Like traditional we use have javascript code for which checks like this

if( browser is IE and also for version ) then
else if ( browser is Mozila with version) then


Horrible! You should not be doing this. The only people who do that kind
of thing are the people who didn't read the standards documents.

Best thing to do is get your standards-based (x)HTML pages as clean as
possible; check them in the target browsers, then worry about any
JavaScript you'll need later. IE6 and Mozilla/Firefox are almost 100%
J(ava)Script compatible so it's not hard.

A big disadvantage with VS.NET in the early days was that you were at
the mercy of whatever badly written junk the IDE decided to send to the
target browser (configured in machine.config) , but in VS.NET 2005
they've made a lot of effort to support XHTML which should vastly
improve the kind of issue you are talking about in this thread.

--
Gerry Hickman (London UK)
Jan 9 '06 #6

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

Similar topics

4
5479
by: Simba | last post by:
In some pages of my website I use a code like the following: for (var n = 0; n < getTagsArray("SPAN").length; n++){ //SPAN is just an example. I also use other tags tag = getTagsArray("SPAN"); //make something with tag... }
5
5784
by: HchC | last post by:
Not looking for a special or fancy css stylesheet. For a HTML beginner, stylesheet is still far away from now. Not even said thinking about cross browser. But, an XHTML page without stylesheet look ugly. SO, I am looking for a "cross browser" "general" stylesheet that can be apply to a general HTML page.
17
1787
by: Mark Rae | last post by:
Hi, I'm interested in your opinion concerning how far you would consider it necessary to code for cross-browser compatibility these days, especially for public-facing Internet sites... According to a recent survey (http://www.weboptimiser.com/search_engine_marketing_news/3061148.html), Internet Explorer has just under 95% of the browser marketplace. Do you think it's worth the additional aggravation of making things work in
2
1401
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 viewing the page with the latest version of firefox. I copy-pasted the page source to an html file and opened it with firefox and the styles were applied to the button with no problem. My question is then this: Is there a way to control what...
2
3691
by: Questman | last post by:
Good afternoon, Does anyone have any code that implements, or approaches implementing, a cross-browser DHTML/JS solution to provide an Excel-like Grid on a web page - I'm trying to convert an old Java client/server data maintenance program to the web - the main display is in a grid format, which allows the user to select multiple rows and edit them in a new grid, which processes each grid line individually and validates and saves the...
9
5443
by: permanent.tourist | last post by:
I'm having a hell of a job getting this to work in Safari: the only thing I can think of is that one can't use reload() across to another frame for security reasons. Does anyone have a concrete answer or solution for this? I'm trying to do this: top.frames.location.reload(); Thanks Mark Howells www.permanenttourist.ch
15
2325
by: CMM | last post by:
So I'm half way through overseeing a large project in ASP.NET 2.0. My superiors have decided that it would be nice if we ensured the site worked on all the major platforms (as they see it: IE, FireFox, and Safari). We've made heavy usage of the new MENU control and other intrinsic 2.0 controls.... nothing fancy! just using ASP.NET's built-in controls and very nice, pervasive, and clean usage of CSS. Now I find after more testing that the...
1
2039
by: Rancid Buttchutney | last post by:
I've tried searching the web but I've had little success finding a cross-browser(IE, Firefox and Opera anyway) implementation of a restricted text INPUT that works in realtime before a character is even displayed in the field. Is there a working implementation anywhere? And how about denial of cross-browser pasting? On Windows a popup menu appears with the clipboard pasting options and I'd like to disable that and CTRL-V in an INPUT...
6
8632
by: Simon | last post by:
Hi All, An experiment i'm doing requires requires a synchronous cross-domain request, without using a proxy. I wondered if anyone had any ideas to help me achieve this. Below is what I have tried, including my conclusions/assumptions (which i'll happily be corrected on if it solves my problem!): The requirement not to use a proxy means I can't use the synchronous
13
3387
by: Jeff | last post by:
We have an intranet website that currently uses ActiveX but we need to make it cross-browser compatible and also get around the problems we've been having with making it work with IE7 and Vista. We decided to write an external application to do the work from the client side. We are not sure how the web page can call the app though with parameters. For example, we want to do similar to what the MSDN Library and Audible are doing with...
0
8959
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9462
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8199
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6747
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4558
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4821
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2738
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2187
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.