Forum Moderators: open

Message Too Old, No Replies

Problem with XHTML

         

AZeitler

3:15 pm on Nov 8, 2004 (gmt 0)

10+ Year Member



hi,

i have created a layout using css and div's only, which can be seen here:
<SNIP>

When switching to XHTML 1.0 Strict and just modifying the tags to be valid xhtml 1.0 strict,
the layout doesn't look the same any longer:
<SNIP>.

The white spacing above and below the menu line is larger than before. The white background and silver border below "Blue Widget" to the right doesn't appear any longer.

The oddly thing is, that if i define the CSS-Style "widgetClass" not as an id and use it in the div now as style attribute of the div-tag, it works.

This behaviour affects also FireFox and Opera.

what could be my mistake?

regards,

Alex

[edited by: BlobFisk at 6:48 pm (utc) on Nov. 8, 2004]
[edit reason] No URLs please! See TOS [webmasterworld.com] [/edit]

AZeitler

3:50 pm on Nov 8, 2004 (gmt 0)

10+ Year Member



solved it by myself:

firefox, opera and mozilla are case sensitive when using xhtml/css definitions.

regards,

Alex