Welcome to WebmasterWorld Guest from 184.108.40.206 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
CSS and XHTML? Mozilla messes up johnnie msg:702100 10:28 pm on Sep 18, 2004 (gmt 0) Strange...
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?
encyclo msg:702101 12:16 am on Sep 19, 2004 (gmt 0)
Are you adding styles via the
element? This is one of the major issues to deal with when styling for
- without going into the excruciating details, because you're dealing with XML rather than HTML,
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
element instead of
and see if that makes a difference. johnnie msg:702102 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...
encyclo msg:702103 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?