Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I can not get my Navgation bar to work in IE it works in chome and firefox

    Code:
    <html>
    <head>
    <style>
    @charset "utf-8";
    
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, embed, 
    figure, figcaption, footer, header, hgroup, 
    menu, nav, output, ruby, section, summary,
    time, mark, audio, video {
    	margin: 0;
    	padding: 0;
    	border: 0;
    	font-size: 100%;
    	font: inherit;
    	vertical-align: baseline;
    }
    /* HTML5 display-role reset for older browsers */
    article, aside, details, figcaption, figure, 
    footer, header, hgroup, menu, nav, section {
    	display: block;
    }
    body {
    	line-height: 1;
    }
    ol, ul {
    	list-style: none;
    }
    blockquote, q {
    	quotes: none;
    }
    blockquote:before, blockquote:after,
    q:before, q:after {
    	content: '';
    	content: none;
    }
    table {
    	border-collapse: collapse;
    	border-spacing: 0;
    }
    
    /*nav bar*/
    .container {
      width: 100%;
    height: 340px;
     display: table;
      border-spacing: 5px;
    background: white;
    }
    .left, .right {
      display: table-cell;
      width: 25%;
      background: #E9BC1B;
    }
    
    nav2 {
      z-index: 5;
      background-color: #1FDA9A;
      border: 3px solid #dedede;
      border-radius: 4px;
      box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
      color: #888;
      display: block;
    margin: 0px 0px 0px 0px;
      overflow: hidden;
      width: 100%; 
      position: fixed;
    }
    
      nav2 ul {
        margin: 0;
        padding: 0;
      }
    
        nav2 ul li {
          display: inline-block;
          list-style-type: none;
          
          -webkit-transition: all 0.2s;
            -moz-transition: all 0.2s;
            -ms-transition: all 0.2s;
            -o-transition: all 0.2s;
            transition: all 0.2s; 
        }
          
          nav2 > ul > li > a > .caret {
            border-top: 4px solid #aaa;
            border-right: 4px solid transparent;
            border-left: 4px solid transparent;
            content: "";
            display: inline-block;
            height: 0;
            width: 0;
            vertical-align: middle;
      
            -webkit-transition: color 0.1s linear;
         	  -moz-transition: color 0.1s linear;
           	-o-transition: color 0.1s linear;
              transition: color 0.1s linear; 
          }
    
          nav2 > ul > li > a {
            color: #fff;
            display: block;
            line-height: 56px;
            padding: 0 24px;
            border-right: thick solid #000000;
            text-decoration: none;
          }
    
            nav2 > ul > li:hover {
              background-color: #EE4B3E;
            }
    
            nav2 > ul > li:hover > a {
              color: #FFFF00;
            }
    
            nav2 > ul > li:hover > a > .caret {
              border-top-color: #EE4B3E;
            }
          
          nav2 > ul > li > div {
            background-color: rgb( 40, 44, 47 );
            border-top: 0;
            border-radius: 0 0 4px 4px;
            box-shadow: 0 2px 2px -1px #FFFF00;
            display: none;
            margin: 0;
            opacity: 0;
            position: absolute;
            width: 165px;
            visibility: hidden;
            position: fixed;
            -webkit-transiton: opacity 0.2s;
            -moz-transition: opacity 0.2s;
            -ms-transition: opacity 0.2s;
            -o-transition: opacity 0.2s;
            -transition: opacity 0.2s;
          }
    
    
            nav2 > ul > li:hover > div {
              display: block;
              opacity: 1;
              visibility: visible;
            }
    
              nav2 > ul > li > div ul > li {
                display: block;
              }
    
                nav2 > ul > li > div ul > li > a {
                  color: #000000;
                  display: block;
                  padding: 12px 30px;
                  
                  text-decoration: none;
    border-bottom: 3px solid white;
    border-top: 3px solid white;
                }
    
                  nav2 > ul > li > div ul > li:hover > a {
                    background-color: #EE4B3E;
                    color: #000000;
                    
                  }
    
    </style>
    </head>
    
    <body>
    <nav2>
    	<ul>
    		<li><a href="index.php">Home</a></li>
    		<li>
          <a >Stores<span class="caret"></span></a>
    <div class="container">
    			<div class="left">
    				<ul>
    					<li><a href="index.php?e=Albertsons-Weekly-Coupon-Deals-Matchups">Albertsons</a></li>
    <li><a href="index.php?e=CVS-Weekly-Coupon-Deals-Matchups">CVS</a></li>
    <li><a href="index.php?e=Dollar-General-Weekly-Coupon-Deals-Matchups">Dollar General</a></li>
                                          <li><a href="index.php?e=Dollar-Tree-Weekly-Coupon-Deals-Matchups">Dollar Tree</a></li>
    					<li><a href="index.php?e=KMART-Weekly-Coupon-Deals-Matchups">KMART</a></li>
                                             <li><a href="index.php?e=Kroger-Weekly-Coupon-Deals-Matchups">Kroger</a></li>
    				</ul>
    <ul>
    </div>
    <div class="right">
    <ul>
    					<li><a href="index.php?e=Publix-Weekly-Coupon-Deals-Matchups">Publix</a></li>
    <li><a href="index.php?e=Rite-Aid-Weekly-Coupon-Deals-Matchups">Rite Aid</a></li>
    <li><a href="index.php?e=Safeway-Weekly-Coupon-Deals-Matchups">Safeway</a></li>
                                          <li><a href="index.php?e=ShopRite-Weekly-Coupon-Deals-Matchups">ShopRite</a></li>
    					<li><a href="index.php?e=Target-Weekly-Coupon-Deals-Matchups">Target</a></li>
                                             <li><a href="index.php?e=Walgreens-Weekly-Coupon-Deals-Matchups">Walgreens</a></li>
    				</ul>
    			</div>
    <div class="right">
    <ul>
    					<li><a href="index.php?e=Walmart-Weekly-Coupon-Deals-Matchups">Walmart</a></li>
    <li><a href="index.php?e=WinCo-Weekly-Coupon-Deals-Matchups">WinCo</a></li>
    <li><a href="index.php?e=Whole-Foods-Weekly-Coupon-Deals-Matchups">Whole Foods</a></li>
                                        
    				</ul>
    			</div>
    </div>
    		</li>
    <li><a href="index.php?e=coupon-center">Coupon Center</a></li>
    <li><a href="index.php?e=top-online-deals">Top Online Deals</a></li>
    		<li><a href="index.php?e=help">How to Coupon</a></li>
    	</ul>
    
    </nav2></body></html>

  • #2
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,295
    Thanks
    10
    Thanked 282 Times in 281 Posts
    Validate the code and fix the bugs. IE is typically the one to react the worst to buggy code.

  • #3
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tracknut View Post
    Validate the code and fix the bugs. IE is typically the one to react the worst to buggy code.
    I fix all the errors but this one I don't know what it means "Error Line 185, Column 5: element "nav" undefined" how do I define the nav tag?

    here the code i have now

    Code:
     <!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" lang="en" xml:lang="en">
    <head>
    <title>sdasdas</title>
    <style type="text/css">
    
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, embed, 
    figure, figcaption, footer, header, hgroup, 
    menu, nav, output, ruby, section, summary,
    time, mark, audio, video {
    	margin: 0;
    	padding: 0;
    	border: 0;
    	font-size: 100%;
    	font: inherit;
    	vertical-align: baseline;
    }
    /* HTML5 display-role reset for older browsers */
    article, aside, details, figcaption, figure, 
    footer, header, hgroup, menu, nav, section {
    	display: block;
    }
    body {
    	line-height: 1;
    }
    ol, ul {
    	list-style: none;
    }
    blockquote, q {
    	quotes: none;
    }
    blockquote:before, blockquote:after,
    q:before, q:after {
    	content: '';
    	content: none;
    }
    table {
    	border-collapse: collapse;
    	border-spacing: 0;
    }
    
    /*nav bar*/
    .container {
      width: 100%;
    height: 340px;
     display: table;
      border-spacing: 5px;
    background: white;
    }
    .left, .right {
      display: table-cell;
      width: 25%;
      background: #E9BC1B;
    }
    
    nav {
      z-index: 5;
      background-color: #1FDA9A;
      border: 3px solid #dedede;
      border-radius: 4px;
      box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
      color: #888;
      display: block;
    margin: 0px 0px 0px 0px;
      overflow: hidden;
      width: 100%; 
      position: fixed;
    }
    
      nav ul {
        margin: 0;
        padding: 0;
      }
    
        nav ul li {
          display: inline-block;
          list-style-type: none;
          
          -webkit-transition: all 0.2s;
            -moz-transition: all 0.2s;
            -ms-transition: all 0.2s;
            -o-transition: all 0.2s;
            transition: all 0.2s; 
        }
          
          nav > ul > li > a > .caret {
            border-top: 4px solid #aaa;
            border-right: 4px solid transparent;
            border-left: 4px solid transparent;
            content: "";
            display: inline-block;
            height: 0;
            width: 0;
            vertical-align: middle;
      
            -webkit-transition: color 0.1s linear;
         	  -moz-transition: color 0.1s linear;
           	-o-transition: color 0.1s linear;
              transition: color 0.1s linear; 
          }
    
          nav > ul > li > a {
            color: #fff;
            display: block;
            line-height: 56px;
            padding: 0 24px;
            border-right: thick solid #000000;
            text-decoration: none;
          }
    
            nav > ul > li:hover {
              background-color: #EE4B3E;
            }
    
            nav > ul > li:hover > a {
              color: #FFFF00;
            }
    
            nav > ul > li:hover > a > .caret {
              border-top-color: #EE4B3E;
            }
          
          nav > ul > li > div {
            background-color: rgb( 40, 44, 47 );
            border-top: 0;
            border-radius: 0 0 4px 4px;
            box-shadow: 0 2px 2px -1px #FFFF00;
            display: none;
            margin: 0;
            opacity: 0;
            position: absolute;
            width: 165px;
            visibility: hidden;
            position: fixed;
            -webkit-transiton: opacity 0.2s;
            -moz-transition: opacity 0.2s;
            -ms-transition: opacity 0.2s;
            -o-transition: opacity 0.2s;
            -transition: opacity 0.2s;
          }
    
    
            nav > ul > li:hover > div {
              display: block;
              opacity: 1;
              visibility: visible;
            }
    
              nav > ul > li > div ul > li {
                display: block;
              }
    
                nav > ul > li > div ul > li > a {
                  color: #000000;
                  display: block;
                  padding: 12px 30px;
                  
                  text-decoration: none;
    border-bottom: 3px solid white;
    border-top: 3px solid white;
                }
    
                  nav > ul > li > div ul > li:hover > a {
                    background-color: #EE4B3E;
                    color: #000000;
                    
                  }
    
    </style>
    
    </head>
    
    <body>
    
    <nav>
    	<ul>
    		<li><a href="index.php">Home</a></li>
    		<li>
          <a >Stores<span class="caret"></span></a>
    <div class="container">
    			<div class="left">
    				<ul>
    					<li><a href="index.php?e=Albertsons-Weekly-Coupon-Deals-Matchups">Albertsons</a></li>
    <li><a href="index.php?e=CVS-Weekly-Coupon-Deals-Matchups">CVS</a></li>
    <li><a href="index.php?e=Dollar-General-Weekly-Coupon-Deals-Matchups">Dollar General</a></li>
                                          <li><a href="index.php?e=Dollar-Tree-Weekly-Coupon-Deals-Matchups">Dollar Tree</a></li>
    					<li><a href="index.php?e=KMART-Weekly-Coupon-Deals-Matchups">KMART</a></li>
                                             <li><a href="index.php?e=Kroger-Weekly-Coupon-Deals-Matchups">Kroger</a></li>
    				</ul>
    
    </div>
    <div class="right">
    <ul>
    					<li><a href="index.php?e=Publix-Weekly-Coupon-Deals-Matchups">Publix</a></li>
    <li><a href="index.php?e=Rite-Aid-Weekly-Coupon-Deals-Matchups">Rite Aid</a></li>
    <li><a href="index.php?e=Safeway-Weekly-Coupon-Deals-Matchups">Safeway</a></li>
                                          <li><a href="index.php?e=ShopRite-Weekly-Coupon-Deals-Matchups">ShopRite</a></li>
    					<li><a href="index.php?e=Target-Weekly-Coupon-Deals-Matchups">Target</a></li>
                                             <li><a href="index.php?e=Walgreens-Weekly-Coupon-Deals-Matchups">Walgreens</a></li>
    				</ul>
    			</div>
    <div class="right">
    <ul>
    					<li><a href="index.php?e=Walmart-Weekly-Coupon-Deals-Matchups">Walmart</a></li>
    <li><a href="index.php?e=WinCo-Weekly-Coupon-Deals-Matchups">WinCo</a></li>
    <li><a href="index.php?e=Whole-Foods-Weekly-Coupon-Deals-Matchups">Whole Foods</a></li>
                                        
    				</ul>
    			</div>
    </div>
    		</li>
    <li><a href="index.php?e=coupon-center">Coupon Center</a></li>
    <li><a href="index.php?e=top-online-deals">Top Online Deals</a></li>
    		<li><a href="index.php?e=help">How to Coupon</a></li>
    	</ul>
    
    </nav></body></html>

  • #4
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok I fix all the errors know but it still not working in IE

    my code now

    Code:
    <!DOCTYPE html>
    <head>
    <meta charset="UTF-8">
    <title>sdasdas</title>
    <style type="text/css">
    
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, embed, 
    figure, figcaption, footer, header, hgroup, 
    menu, nav, output, ruby, section, summary,
    time, mark, audio, video {
    	margin: 0;
    	padding: 0;
    	border: 0;
    	font-size: 100%;
    	font: inherit;
    	vertical-align: baseline;
    }
    /* HTML5 display-role reset for older browsers */
    article, aside, details, figcaption, figure, 
    footer, header, hgroup, menu, nav, section {
    	display: block;
    }
    body {
    	line-height: 1;
    }
    ol, ul {
    	list-style: none;
    }
    blockquote, q {
    	quotes: none;
    }
    blockquote:before, blockquote:after,
    q:before, q:after {
    	content: '';
    	content: none;
    }
    table {
    	border-collapse: collapse;
    	border-spacing: 0;
    }
    
    /*nav bar*/
    .container {
      width: 100%;
    height: 340px;
     display: table;
      border-spacing: 5px;
    background: white;
    }
    .left, .right {
      display: table-cell;
      width: 25%;
      background: #E9BC1B;
    }
    
    nav {
      z-index: 5;
      background-color: #1FDA9A;
      border: 3px solid #dedede;
      border-radius: 4px;
      box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
      color: #888;
      display: block;
    margin: 0px 0px 0px 0px;
      overflow: hidden;
      width: 100%; 
      position: fixed;
    }
    
      nav ul {
        margin: 0;
        padding: 0;
      }
    
        nav ul li {
          display: inline-block;
          list-style-type: none;
          
          -webkit-transition: all 0.2s;
            -moz-transition: all 0.2s;
            -ms-transition: all 0.2s;
            -o-transition: all 0.2s;
            transition: all 0.2s; 
        }
          
          nav > ul > li > a > .caret {
            border-top: 4px solid #aaa;
            border-right: 4px solid transparent;
            border-left: 4px solid transparent;
            content: "";
            display: inline-block;
            height: 0;
            width: 0;
            vertical-align: middle;
      
            -webkit-transition: color 0.1s linear;
         	  -moz-transition: color 0.1s linear;
           	-o-transition: color 0.1s linear;
              transition: color 0.1s linear; 
          }
    
          nav > ul > li > a {
            color: #fff;
            display: block;
            line-height: 56px;
            padding: 0 24px;
            border-right: thick solid #000000;
            text-decoration: none;
          }
    
            nav > ul > li:hover {
              background-color: #EE4B3E;
            }
    
            nav > ul > li:hover > a {
              color: #FFFF00;
            }
    
            nav > ul > li:hover > a > .caret {
              border-top-color: #EE4B3E;
            }
          
          nav > ul > li > div {
            background-color: rgb( 40, 44, 47 );
            border-top: 0;
            border-radius: 0 0 4px 4px;
            box-shadow: 0 2px 2px -1px #FFFF00;
            display: none;
            margin: 0;
            opacity: 0;
            position: absolute;
            width: 165px;
            visibility: hidden;
            position: fixed;
            -webkit-transiton: opacity 0.2s;
            -moz-transition: opacity 0.2s;
            -ms-transition: opacity 0.2s;
            -o-transition: opacity 0.2s;
            -transition: opacity 0.2s;
          }
    
    
            nav > ul > li:hover > div {
              display: block;
              opacity: 1;
              visibility: visible;
            }
    
              nav > ul > li > div ul > li {
                display: block;
              }
    
                nav > ul > li > div ul > li > a {
                  color: #000000;
                  display: block;
                  padding: 12px 30px;
                  
                  text-decoration: none;
    border-bottom: 3px solid white;
    border-top: 3px solid white;
                }
    
                  nav > ul > li > div ul > li:hover > a {
                    background-color: #EE4B3E;
                    color: #000000;
                    
                  }
    
    </style>
    
    </head>
    
    <body>
    
    <nav>
    	<ul>
    		<li><a href="index.php">Home</a></li>
    		<li>
          <a >Stores<span class="caret"></span></a>
    <div class="container">
    			<div class="left">
    				<ul>
    					<li><a href="index.php?e=Albertsons-Weekly-Coupon-Deals-Matchups">Albertsons</a></li>
    <li><a href="index.php?e=CVS-Weekly-Coupon-Deals-Matchups">CVS</a></li>
    <li><a href="index.php?e=Dollar-General-Weekly-Coupon-Deals-Matchups">Dollar General</a></li>
                                          <li><a href="index.php?e=Dollar-Tree-Weekly-Coupon-Deals-Matchups">Dollar Tree</a></li>
    					<li><a href="index.php?e=KMART-Weekly-Coupon-Deals-Matchups">KMART</a></li>
                                             <li><a href="index.php?e=Kroger-Weekly-Coupon-Deals-Matchups">Kroger</a></li>
    				</ul>
    
    </div>
    <div class="right">
    <ul>
    					<li><a href="index.php?e=Publix-Weekly-Coupon-Deals-Matchups">Publix</a></li>
    <li><a href="index.php?e=Rite-Aid-Weekly-Coupon-Deals-Matchups">Rite Aid</a></li>
    <li><a href="index.php?e=Safeway-Weekly-Coupon-Deals-Matchups">Safeway</a></li>
                                          <li><a href="index.php?e=ShopRite-Weekly-Coupon-Deals-Matchups">ShopRite</a></li>
    					<li><a href="index.php?e=Target-Weekly-Coupon-Deals-Matchups">Target</a></li>
                                             <li><a href="index.php?e=Walgreens-Weekly-Coupon-Deals-Matchups">Walgreens</a></li>
    				</ul>
    			</div>
    <div class="right">
    <ul>
    					<li><a href="index.php?e=Walmart-Weekly-Coupon-Deals-Matchups">Walmart</a></li>
    <li><a href="index.php?e=WinCo-Weekly-Coupon-Deals-Matchups">WinCo</a></li>
    <li><a href="index.php?e=Whole-Foods-Weekly-Coupon-Deals-Matchups">Whole Foods</a></li>
                                        
    				</ul>
    			</div>
    </div>
    		</li>
    <li><a href="index.php?e=coupon-center">Coupon Center</a></li>
    <li><a href="index.php?e=top-online-deals">Top Online Deals</a></li>
    		<li><a href="index.php?e=help">How to Coupon</a></li>
    	</ul>
    
    </nav></body></html>

  • #5
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,295
    Thanks
    10
    Thanked 282 Times in 281 Posts
    Not sure why overflow:hidden is on your nav tag, is there a reason? Take that out.

  • #6
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thank you sooo much!!! that fix it!!!

  • #7
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    oh, great discussion. did you get result newkidprogamer?

  • #8
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ChristyMathew View Post
    oh, great discussion. did you get result newkidprogamer?
    yes, when I removed "overflow:hidden" it worked in IE


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •