Jump to content

Recommended Posts

Posted

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?

Posted (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 by owatagal
Posted

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!

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...