Jump to content

Xml+css


Kaula
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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 by owatagal
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...