OH NO! Broke my IE 6 Code

This is a discussion on "OH NO! Broke my IE 6 Code" within the Web Page Design section. This forum, and the thread "OH NO! Broke my IE 6 Code are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 11th, 2007, 15:11
Reputable Member
Join Date: Jun 2007
Location: UK
Age: 29
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Voodoochilli
OH NO! Broke my IE 6 Code

Right, the other day I was trying to get my site voodoochilli.net html validated. In the process of getting the code to be valid, I have somehow messed up the navigation on IE 6!
I think I moved some <li> and <ul> tags about but I cant remeber which ones!

Heres the code:


Code: Select all
<ul>
  
      <li><a class="hide" href="http://www.voodoochilli.net/">Home</a>
    
          <!--[if lte IE 6]>
 <a href="http://www.voodoochilli.net/">Home
<table><tr><td>
<![endif]-->
          <ul>
            <li><a href="http://www.voodoochilli.net" title="Home">Home</a></li>
            <li><a href="http://www.voodoochilli.net/tutorials.php" title="Tutorial">Tutorials</a></li>
            <li><a href="http://www.voodoochilli.net/about.php" title="About">About</a></li>
            <li><a href="http://www.voodoochilli.net/contact.php" title="Contact">Contact</a></li>
            <li><a href="http://www.voodoochilli.net/tag-cloud.php" title="Popular Tags">Popular Tags</a></li>
             <li><a href="http://www.voodoochilli.net/reviews.php" title="Reviews">Reviews</a></li>
             <li><a href="http://www.voodoochilli.net/statistics.php" title="Statistics">Statistics</a></li>
        </ul>
    </li>
  </ul>
    <ul>
      <!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->
      <li>
       <a  class="hide" href="http://www.voodoochilli.net/showCategories.php">Artwork</a>
     <!--[if lte IE 6]>
 <a href="http://www.voodoochilli.net/showCategories.php">Artwork
<table><tr><td>
<![endif]-->
    <ul>
    
      <li><a title="Jewelry" href="http://www.voodoochilli.net/showImages.php?cat=Jewelry">Jewelry</a></li>
                    <li><a title="3D Graphics" href="http://www.voodoochilli.net/showImages.php?cat=3D Graphics">3D Graphics</a></li>
                    <li><a title="Fine Art" href="http://www.voodoochilli.net/showImages.php?cat=Fine Art">Fine Art</a></li>
                    <li><a title="Printmaking" href="http://www.voodoochilli.net/showImages.php?cat=Printmaking">Printmaking</a></li>
                    <li><a title="Graphic Design" href="http://www.voodoochilli.net/showImages.php?cat=Graphic Design">Graphic Design</a></li>
                    <li><a title="Illustration" href="http://www.voodoochilli.net/showImages.php?cat=Illustration">Illustration</a></li>
                    <li><a title="Photography" href="http://www.voodoochilli.net/showImages.php?cat=Photography">Photography</a></li>
                    <li><a title="Mixed Media" href="http://www.voodoochilli.net/showImages.php?cat=Mixed Media">Mixed Media</a></li>
                    <li><a title="Product Design" href="http://www.voodoochilli.net/showImages.php?cat=Product Design">Product Design</a></li>
                    <li><a title="Collage and Montage" href="http://www.voodoochilli.net/showImages.php?cat=Collage and Montage">Collage and Montage</a></li>
                    <li><a title="Drawing" href="http://www.voodoochilli.net/showImages.php?cat=Drawing">Drawing</a></li>
                    <li><a title="Digital Art" href="http://www.voodoochilli.net/showImages.php?cat=Digital Art">Digital Art</a></li>
                    <li><a title="3D Design and Crafts" href="http://www.voodoochilli.net/showImages.php?cat=3D Design and Crafts">3D Design and Crafts</a></li>
                    <li><a title="Web Design" href="http://www.voodoochilli.net/showImages.php?cat=Web Design">Web Design</a></li>
                    <li><a title="Ceramics" href="http://www.voodoochilli.net/showImages.php?cat=Ceramics">Ceramics</a></li>
                    </ul>
  </li>
</ul>

    
    <!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->
    


<ul>
  <li><a class="hide" href="http://www.voodoochilli.net/artists.php">Members</a><!--[if lte IE 6]>
 <a href="http://www.voodoochilli.net/artists.php">Members
<table><tr><td>
<![endif]-->
    <ul>
      <li><a href="http://www.voodoochilli.net/artists.php" title="Artist List">Artist List</a></li>
      <li><a href="http://www.voodoochilli.net/users/login.php" title="Login">Login</a></li>
      <li><a href="http://www.voodoochilli.net/register.php" title="Register">Register</a></li>
      <li><a href="http://www.voodoochilli.net/image-of-the-month.php" title="Image of the month">I.O.T.M</a></li>
      <li><a href="http://www.voodoochilli.net/users/threads.php" title="Forum">Forum</a></li>
      <li><a href="http://www.voodoochilli.net/users/forum_guest.php" title="Forum - Guest Login">Forum - Guest</a></li>
      <li><a href="http://www.voodoochilli.net/latest-blogs.php" title="Latest Blogs">Latest Blogs</a></li>    
      <li><a href="http://www.voodoochilli.net/site-faves.php" title="Recent Faves">+ Recent Faves</a></li>    
    </ul>
    <!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->

  </li>
</ul>
<ul><li><a class="hide" href="http://www.voodoochilli.net/site-search.php">Search</a>      <!--[if lte IE 6]>
 <a href="http://www.voodoochilli.net/site-search.php">Search
<table><tr><td>
<![endif]-->
      <ul>
        <li><a href="http://www.voodoochilli.net/site-search.php" title="Search">Site Search</a></li>
        <li><a href="http://www.voodoochilli.net/artists.php#search" title="Artist Search">Artist Search</a></li>
        <li><a href="image-search.php" title="Image Search">Image Search</a></li>
        <li><a href="http://www.voodoochilli.net/tag-cloud.php" title="Popular Tags">Popular Tags</a></li>
      </ul>
      <!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->
  </li>
</ul>
<ul>
  <li >
   <a class="hide" href="http://www.voodoochilli.net/donate.php">Donate</a>
        <!--[if lte IE 6]>
 <a href="http://www.voodoochilli.net/donate.php">Donate
<table><tr><td>
<![endif]-->
    <ul>
      <li><a href="http://www.voodoochilli.net/donate.php" title="Donate">Donate</a></li>
      <li><a href="http://www.voodoochilli.net/download-software.php" title="Downlaod Software">Download</a></li>
      </ul>

  </li>
</ul>

      <!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->
Any ideas?

Many thanks
Reply With Quote

  #2 (permalink)  
Old Jul 11th, 2007, 15:33
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: OH NO! Broke my IE 6 Code

That looks fine...

Is it the css that's messing it up?
Reply With Quote
  #3 (permalink)  
Old Jul 11th, 2007, 15:35
Reputable Member
Join Date: Jun 2007
Location: UK
Age: 29
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Voodoochilli
Re: OH NO! Broke my IE 6 Code

I dont think so as I havent changed the CSS in ages. Also it validates.
Reply With Quote
  #4 (permalink)  
Old Jul 11th, 2007, 15:40
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: OH NO! Broke my IE 6 Code

Ok.. I went to IE 6 and I think I see it.
In this code:
Code: Select all
<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->
    


<ul>
  <li><a class="hide" href="http://www.voodoochilli.net/artists.php">Members</a><!--[if lte IE 6]>
Move the <ul> in red above the If statement

Code: Select all
<ul>
<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->
    
  <li><a class="hide" href="http://www.voodoochilli.net/artists.php">Members</a><!--[if lte IE 6]>
If that fixes it you'll have to do it to Search and donate as well.
Reply With Quote
  #5 (permalink)  
Old Jul 11th, 2007, 15:50
Reputable Member
Join Date: Jun 2007
Location: UK
Age: 29
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Voodoochilli
Re: OH NO! Broke my IE 6 Code

No sorry, didnt work
Reply With Quote
  #6 (permalink)  
Old Jul 11th, 2007, 15:57
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: OH NO! Broke my IE 6 Code

ok.. well is this an extra if statement in red?
Code: Select all
  <ul> 
    <!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->
    


<ul>
  <li><a class="hide" href="http://www.voodoochilli.net/artists.php">Members</a>
<!--[if lte IE 6]>
 <a href="http://www.voodoochilli.net/artists.php">Members
<table><tr><td>
<![endif]-->
    <ul>
P.S. only working on the Members button at this point..
Reply With Quote
  #7 (permalink)  
Old Jul 11th, 2007, 17:13
Reputable Member
Join Date: Jun 2007
Location: UK
Age: 29
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Voodoochilli
Re: OH NO! Broke my IE 6 Code

nope :blowup:

If I remember correctly, the code was invalid when working. so i think looking at it logicaly isnt going to help...

I HATE IE 6!!!!!


thank you for helping so far.
Reply With Quote
  #8 (permalink)  
Old Jul 11th, 2007, 20:41
1840dsgn's Avatar
SuperMember

SuperMember
Join Date: Jun 2007
Location: Canterbury
Age: 19
Posts: 720
Thanks: 0
Thanked 0 Times in 0 Posts
Re: OH NO! Broke my IE 6 Code

Yea Voodoo I've got the same problem on one of my sites. IE6 adds space that you can't seem to get rid of when you use lists correctly. Or at least I haven't managed.

Sorry I can't help, just thought I'd share my anger and frustration!
Reply With Quote
  #9 (permalink)  
Old Jul 12th, 2007, 09:58
Reputable Member
Join Date: Jun 2007
Location: UK
Age: 29
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Voodoochilli
Re: OH NO! Broke my IE 6 Code

Yeah its annoying cant wait until all the old timers still running windows 95 decide to press the update button. Mind you IE 7 isnt perfect either.
Reply With Quote
  #10 (permalink)  
Old Jul 12th, 2007, 10:02
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 22
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
Re: OH NO! Broke my IE 6 Code

But it is a massive improvement on its predecessor. It's like going from a rover 25 to ferarri(sp?). Remember even firefox has its problems.

Pete.
Reply With Quote
  #11 (permalink)  
Old Jul 12th, 2007, 10:05
1840dsgn's Avatar
SuperMember

SuperMember
Join Date: Jun 2007
Location: Canterbury
Age: 19
Posts: 720
Thanks: 0
Thanked 0 Times in 0 Posts
Re: OH NO! Broke my IE 6 Code

Wow...it deleted half my post when I clicked post!

Voodoo,

have just sorted my problem...see if the fix works for you.

My lists are nested like this:

Code: Select all
<ul>
     <li><a href="training_intro.html" class="current">Training</a></li>
     <li>
          <ul class="navul">
               <li><a class="current" href="nebosh.html">NEBOSH</a></li>
               <li><a href="iosh.html">IOSH</a></li>
               <li><a href="fsa.html">Fire Safety</a></li>
               <li><a href="bitesize.html">Bitesize</a></li>
          </ul>
      </li>                    
      <li><a href="consultancy_intro.html">Consultancy</a></li>
      <li><a href="partners.html">Partners</a></li>
</ul>
My problem was that there was about 10px of space between Training and NEBOSH. I fixed it by adding this code to the CSS. If your problems similar give it a try.

Code: Select all
li    {_height: 0;
}

Last edited by 1840dsgn; Jul 12th, 2007 at 10:09.
Reply With Quote
  #12 (permalink)  
Old Jul 12th, 2007, 10:07
welshstew's Avatar
Lead Administrator

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,388
Blog Entries: 13
Thanks: 1
Thanked 17 Times in 15 Posts
Re: OH NO! Broke my IE 6 Code

Not sure it will help but I get an error on line 100. See attached.

Stew
Attached Images
File Type: png Untitled-2.png (66.0 KB, 21 views)
__________________
WelshStew
Lead Administrator

tierney rides tboard - uk site | xtreme wales - extreme clothing
If you think I've helped, click the "Thanks"
webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
Reply With Quote
  #13 (permalink)  
Old Jul 12th, 2007, 10:17
Reputable Member
Join Date: Jun 2007
Location: UK
Age: 29
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Voodoochilli
Re: OH NO! Broke my IE 6 Code

Its ok I got it sorted, but thatks. What did I do? Well I just randomly (well almost) moved tags around until it worked. Typical!
Reply With Quote
  #14 (permalink)  
Old Jul 12th, 2007, 10:18
1840dsgn's Avatar
SuperMember

SuperMember
Join Date: Jun 2007
Location: Canterbury
Age: 19
Posts: 720
Thanks: 0
Thanked 0 Times in 0 Posts
Re: OH NO! Broke my IE 6 Code

lol...thats the way to go!

glad you got it sorted.

Mike
Reply With Quote
  #15 (permalink)  
Old Jul 12th, 2007, 17:15
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: OH NO! Broke my IE 6 Code

The conditional comment needs to go in the <head> tags. Not the body. Didn't think you could use them like that. of course I have been wrong before.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #16 (permalink)  
Old Jul 12th, 2007, 17:20
Reputable Member
Join Date: Jun 2007
Location: UK
Age: 29
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Voodoochilli
Re: OH NO! Broke my IE 6 Code

Yeah you can use them there. You can use them anywhere pretty much as its ignored by other browsers.The navigation code has to be in the body to work in this case.
Reply With Quote
  #17 (permalink)  
Old Jul 12th, 2007, 19:17
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: OH NO! Broke my IE 6 Code

Well that is handy to know =). Learn something every day!
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #18 (permalink)  
Old Jul 12th, 2007, 21:52
Reputable Member
Join Date: Jun 2007
Location: UK
Age: 29
Posts: 172
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to Voodoochilli
Re: OH NO! Broke my IE 6 Code

I love your picture by the way, on the bike. Reminds me of Napolian dynamite
Reply With Quote
  #19 (permalink)  
Old Jul 13th, 2007, 15:01
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,761
Blog Entries: 1
Thanks: 0
Thanked 18 Times in 18 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: OH NO! Broke my IE 6 Code

Quote:
Originally Posted by Voodoochilli View Post
I love your picture by the way, on the bike. Reminds me of Napolian dynamite
Because I am fancy.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
Reply

Tags
ie 6

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
I broke vista :( Stormraven Webforumz Cafe 34 Jun 3rd, 2008 07:05
code behind code doesnt work skat ASP.NET Forum 4 Feb 18th, 2008 10:05
live search code and styleswitcher code hebel JavaScript Forum 0 May 12th, 2007 06:16
Can somebody give me the code to hide the source code? renren JavaScript Forum 7 Mar 7th, 2006 12:27


All times are GMT. The time now is 08:52.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21