Kaula Posted July 27, 2006 Posted July 27, 2006 Howdy, Wasn't sure where exactly to put this in the forum... but take a look if you will; I'm having some trouble getting xml+css to display properly in FF/Moz/Opera. This was an assignment I had turned in 4 or 5 weeks ago for a beginning xml class that I looked at today, for the first time, in something other than IE6. Heres the links: http://www.kaulaiscool.com/xml/12DaysofXMas.xml http://www.kaulaiscool.com/xml/12Days.css It looks the way I wanted in IE, but in FF/Moz it doesnt and especially not in Opera. The only thing I can think of is that they are having problems with either the floats or the clear:both; There wern't to be any changes to the xml file, just the css one. Any ideas? Quote
owatagal Posted July 27, 2006 Posted July 27, 2006 (edited) I don't have IE handy to see what it's supposed to look like, but I'm guessing lineation is an issue. It looks like Firefox is treating the XML tags as inline elements rather than block elements, and the two don't behave the same (I don't believe FF will "clear" an inline element, for example). Specify in the CSS that the XML tags should be displayed as block elements and the lineation should sort itself out. Edited July 27, 2006 by owatagal Quote
Kaula Posted July 27, 2006 Author Posted July 27, 2006 Yep, looks like thaty was it, I added display: block; to verse and It shows up correctly. Thanks for the help, I couldnt figure out what was going on! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.