IE6 is acting up - again!

This is a discussion on "IE6 is acting up - again!" within the Web Page Design section. This forum, and the thread "IE6 is acting up - again! 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 2nd, 2008, 19:55
CloudedVision's Avatar
Nerdy Moderator
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 1,153
Blog Entries: 9
Thanks: 2
Thanked 34 Times in 34 Posts
IE6 is acting up - again!

Just recently I've started using lists for my menus. They are lovely, very organized things. Unfortunately, IE6 does not like them. Every time I try to do a horizontal menu, each item stretches the length of the page and piles on top of one another. The verticle menus decide to get a margin of 100px or so. Please, help me with the these errors! You can see them at http://dev.wicec.org/website/
__________________
echo "Take it easy, ".$CloudedVision;
.links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; project-2: kapp; }
<quote>&quot;I think it's wrong that only one company makes the game Monopoly&quot; - <name>Steven Wright</name></quote>
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
Reply With Quote

  #2 (permalink)  
Old Jul 2nd, 2008, 21:07
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,948
Blog Entries: 1
Thanks: 0
Thanked 29 Times in 29 Posts
Re: IE6 is acting up - again!

Just so happens I built a menu to do just what you are doing the other day and it works in IE 6, 7, FF, Safari etc... does need csshover.htc for IE 6 only. I also wrote one up that is a right side menu with left side flyouts if you need it.

IE Conditional
Code: Select all
<link href="includes/css/ie.css" type="text/css" rel="stylesheet" media="screen" />
<style type="text/css">
body { behavior:url(includes/htc/csshover.htc); }
</style>
<![endif]-->
HTML:
Code: Select all
                <ul id="vMenuList">
                    <li><a href="#vMenu">Menu Item 1</a></li>
                    <li class="hasFLyout"><a href="#vMenu">Menu Item 2</a>
                        <ul>
                            <li><a href="">Flyout Sub Menu</a></li>
                            <li><a href="">Flyout Sub Menu</a></li>
                            <li><a href="">Flyout Sub Menu</a></li>
                            <li><a href="">Flyout Sub Menu</a></li>
                        </ul>
                    </li>
                    <!-- flyout menu -->
                    <li class="hasFLyout"><a href="#vMenu">Menu Item 4</a>
                        <ul>
                            <li><a href="">Flyout Sub Menu</a></li>
                            <li><a href="">Flyout Sub Menu</a></li>
                            <li><a href="">Flyout Sub Menu</a></li>
                            <li><a href="">Flyout Sub Menu</a></li>
                        </ul>
                    </li>
                    <!-- flyout menu -->
                    <li><a href="#vMenu">Menu Item 4</a></li>
                </ul>
            <!-- end Left Column Vertical Menu With Horizontal Flyout -->
css:
Code: Select all
/* vertical menu system w/horizontal flyout right */
/* NO IE 7 Overrides Required */
ul#vMenuList {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 200px;
    border: solid #333333;
    border-width: 1px 0 0 0;
}

ul#vMenuList li {
    border: solid #333333;
    border-width: 0 1px 1px 1px;
}

ul#vMenuList li a { /* IE 6 - Override required */
    padding: 8px;
    color: #993300;
    text-decoration: none;
    font-weight: bold;
    display: block;
}

ul#vMenuList li a:hover {
    color: #FFF;
    background: #993300;
}

ul#vMenuList li.hasFLyout a {
    background: url(../../images/burnt_orange_arrow.gif) no-repeat right center;
}

ul#vMenuList li.hasFLyout a:hover {
    color: #FFF;
    background: #993300 url(../../images/white_arrow.gif) no-repeat right center;
}

ul#vMenuList li.hasFLyout ul li a {
    background: #FFF;
}

ul#vMenuList li.hasFLyout ul li a:hover {
    background: #993300;
}

ul#vMenuList li ul {
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
    border: solid #333333;
    border-width: 1px 0 0 0;
    background: #FFF;
}


IE 6 Specific CSS:

Code: Select all
ul#vMenuList li a {
padding:8px;
color:#993300;
text-decoration:none;
font-weight:bold;
display:block;
width:182px;
}
__________________
I hate IE 6. Just sayin....
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)

Last edited by moojoo; Jul 2nd, 2008 at 21:20. Reason: Formatted some code
Reply With Quote
  #3 (permalink)  
Old Jul 2nd, 2008, 21:38
CloudedVision's Avatar
Nerdy Moderator
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 1,153
Blog Entries: 9
Thanks: 2
Thanked 34 Times in 34 Posts
Re: IE6 is acting up - again!

Thanks Moojoo, I'll look over that code and see what I can do.
__________________
echo "Take it easy, ".$CloudedVision;
.links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; project-2: kapp; }
<quote>&quot;I think it's wrong that only one company makes the game Monopoly&quot; - <name>Steven Wright</name></quote>
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
Reply With Quote
  #4 (permalink)  
Old Jul 2nd, 2008, 21:41
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,948
Blog Entries: 1
Thanks: 0
Thanked 29 Times in 29 Posts
Re: IE6 is acting up - again!

Here is a screen shot of how it works and looks.. Same results in IE 6 etc. nothing fancy just a functional snippet for my personal library.
Attached Images
File Type: png Picture 1.png (22.0 KB, 4 views)
__________________
I hate IE 6. Just sayin....
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)

Last edited by moojoo; Jul 2nd, 2008 at 21:43.
Reply With Quote
Reply

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
FieldSets not acting right in Mozilla erikkl2000 Web Page Design 6 Jan 16th, 2007 17:10


All times are GMT. The time now is 16:14.


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 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43