GhostRider2110 Posted November 10, 2006 Share Posted November 10, 2006 menu system, which I want to use as an SSI include. Anyway, just getting this menu to work under CSS is driving me bonkers.. (Ok.. I already am)..Two URLshttp://www.ussma-midwest.org/scalemasters/.../css/menua.htmlhttp://www.ussma-midwest.org/scalemasters/...s/css/menu.htmlThe only diff between the two is menua.html has theCode: <?xml version="1.0" encoding="utf-8"?> at the top as per I read for proper doc types....Local in the Preview everything displays as it should A virtical menu, black boxes with white letters, hover over and the box turns red... Firefox 1.5x and 2.0 just gives me horizontal text links. IE6 will display properly with menu.html but menua.html displays the HTML source, IE 7 seems to display both properly..... Any help would be greatly appreciated... The idea and code came from http://www.cssplay.co.ukThanksMitch Link to comment Share on other sites More sharing options...
jlhaslip Posted November 11, 2006 Share Posted November 11, 2006 I don't know that the line you added is required for all situations. (might be wrong)Here is what I have been coding with based on some information from the w3c site. I wish I could find the link directly, but their site is difficult to navigate. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <title>An XHTML 1.0 Strict standard template</title> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /></head><body> <p>... Your HTML content here ...</p> <p> <a href="http://validator.w3.org/check?uri=referer">validate the xhtml</a> </p> </body></html> Link to comment Share on other sites More sharing options...
GhostRider2110 Posted November 11, 2006 Author Share Posted November 11, 2006 I don't know that the line you added is required for all situations. (might be wrong)Here is what I have been coding with based on some information from the w3c site. I wish I could find the link directly, but their site is difficult to navigate. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <title>An XHTML 1.0 Strict standard template</title> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /></head><body> <p>... Your HTML content here ...</p> <p> <a href="http://validator.w3.org/check?uri=referer">validate the xhtml</a> </p> </body></html> Thanks, that line is for IE.. Here is the W3C link: http://www.w3.org/QA/2002/04/valid-dtd-list.htmlI'm sure there is just something small I am missing....See-yaMitch Link to comment Share on other sites More sharing options...
jlhaslip Posted November 11, 2006 Share Posted November 11, 2006 Thanks. Bookmarked.I read other articles which suggest that including that line puts 'some' Browsers into Quirks mode, which is a bad thing if you are trying to develop cross-browser compatability. There is a good posting over at the csscreator.com site that reviews the effects of various DTD's and I think that is were I got the exclusion suggestion from. Link to comment Share on other sites More sharing options...
GhostRider2110 Posted November 11, 2006 Author Share Posted November 11, 2006 Thanks.. I found where I was messing up.. Seems I did a cut/paste from my internal test style to an external style sheet and has junk in there which FF/Opera/IE6 didn't like. Thanks - I will look at that site you mentioned... I need all the help I can get!!See-yaMitch Link to comment Share on other sites More sharing options...
jlhaslip Posted November 11, 2006 Share Posted November 11, 2006 Well, it wasn't the csscreator site after all. Check about half way down this page HERE Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now