Working in CS3
I create in design view as I am not a professional web designer. I learned Dreamweaver as best I could to create a site for my business. Problem: The navigation bar rollover effects work on all the pages on the site except for the home page. I cannot seem to get any rollover effects to work as well. Have tried re-doing the nav bar and rollover links multiple times with no success.
Home page: www.aiscorporate.com
Any thoughts would be greatly appreciated.
djf
The Validator is seeing the final assembled code as delivered by the server to a browser.
If you have Includes or other items in the non-assembled code in DW then the line numbers will be different.
All line numbers match here when I View Source in IE9 - and should match Live View in DW.
e.g.
ERROR
Line 273, Column 95: value of attribute "id" must be a single token
… name="Log In" type="submit" class="style74" id="Log In" value="Log In" /></td>This attribute cannot take a space-separated list of words as a value, but only one word ("token"). This may also be caused by the use of a space for the value of an attribute which does not permit it.
SOURCE CODE
Line 273 <td><input name="Log In" type="submit" class="style74" id="Log In" value="Log In" /></td>
Remove the space from id="Log In" - it's invalid, only a single word is permitted. If you really need a space then use a hyphen or underscore instead.
djfellows wrote:
I am having trouble identifying what pages these errors are on.
The validator gives you the URL where it saw the error. Is that what you mean?
If you mean you're trying to clean all pages sitewide then use the sitewide Find & Replace tool in DW.
djfellows wrote:
Would this affect my original concern with the Nav bar and rollover effects not working on the home page?
Don't know.
It's always best to troubleshoot clean valid pages though.
If you need to have your car serviced, you take it to a trained auto mechanic, right?
If you need an electrician or plumber you hire a certified professional, right?
It's no different for your business web site. Hire an experienced professional to help you fix your site.
That said, your menus are not worth saving. When they came out, MM Rollover menus were a total train wreck. Here's why:
http://losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_me nujs/
Replacement Menu Systems that will work 1000% better.
Project Seven Pop-Menu Magic 2 (commercial extension for DW)
http://www.projectseven.com/products/menusystems/pmm2/index.htm
Spry Menu 2.0 (free from Adobe Exchange)
http://www.adobe.com/devnet/dreamweaver/articles/spry_menu_bar.html
Good luck,
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
Thanks Ken - I have the errors down to 9. Still can't seem to get the Home page Nav bar to work like the rest of the site. What is strange is the validator claims there is no attribute but clearly it is in the code. I compared with the pages that work and everything is identical. Would pasting the code in the discussion help?
<table width="970" height="627" border="0">…e_a.gif" alt="Home page" name="Home" border="0" id="Home" onload="" /></a></td>…table width="174" height="38" border="1" cellspacing="0" bordercolor="#E3E3E3">Thanks for the links Nancy. I do appreciate your sentiment about hiring a professional, however considering I have developed this entire site, including graphics, etc, I hate to scrap it when only one Nav bar on the entire site isn't working. If I can't fix it, perhaps I'll call as I have your links!
Thank you, I appreciate the compliment. Is there any plausible explanation why the exact same code on 25 other pages within the site work but not on the home page? I was able to fix 18 out of the original 21 errors from validator that Ken sent. The remaining 3 errors claim there is no attribute but again, there is.
djfellows wrote:
The remaining 3 errors claim there is no attribute but again, there is.
That's the sometimes unclear language of the validator.
It's not complaining about the lack of an attribute. It's saying that the existing attribute is invalid and should removed.
FOR EXAMPLE
Line 842, Column 29: there is no attribute "height"
<table width="970" height="627" border="0">You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element.
Height has never been a valid attribute for the <table> tag and that attribute should be removed. Let the content inside the table determine the height of the table
This probably won't solve the navbar issues but it does clean the code up.
North America
Europe, Middle East and Africa
Asia Pacific