[Previous] [Contents] [Next]

XML, CSS, and Web Browsers


Instead of teaching you CSS, I am going to show you how to use CSS with XML code.

Everything that I explain here will, of course, change because the three browsers I use (Microsoft Internet Explorer 5 beta preview 2, Netscape Communicator 4.5 preview 2, and Netscape Mozilla, September 1998 build) are not official products but test versions.

Unfortunately, as you will see, trying to display XML sensibly (with some kind of useful layout) is a pretty hit-and-miss affair; you will probably end up spending a lot of time modifying code, loading it, and modifying it again, until you either achieve what you want or, more likely, you give up trying. Don't give up hope-there are some cheats you can adopt that will allow you to use the browsers' built-in HTML interpretations, and later in this chapter I will show you how to use these. Sadly, just as the "proper" ways of displaying XML differ, so do the "illegal" ones!

[Previous] [Contents] [Next]