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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Help spry on dreamweaver cs5!!!

    I am trying on dreamweaver to make a spry banner.

    Below is my code. it is coming up as a list of links not a banner with tabs.



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>banner</title>
    <style type="text/css">
    #apDiv1 {
    position:absolute;
    left:115px;
    top:35px;
    width:981px;
    height:166px;
    z-index:1;
    background-color: #33CCCC;
    border: thick groove #CCC;
    color: #000;
    }
    .bathroom { color: #000;
    }
    #apDiv2 {
    position:absolute;
    left:332px;
    top:339px;
    width:982px;
    height:580px;
    z-index:2;
    }
    #apDiv3 {
    position:absolute;
    left:82px;
    top:77px;
    width:1143px;
    height:34px;
    z-index:2;
    }
    </style>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link Href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>

    <body title="horizontal" href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
    <div id="apDiv3">
    <ul id="MenuBar1" class="MenuBarHorizontal">
    <li><a class="MenuBarItemSubmenu" href="http://thewebmall.com/">Clothing &amp; Accessories</a>
    <ul>
    <li><a href="http://beautybuy.com/">Beauty Supplies</a></li>
    <li><a href="http://constructionboots.com/">Construction Boots</a></li>
    <li><a href="http://dresswatch.com/">Watches</a></li>
    </ul>
    </li>
    <li><a href="http://thewebmall.com/" class="MenuBarItemSubmenu">Electronics</a>
    <ul>
    <li><a href="http://justamps.com/">Car Amplifiers</a></li>
    <li><a href="http://justwoofers.com/">Car Woofers</a></li>
    <li><a href="http://1stopelectronics.com/">CB &amp; 2-Way Radios</a></li>
    <li><a href="http://shopelectronicsonline.net/">Home Electronics</a></li>
    <li><a href="http://homeprojector.com/">Home Theater Projectors</a></li>
    <li><a href="http://ibatterystore.com/">Rechargeable Batteries</a></li>
    <li><a href="http://turntable.com/">Turntables</a></li>
    <li><a href="http://gamebliss.com/">Video Games</a></li>
    </ul>
    </li>
    <li><a href="http://thewebmall.com/" class="MenuBarItemSubmenu">Gifts</a>
    <ul>
    <li><a href="http://eccokie.com/">Gourmet Cookies</a></li>
    <li><a href="http://artisticbaskets.com/">Gourmet Gift Baskets</a></li>
    <li><a href="http://wedfavors.com/">Wedding Favors</a></li>
    </ul>
    </li>
    <li><a href="http://thewebmall.com/" class="MenuBarItemSubmenu">Home &amp; Garden</a>
    <ul>
    <li><a href="http://bathroomshowers.net/">Bathroom Showers</a></li>
    <li><a href="http://caulkguns.com/">Caulk Guns</a></li>
    <li><a href="http://crib.net/">Crib &amp; Bassinets</a></li>
    <li><a href="http://justfans.com/">Fans</a></li>
    <li><a href="http://waterhose.com/">Garden Hoses</a></li>
    <li><a href="http://swingsnthings.com/">Hammocks &amp; Swings</a></li>
    <li><a href="http://sinks.net/">Kitchen Faucets</a></li>
    <li><a href="http://kitchenlights.com/">Kitchen Lights</a></li>
    <li><a href="http://toolsrusinc.com/">Powers Tools</a></li>
    <li><a href="http://shotglass.com/">Shot Glasses</a></li>
    </ul>
    </li>
    <li><a class="MenuBarItemSubmenu" href="http://thewebmall.com/">Pets/Hobbies/Toys</a>
    <ul>
    <li><a href="http://aquariumexperts.com/">Aquariums</a> </li>
    <li><a href="http://catshack.com/">Cat Supplies</a></li>
    <li type="text/css" href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet"><a href="http://fireengines.com/">Fire Engines</a></li>
    <li><a href="http://elitehobby.com/">Hobbies</a></li>
    <li><a href="http://puppyland.com/">Puppy Supplies</a></li>
    </ul>
    </li>
    <li><a href="http://thewebmall.com/" class="MenuBarItemSubmenu">Sports &amp; Fitness</a>
    <ul>
    <li><a href="http://exercisebike.com/">Exercise Bikes</a></li>
    <li><a href="http://exerciseclothing.com/">Exercise Clothing</a></li>
    <li><a href="http://rodreel.com/">Fishing Rods &amp; Reels</a></li>
    <li><a href="http://goldclub.net/">Golf Equipment</a></li>
    <li><a href="http://NFLFanatics.com/">NFL Jerseys</a></li>
    <li><a href="http://safesports.com/">Sports Safety Gear</a></li>
    </ul>
    </li>
    </ul>
    </div>
    <p>&nbsp; </p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp; </p>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>

  • #2
    Senior Coder
    Join Date
    Apr 2011
    Location
    London, England
    Posts
    2,120
    Thanks
    15
    Thanked 354 Times in 353 Posts
    The body tag does not have these attributes:
    Code:
    <body title="horizontal" href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
    Similarly for
    Code:
    <li type="text/css" href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet">
    XHTML is case-sensitive:
    Code:
    <link rel="stylesheet" type="text/css" href="style.css" />
    "I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
    Validate your HTML and CSS


  •  

    Posting Permissions

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