View Single Post
  #4 (permalink)  
Old 09-06-2009, 01:48 PM
Bruce AaLee's Avatar
Bruce AaLee Bruce AaLee is offline
Junior Member
Latest Blog:
None

 
Join Date: 03-12-04
Location: Arlington, TX
Posts: 25
iTrader: 0 / 0%
Bruce AaLee is a jewel in the roughBruce AaLee is a jewel in the roughBruce AaLee is a jewel in the roughBruce AaLee is a jewel in the roughBruce AaLee is a jewel in the roughBruce AaLee is a jewel in the rough
Thanks for the reply guys

You're both absolutely correct about having valid code and css as the first step to trouble shooting a website issue. With that said, I am almost 100 % sure that the issue on Opera is not caused by the html/css errors when its validated. However I corrected the few issues that I should have fixed a long time ago and now the css validates 100%, but unfortunately I have never been able to get the html to validate 100% because of this code:
Code:
<li class="imatm" style="width:63px;"><a href="(CGIVAR)seo_base_url(/CGIVAR)/page--Shopping-Cart--cart.html" style="height:29px;"><span class="imea imeam"><span></span></span>CART</a> <div class="imsc"><div class="imsubc" style="width:219px;top:0px;left:-154px;"> <ul id="cartcontainer"> (CGIGET TYPE="SUB" VALUE="ste_cart_dropdown") (CGIGET TYPE="SUB" VALUE="ste_cart_view_checkout") </ul></div></div></li>
You will see that the opened li is actually closed, but what happens is that when the scripts all run the codeCGIGET TYPE="SUB" VALUE="ste_cart_dropdown")
(CGIGET TYPE="SUB" VALUE="ste_cart_view_checkout"): is replaced with
"<div id="minicartempty">
Your cart is currently empty
</div>"
and that causes the error because its not correct to use a div inside of a li.

Obviously the drop down menu code was not designed to work like this. I have put a mini shopping cart display into the menu and it causes the validator to show an error, but it works correctly in every browser I've ever tested so I just left it alone.

I know there is a correct way to do this, possibly using a drop down hover box, but i have never been able to recreate the way the drop down shopping cart works when I take the cart code out of the menu code. Even though the sites html/css was all done by hand except for the menu, i am certainly not an expert in any of this.

I am going to keep working on getting the menu to validate, but the issue with Opera is still something I dont understand. I tried taking the links off the images on the right of the homepage and it fixes the error. So I really think there has to be something small I can do to the links to correct the problem. Check it out

Homepage but without links

I appreciate your help guys.
Ali

Last edited by htmlbasictutor; 09-06-2009 at 08:22 PM.
Reply With Quote