This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: format changes in different browsers


On 3 Jul 2000 jamadagni@123india.com wrote:

> Hi All,
> 
> This might sound offtrack from the xsl-list but I am sure everybody has gone through this problem.After developing a web page it looks different in netscape as well as IE and other browsers.Is there any way by which the look can be consistent across all browsers ?
> can xsl give a solution for this problem ?

Yes and no. XSLT isn't going to magically fix this problem for you, but it
can help in one of two ways. First way is to develop alternate views for
the different browsers. Personally I can't stand this route, but its one
many people take. You can do it simply by providing two different
stylesheets - one for each browser, and then use browser sniffing to
determine which stylesheet to use for which browser. Server side XML
servers like Cocoon and AxKit can help you do that.

The second way, and by far the most sensible in the long run is to buy a
good book on HTML like O'Reilly's "Dynamic HTML - The Definitive
Reference" and tweak your pages to work right on all browsers. It can be
done - took me a couple of hours to get my axkit pages right, but they
look good on all platforms at all resolutions now. And even render fairly
OK in lynx (text based browser).

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]