Click to See Complete Forum and Search --> : CSS Parent/child, i think.


Raller
03-17-2008, 05:06 PM
Hi guys,

Here is my site - HERE (http://www.rallervision.com/secure/listo). Now the problem i am having is that, for some reason, i cannot add the css which is in the index.htm file into my style sheet. If i do this then the menu does not come up properly. I am still pretty new to css but i think it may have something to do with telling the style sheet that .glossymenu is a child of <div id="menu">?

Let me know if i am on the right track. Thanks guys!

Centauri
03-17-2008, 05:46 PM
Apart from the site having BIG problems in at least IE6 due to the xml declaration before the doctype (get rid of that), what css and what menu problems are you refering to?

Raller
03-17-2008, 07:40 PM
Sorry, i figured out the problem and got side tracked and did not delete the post.

My apologies.

Raller
03-17-2008, 07:44 PM
Apart from the site having BIG problems in at least IE6 due to the xml declaration before the doctype (get rid of that), what css and what menu problems are you refering to?

Actually the W3C recommends using the xml declaration for creating new XHTML 1.0 documents.

Check it out:

http://www.w3.org/QA/2002/04/valid-dtd-list.html

Centauri
03-18-2008, 02:13 AM
Actually the W3C recommends using the xml declaration for creating new XHTML 1.0 documents.

Yes, but it is being served as text/html which means it is not an XHTML document, but an HTML document. IE cannot process a proper XHTML document.

Raller
03-18-2008, 09:10 AM
Oh, i see. Thanks for letting me know about the IE6 problem. I guess i will have to look up some hacks i can use for it.