Cross browser

G

Guest

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.
 
M

m.posseth

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]
 
N

Nay Myo Aung

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 @naymyoauN0SPAMng.name [remove NOSPAM s]

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

m.posseth said:
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 said:
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.
 
G

Guest

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 said:
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 @naymyoauN0SPAMng.name [remove NOSPAM s]

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

m.posseth said:
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 said:
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.
 
M

m.posseth

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 said:
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 said:
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 @naymyoauN0SPAMng.name [remove NOSPAM s]

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

m.posseth said:
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]


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.
 
G

Gerry Hickman

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.
 

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

Top