Re: format changes in different browsers
On 3 Jul 2000 jamadagni@xxxxxxxxxxxx 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format