homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

Mozilla messes up

 10:28 pm on Sep 18, 2004 (gmt 0)


As soon as I pass the correct mime-type to mozilla, my XHTML-page will render completely messed up. It looks like the DIV's are ignored?

My CSS file is lower-case and conforms to W3C standards. What could be wrong?



 12:16 am on Sep 19, 2004 (gmt 0)

Are you adding styles via the
body element? This is one of the major issues to deal with when styling for application/xhtml+xml - without going into the excruciating details, because you're dealing with XML rather than HTML, body doesn't have the same importance - it's just a tag like any other.

Without seeing your CSS, I can't be very specific about advice, but try moving styles up to the html element instead of body and see if that makes a difference.


 9:30 pm on Sep 19, 2004 (gmt 0)

Wow, are you a psychic or something? Awesome piece of bit-reading ;)

Moving the id to HTML doesn't make a difference though...


 11:28 pm on Sep 19, 2004 (gmt 0)

Unfortunately, johnnie, my psychic powers aren't strong enough to debug your page without a snippet of relevant markup. ;)

Can you reduce the problem down to a simplified example that you'd be able to post here (both CSS and XHTML)? When you say "messed up", in what way? Is it margins, floating, inherited styles?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved