Pages on MAC

  • Thread starter Thread starter Stephen
  • Start date Start date
S

Stephen

Hi,

I have developed an application using VS.NET, I had to test it on MAC, the
page looks a little distorted?

Is there a solution or VS.NET has no support on MAC?

Thanks,
Stephen.
 
I doubt that Visual Studio.Net is running on the Mac. Chances are, you're
looking at the web pages it generates in a browser on a Mac, right? If so,
as you should be aware, Visual Studio has nothing to do with it, any more
than it would have something to do with a Windows Form executable when
running that.

The real issue is how different browsers interpret HTML. And there is no
easy, quick, or perfect solution for that. The only thing you can do is to
get familiar with HTML, and how different browsers interpret it, and develop
your ASP.Net pages to generate HTML that loooks acceptable (to you) in
whatever target browsers you're developing for.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Hi Kevin,

you are right, i framed the question wrongly.
I meant to ask "how to display pages in required format on browsers on
Mac?"...
You have answered my question..

Thanks,
Stephen.
 
proably looks distorted on windows machines with different font sizes and
resolutions also (hint: change your system font to large fonts and see what
it looks like).

1) don't use grid mode
2) test your pages with different browsers
3) test your pages with different os

vs.net doesn't prevent writing cross browser pages, but doesn't do much to
help.


-- bruce (sqlwork.com)
 
you are right, i framed the question wrongly.
I meant to ask "how to display pages in required format on browsers on
Mac?"...
You have answered my question..

ASP.net and VS.net favours IE/PC. Period. It's not a platform issue, just a
browser issue. A lot of the default client-side scripting that VS.net spits
out is IE-centric.

As kevin points out, you just need to learn what html/CSS/Javascript to use
to make pages more browser agnostic and override default .net behaviours
when necessary.

Be sure to check in other browsers on the PC as well...Firefox will render
differently than IE which will render differently than Opera, etc...

-Darrel
 
vs.net doesn't prevent writing cross browser pages, but doesn't do much to

Though it certainly gets in the way (pretty much preventing) writing of
valid markup. ;o)

-Darrel
 
In VS.NET for the page, make sure that the TargetSchema property is set to
IE/NN. This will "help" (not solve) the problem.
 
bruce said:
proably looks distorted on windows machines with different font sizes
and resolutions also (hint: change your system font to large fonts
and see what it looks like).

1) don't use grid mode
2) test your pages with different browsers
3) test your pages with different os

vs.net doesn't prevent writing cross browser pages, but doesn't do
much to help.

May I add

4) use CSS
5) validate your HTML -- some ASP.NET generated code won't validate, but
make at least sure *your* HTML works.

Cheers,
 
Back
Top