Dreamweaver floats

After all that has been written on floats, I have still been
having trouble in a multicolumn situation because when I try to
clear images and divs in the second column (right column) with left
clears, the clear introduces a gap in the right column down to the
end of the left column. I have tried the techniques written about
in Gallant and Bergevin's tutorials without success, so either I
have some other problem that is in conflict, or I am missing
something.
Furthermore, when I try the hack to overcome the 3 px IE
problem, the
dreamweaver 8 design window falls apart, but curiously the
firefox and safari
browsers (Mac OSX) do not show the problem. Floating the
content div doesn't
seem to work right.
The page in question can be found at
http://cabrackett.com/bella_galleria/the_gallery.html
It looks good in the browsers I have but again has been
hacked by adding some   to
add the white space I want to use the clear for.
chuck

cabrackett wrote:
> The problem is this: I want to clear the text and images
in the right column
> such that the text associated with each image is
adjacent to it with no
> overlaps to prior or subsequent segments. For example:
The section with the
> header Original Art ends at the Verna Bartnick text
item. The next section is
> headed Exhibits, Shows, .... I currently have separated
these two sections by
> putting enough   in so that the following text
doesn't try to sneak up
> under the Verna Bartnick text.
The problem is you have over-complicated the structure by the
over use
of divs and a complex method of combining css classes and
ids..........its not any wonder when you choose this method
and when you
keep inserting empty <h3> tags, empty <p> tags,
use two or three classes
to do the same thing problems arise and it quickly gets out
of control
You only need 6 simple <div> containers to house your
diferent sections.
Use this method, its simple, not complex. Comment where the
<div> ends.
At the moment you have so many div tags in there its hard to
see which
belongs to which. Many are doing nothing.
<div id="one">
<img src="yourImage.jpg" alt="gallery photo" width="331"
height="249"
class="rightimage">
<h3>Enriching Lives ...</h3>
<p>The Bella Galleria has caused many "wows" from first
time visitors
who are
stunned at the large display of original artwork as they
enter the Old
Mission Tavern and are beckoned into the gallery.</p>
<p>Artwork is generously displayed in the restaurant as
well.</p>
<br style="clear: both;" />
</div><!-- end one -->
Six very simple containers as above, using a br clearing at
the end of
each will give you what you want.
> If I put in a clearing <br/> then the page
separates because it clears down
> through the end of that medium blue left column. That is
not what I want to
> happen.
If this is happening then you have something else in your
code/css which
is making that happen.
Build the section in a new document and then import it into
your page.
If it works in an independent document but not within the
page itself
its obviuosly you have troubles which run to greater depths.
In all seriousness I could take hours to unravel the mess in
your code
and it would only take 30-40mins to completley rebuild from
the ground up.
The key is YOU MUST be aware at all time what you are doing.
If you are
not and you dont test practically after everything you do
(until you get
more experienced) you will soon end up a creek without a
paddle.
> So, the way it looks as you see it does not show the
problem. Try changing
> your browser's text size downward and watch the various
text blocks move up and
> around the images. I don't want that to happen.
It shows the issue when I down size the text but if you use
the very
simple method I give above and try and slimline the amount of
css which
is doing the same thing your life will become far easier

Similar Messages

  • Floated element breaks Design view in Dreamweaver CS3

    I've tried searching for this issue but haven't found a fix yet and could use some help.
    I am redesigning a site and am adding a fluid box to the page. This floated element breaks Design View in Dreamweaver CS3 but appears correctly in the Firefox, Chrome, and IE.  I can get the element to appear correctly in Design View after I make minor changes to the page's HTML or CSS, however it always breaks when I save the file.
    I've tried many work-arounds including adding an absoutely defined container div, altering the various div sizes, adding <div class="clear"> before and after the element, to no avail.
    Ideally, I would like to have page appear correctly in Design View so that others in my lab can easily update the page (and not come to me with repeated questions!).
    I've included screen prints of how it looks in Design View and how it look in Chrome.
    THANKS! J
    Design Time error:
    Web Browser - correct view:

    I'll try CS4; however my main reason for finding a fix is so that others updating the page (w/ CS3) will be able to do so w/ the WYSIWYG editor that we purchased. We will not be upgrading to CS4 anytime soon either.
    Thanks

  • Dreamweaver and floating dialog

    Dreamweaver and floating dialog. You see it on a lot of websites. I am not sure if this done in JavaScript or JQuery. I was wondering if someone can point me to a sample of doing this. I need to incorporated JavaScript and JQuery into my pages .

    <!doctype html> 
    <html lang="en">
    <head>
      <meta charset="utf-8">
      <title>jQuery UI Dialog - Default functionality</title>
      <link rel="stylesheet" href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
      <script src="//code.jquery.com/jquery-1.10.2.js"></script>
      <script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
      <link rel="stylesheet" href="/resources/demos/style.css">
      <script>
      $(function() {
      $( "#dialog" ).dialog();
      </script> 
    </head>
    <body>
    <div id="dialog" title="Basic dialog">
      <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
    </div>
    </body>
    </html>
    Also refer to the Documentation:
    Dialog Widget | jQuery UI API Documentation
    Nancy O.

  • Dreamweaver CC layout help please (using floats)

    Hi All,
    I'd appreciate any help with this problem creating my ideal Dreamweaver CC layout!
    Please see the screen shot below. Everything is perfect except I can't get the div labeled "div-right" at the bottom to sit on the right just like the one that sits on the left of middle divs that I have already aligned nicely.
    I have my coding the way I understand most, so I can attach that in another post if needed.
    Thanks!!!!

    sorry Nancy, work is very busy!
    For now, here is my code
    I hope its of some use at least for now..
    Thanks!
    <!doctype html> 
    <html> 
    <head> 
    <meta charset="utf-8"> 
    <title>HTML5 2-Col Layout</title> 
    <meta name="viewport" content="width=device-width, initial-scale=1"> 
    <!--[if IE]> 
    <meta http-equiv="X-UA-Compatible" content="IE=edge"> 
    <![endif]--> 
    <!--[if lt IE 9]> 
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> 
    <![endif]--> 
    <style> 
    /**CSS Reset**/ 
        padding: 0; 
    /**fixes the CSS box model in responsive layouts**/ 
        -webkit-box-sizing: border-box; 
        -moz-box-sizing: border-box; 
        box-sizing: border-box; 
    img { 
        max-width: 100%; 
        vertical-align: baseline; 
    body { 
        padding: 0; 
        width: 90%; /**adjust width in px or % as required**/ 
        margin: 0 auto; /**this is centered**/ 
        background: #F5DD83; 
        color: #505050; 
        font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif; 
        font-size: 100%; 
        box-shadow: 2px 2px 4px #333; 
    header { 
        margin: 0; 
        padding: 0 1%; 
        width: 100%; 
        background: #B00202; 
        color: #FFF; 
    header h1, header h2 { 
        display: inline; 
        color: #F5DD83; 
        padding: 0 1%; 
    /**top menu**/ 
    nav { 
        background: #69C; 
        font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif; 
        font-size: 14px; 
        font-weight: bold 
    nav ul { 
        margin: 0; 
        padding: 0; 
    nav li { 
        list-style: none; 
        display: inline-block; 
        margin: 0 3% 0 5%; 
    /**menu link styles**/ 
    nav li a { 
        color: #FFF; 
        text-decoration: none; 
        line-height: 2.5em; 
        padding: 6px; 
        border: 1px solid #CCC; 
    /**on select or mouseover**/ 
    nav li a:hover, nav li a:active, nav li a:focus { 
        background: #CCC; 
        color: #505050; 
    #wrapper { 
        background: #DDD; 
        overflow: hidden; /**float contaiment**/ 
    /**left sidebar**/ 
    aside { 
        padding: 0 2%; 
        float: left; 
        width: 30%; 
    /**main content**/ 
    article { 
        padding: 0 2%; 
        background: #FFF; 
        float: left; 
        width: 70%; 
    figure {  
    width: 80%;  
    margin: 4% auto 4% auto;  
    text-align:center; 
    figcaption { 
        text-align: center; 
        font-style: oblique; 
        font-size: small; 
        color: #2294AE; 
    footer { 
        clear: both; 
        background: #B00202; 
        color: #FFF; 
        text-align: center; 
        margin: 0; 
    /**text styles**/ 
    h3 { 
        color: #2294AE; 
        margin-bottom: 0 
    p { margin: 0 0 1em 0 } 
    #left-div {
      background-color: #D3D3D3;
      height: 100px;
      width: 650px;
    </style> 
    <link rel="stylesheet" href="ajxmenu3.css" type="text/css">
    <link rel="stylesheet" href="ajxmenu4.css" type="text/css">
    <link rel="stylesheet" href="ajxmenu6.css" type="text/css">
    </head> 
    <body> 
    <!--begin header--> 
    <header> <h1>Hassengate Pharmacy</h1> 
    </header> 
    <!--begin navigation--> 
    <nav> 
    <ul> 
    <div class="AJXCSSMenuUGYETAC"><!-- AJXFILE:ajxmenu4.css -->
    <div class="ajxmw">
      <div class="ajxmw2">
    <div class="ajxtbg">
    <ul>
    <li class="tfirst"><a href="#">Home</a></li>
    <li class="tsub"><a class="ajxsub" href="www.google.com">Pharmacy</a>
      <ul>
       <li class="sfirst slast"><a href="#">News</a></li>
      </ul>
    </li>
    <li class="tsub"><a class="ajxsub" href="#">Shop</a>
      <ul>
       <li class="sfirst slast"><a href="#">Offers</a></li>
      </ul>
    </li>
    <li class="tsub"><a class="ajxsub" href="#">NHS Services</a>
      <ul>
       <li class="sfirst"><a href="#">MUR</a></li>
       <li class="slast"><a href="#">NMS</a></li>
      </ul>
    </li>
    <li class="tsub"><a class="ajxsub" href="#">Blah</a>
      <ul>
       <li class="sfirst slast"><a href="#">1</a></li>
      </ul>
    </li>
    <li class="tsub"><a class="ajxsub" href="#">Blah</a>
      <ul>
       <li class="sfirst slast"><a href="#">2</a></li>
      </ul>
    </li>
    <li class="tsub"><a class="ajxsub" href="#">Blah</a>
      <ul>
       <li class="sfirst slast"><a href="#">3</a></li>
      </ul>
    </li>
    <li class="tlast tsub"><a class="ajxsub" href="#">Blah</a>
      <ul>
       <li class="sfirst slast"><a href="#">4</a></li>
      </ul>
    </li>
    <li class="tlast tsub"></li>
    </ul>
    </div>
      </div>
    </div>
    <br >
    </div>
    </ul> 
    </nav> 
    <div id="wrapper">  
    <!--begin left sidebar--> 
    <aside>
      <p align="center"> 
      <p align="center">Conditions
      <div class="AJXCSSMenuWOENVAC">
        <div align="left">
          <!-- AJXFILE:ajxmenu6.css -->
        </div>
        <div class="ajxmw">
          <div class="ajxmw2">
            <div class="ajxtbg">
              <div align="left">
                <ul>
                  <li class="tfirst tsub"><a class="ajxsub" href="#">Condition 1</a>
                    <ul>
                      <li class="sfirst slast"><a class="ajxsub" href="#">1-1</a>
                        <ul>
                          <li class="sfirst slast"><a href="#">1-1-1</a></li>
                        </ul>
                      </li>
                    </ul>
                  </li>
                  <li class="tsub"><a class="ajxsub" href="#">Condition 2</a>
                    <ul>
                      <li class="sfirst slast"><a class="ajxsub" href="#">2-2</a>
                        <ul>
                          <li class="sfirst slast"><a href="#">2-2-2</a></li>
                        </ul>
                      </li>
                    </ul>
                  </li>
                  <li class="tlast tsub"><a class="ajxsub" href="#">Condition 3</a>
                    <ul>
                      <li class="sfirst slast"><a class="ajxsub" href="#">3-3</a>
                        <ul>
                          <li class="sfirst slast"><a href="#">3-3-3</a></li>
                        </ul>
                      </li>
                    </ul>
                  </li>
                </ul>
              </div>
              </div>
            </div>
        </div>
        <div align="left"><br >
        </div>
      </div> </p>
      <p> </p>
      </p> 
    </aside> 
    <!--begin main content--> 
    <article> <h3>Article</h3> 
    <p> </p> 
    <figure></figure>
    <figure>
      <figcaption></figcaption> 
    </figure> 
    </article> 
    <!--end wrapper--></div> 
    <!--begin footer--> 
    <footer>  
    <small>© Hassengate Pharmacy 2014 All rights reserved</small>  
    </footer> 
    </body> 
    </html> 

  • Dreamweaver cs3 Layout Clear Floats

    Have two sidebar divs and a maincontent div in the middle
    with a header at the top. In IE7 it displays incorrectly by moving
    the maincontent down below the clear float. Any help would be
    great.

    tfraga wrote:
    > Can anyone help me with some advise?
    Layout Mode has been removed from the Insert bar because it
    produces
    such poor quality code. The best advice to you is to learn
    the basics of
    HTML and CSS. You'll then find Dreamweaver a lot easier to
    use.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Dreamweaver cs5.5 - div tags won't float next to eachother

    I have being trying to get 2 div tags to float next to eachother for hours! I've been messing with the float and messing with margins, but what ever i do the div is always somewhat under my other div tag. I want them completely side by side. I have tried changing the top and bottom margins but that doesn't work either. how can i get them side by side? One is called 'textbox' and the other 'imagewrapper'. The code is:
    <!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>Untitled Document</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <link href="main.css" rel="stylesheet" type="text/css" />
    <link href="style2.css" rel="stylesheet" type="text/css" />
    <!--embedded styles for this page only-->
    <style type="text/css">
    body {
    margin:0;
    padding:0;
    font: 1em/1.5 "Lucida Sans", "Lucida Sans Unicode";
    #wrapper {
    width: 1064px;
    margin: 0 auto; /**with width, this centers page on screen**/
    background: #FFF;
    text-align:center;
    /**this styles image container**/
    #thumbs p {
              float:center;
              width: 50px;
              height: 75px;
              /**this styles caption text**/
    font: italic 14px/1.5 Geneva, Arial, Helvetica, sans-serif;
              color: #666;
              text-align:center;
              border: 1px solid silver;
              margin-top: 10px;
              margin-right: 5px;
              margin-bottom: 18px;
              margin-left: 5px;
    /**recommend using same size images**/
    #thumbs img {
              width:  50px; /**adjust width to photo**/
              height: 75px; /**adjust height to photo**/
              /**CSS3 drop shadows**/
    -moz-box-shadow: 5px 5px 5px #666;
              -webkit-box-shadow: 5px 5px 5px #666;
              -khtml-box-shadow: 5px 5px 5px #666;
              box-shadow: 5px 5px 5px #666;
    /**float clearing**/
    #thumbs:after{
              display:block;
              visibility:hidden;
              height:0;
              font-size:0;
              content: " ";
              clear: left;
    #wrapper #thumbs #imagewrapper {
              height: 362px;
              width: 280px;
              float: right;
              margin-right: 720px;
    #wrapper #thumbs #imagewrapper img {
              height: 362px;
              width: 280px;
    #wrapper #textbox {
              float: right;
              height: 300px;
              width: 600px;
              margin-right: 70px;
    .clearing {
    clear:left;
    height:px;
    width: 100%;
    </style>
    </head>
    <body>
    <div id="wrapper">
    <img src="product and website photos/header.png" width="1064" height="116" alt="header" />
    <!--begin menu -->
    <ul id="MenuBar1" class="MenuBarHorizontal">
    <li><a href="#home.html">Home</a></li>
    <li><a href="#" class="MenuBarItemSubmenu">Boutique</a><ul>
    <li><a href="#" class="MenuBarItemSubmenu">Women</a><ul>
    <li><a href="bwt.html">Tops</a></li>
    <li><a href="bws.html">Skirts/Shorts</a></li>
    <li><a href="bwl.html">Trousers/Leggings</a></li>
    <li><a href="bwa.html">Accessories</a></li>
    <li><a href="bwd.html">Dresses</a></li></ul></li>
    <li><a href="#" class="MenuBarItemSubmenu">Men</a>
    <ul>
    <li><a href="#">Tops</a></li>
    <li><a href="#">Bottoms</a></li>
    <li><a href="#">Accessories</a></li>
    </ul>
    </li>
    <li><a href="#">Semi-Unique</a></li>
    </ul>
    </li>
    <li><a class="MenuBarItemSubmenu" href="#">T-shirt Shop</a><ul>
    <li><a href="t-shirt shop.html">Men</a></li>
    <li><a href="t-shirt shop.html">Women</a></li>
    <li><a href="t-shirt shop.html">Unique</a></li>
    </ul></li>
    <li><a href="clearance.html">Clearance</a></li>
    <li><a href="#">About</a></li>
    </ul>
    <h2> </h2>
    <div id="textbox"></div>
    <div id="thumbs">
      <div id="imagewrapper"></div>
      <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <!--end wrapper --></div>
    <hr align="center" size="10" noshade="noshade" class="clearing" color="#999999" />
    <div align="left">&copy; 2012 your footer text goes here</div>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>

    If you want to position 2 divs - one on left and other on right, the float for your left div should say float: left; and for the one on the right the CSS should say float:right;
    In your code, I see you want imagewrapper to come on right and textbox to come on left. But your float for BOTH these say right. This is where the issue lies.
    You can combine float:left and float:right to achieve side by side divs provided the overall width (container width+padding+margin) of both divs is less than or equal to the width of the wrapper div.
    In the OP's example:
    #wrapper = 1064+0+0 = 1064px
    #textbox + #imagewrapper = 600+70+280+720 = 1670px = float drop

  • Float problems in Dreamweaver CS3

    I am having problems creating a 2-column layout to display my main page content alongside a sidebar containing a simple payment signup form.
    I have set up DIVs for each... no problem. I have applied a left float property to the sidebar, but I can't get the main content to appear to the right of the sidebar - it's still beginning where the sidebar ends.
    Is there something fundamental I am doing wrong?

    The live link is http://www.sharpeacademy.co.uk/summerschoolnew.html
    Code for the page is as follows:
    <!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>Sharpe Academy - Summer School 2009 - Singing, Acting, Dance, Fitness, Stage Combat</title>
    <link href="css/oneColFixCtrHdr.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
    </head>
    <body class="oneColFixCtrHdr">
    <div id="containerSummerSchool">
      <div id="header"><img src="images/header.png" alt="Welcome to Sharpe Academy" width="1000" height="200" />
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="index.html">HOME</a> </li>
          <li><a href="#" class="MenuBarItemSubmenu">ABOUT US</a>
              <ul>
                <li><a href="history.html">Brief History</a></li>
                <li><a href="mission.html">Our Mission</a></li>
                <li><a href="venue.html">Venue</a></li>
                <li><a href="staff.html">Staff</a></li>
              </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="#">CLASSES</a>
              <ul>
                <li><a href="academyactors.html">Acting</a></li>
                <li><a href="starlighters.html">Musical Theatre</a></li>
                <li><a href="fees.html">Fees</a></li>
              </ul>
          </li>
          <li><a href="summerschool.html">SUMMER SCHOOL</a> </li>
          <li><a href="contact.html">CONTACT US</a></li>
        </ul>
      </div>
      <p> </p>
      <div id="leftSidebar">
        <div id="PayPalContainer">
          <form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="PayPal" target="_blank" id="PayPal">
            <input type="hidden" name="cmd" value="_s-xclick" />
            <input type="hidden" name="hosted_button_id" value="6106695" />
            <table>
              <tr>
                <td><input type="hidden" name="on0" value="Select which week" />
                  Select which week</td>
              </tr>
              <tr>
                <td><select name="PayPalWeek" id="PayPalWeek">
                    <option value="13th - 17th July - Rotherham">13th - 17th July - Rotherham </option>
                    <option value="20th - 24th July - Rotherham">20th - 24th July - Rotherham </option>
                    <option value="3rd - 7th August - Harrow">3rd - 7th August - Harrow </option>
                  </select>
                </td>
              </tr>
              <tr>
                <td><input type="hidden" name="on1" value="Enter your childs name" />
                  Enter your childs name</td>
              </tr>
              <tr>
                <td><input type="text" name="PayPalName" maxlength="60" id="PayPalName" /></td>
              </tr>
              <tr>
                <td><input type="hidden" name="on2" value="Enter your childs age" />
                  Enter your childs age</td>
              </tr>
              <tr>
                <td><input type="text" name="PayPalAge" maxlength="60" id="PayPalAge" /></td>
              </tr>
            </table>
            <input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_paynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online." />
            <img alt="PayPal payment form" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1" />
          </form>
        </div>
      </div>
      <div id="summerSchoolContent">
        <div class="oneColFixCtrHdr" id="textHeader">
          <p><img src="images/summerSchoolType.png" alt="Welcome to Sharpe Academy" width="538" height="40" /> </p>
        </div>
        <h5>When is Summer School?</h5>
        <p> Monday 13th – Friday 17th July – 9am-4pm - Rotherham, South Yorkshire</p>
        <p> Monday 20th – Friday 24th July – 9am-4pm - Rotherham, South Yorkshire</p>
        <p> Monday 3rd – Friday 7th August – 9am-4pm - Harrow, Greater London</p>
        <h5> Who can attend?</h5>
        <p> Anyone aged 6 to 16 who lives in the local area can attend summer school. We are always keen to see new faces. You don’t need any experience in any of the subjects as we will teach from the very beginning.</p>
        <h5>Can my child come to more than one week of Summer School?</h5>
        <p> Children in Rotherham may come to one or both Rotherham weeks as we will be teaching different materials both weeks. We are only doing one week in Harrow this year.</p>
        <h5>Who will be teaching at Summer School 2009?</h5>
        <p> Our teachers come from a variety of backgrounds. Their pictures and names can be seen on the left hand side. We have West-End performers who will be joining us to do workshops in shows including The Lion King, Chitty Chitty Bang Bang, Cats, Fiddler on the Roof, We Will Rock You and Les Miserables. We are also welcoming teachers from some of the most prestigious performing arts colleges in London including Mountview, Guildford School of Acting and Sylvia Young Stage School.</p>
        <h5>Are Teachers CRB Checked?</h5>
        <p> Yes, all teachers who teach at Sharpe Academy are CRB police checked. We also have a first aid trained member of staff on site at all times.</p>
        <h5>How do I book? </h5>
        <p> We have several ways for you to book. You can pay online by debit or credit card by clicking the PAY NOW button above which takes you through to a secure checkout through Paypal. Once payment has been received we will post you out a full registration pack to be completed. Alternatively you may wish to pay by cheque. Please download our booking form leaflet and send this along with your summer school fee to the address on the leaflet.</p>
        <h5>What subjects will children learn?</h5>
        <p> FITNESS  SINGING  MUSICAL THEATRE   ACTING for the Stage </p>
        <p> ACTING for Television &amp; Film  MIME   JAZZ   TAP  BALLET </p>
        <p> STAGE COMBAT  AUDITION TECHNIQUE   END OF WEEK SHOWCASE FOR PARENTS</p>
        <h5> Where is the Rotherham Summer School being held?</h5>
        <p>Rudston Prep School, 59/63 Broom Road, Rotherham, South Yorkshire S60 2SW </p>
        <h5>Where is the Harrow Summer School being held?</h5>
        <p>Harrow High School, Gayton Road, Harrow, Greater London HA1 2JG.</p>
        <h5>How much is Summer School?</h5>
        <p> Online booking: £105.00 per child for the full week – Includes a Summer School t-shirt</p>
        <p> Standard booking: £120.00 per child for the full week.</p>
        <h5> What do the children need to wear?</h5>
        <p> Comfortable clothing must be worn (no jeans). Footwear should be trainers, dance shoes or indoor pumps.</p>
        <p> Summer School T-shirts will be on sale for £10.00, or FREE if you book online.</p>
        <h5> What are the T-shirt Sizes?</h5>
        <div class="tshirtSizes">
          <table border="0" cellspacing="0" cellpadding="0">
            <tr>
              <th scope="row">Order Size:</th>
              <td>5–6</td>
              <td>7–8</td>
              <td>9–11</td>
              <td>12–13</td>
              <td>14–15</td>
              <td>Adult S</td>
              <td>Adult M</td>
              <td>Adult L</td>
            </tr>
            <tr>
              <th scope="row">Height <span class="plainType">(cm)</span>:</th>
              <td>116</td>
              <td>128</td>
              <td>140</td>
              <td>152</td>
              <td>164</td>
              <td>–</td>
              <td>–</td>
              <td>–</td>
            </tr>
            <tr>
              <th scope="row">Chest <span class="plainType">(inches)</span>:</th>
              <td>26/28</td>
              <td>30</td>
              <td>32</td>
              <td>34</td>
              <td>36</td>
              <td>35/37</td>
              <td>38/40</td>
              <td>41/43</td>
            </tr>
          </table>
        </div>
      </div>
      <div class="push"></div>
    <!-- end #container --></div>
    <div id="footer">
        <div class="oneColFixCtrHdr" id="copyright">
          <p>
            <!-- end #footer -->
          &copy; Copyright Sharpe Academy 2009. All rights reserved. Daniel Sharpe trading as Sharpe Academy.</p>
        </div>
        <div class="oneColFixCtrHdr" id="links">
          <p>|    <a href="summerschool.html">Home</a>   |   <a href="starlighters.html">Musical Theatre</a>   |   <a href="academyactors.html">Acting for Stage &amp; Screen</a><a href="http://www.shapeacademy.co.uk/" target="_blank"></a>   |   <a href="contact.html">Contact Us</a>   |</p>
        </div>
      </div>
    <!-- Start of StatCounter Code -->
    <script type="text/javascript">
    var sc_project=4366318;
    var sc_invisible=1;
    var sc_partition=55;
    var sc_click_stat=1;
    var sc_security="12b1dd37";
    </script>
    <script type="text/javascript"
    src="http://www.statcounter.com/counter/counter.js"></script><noscript><div
    class="statcounter"><a title="web analytics"
    href="http://www.statcounter.com/" target="_blank"><img
    class="statcounter"
    src="http://c.statcounter.com/4366318/0/12b1dd37/1/"
    alt="web analytics" ></a></div></noscript>
    <!-- End of StatCounter Code -->
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-9304732-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </body>
    </html>

  • How to get the Dreamweaver CC interface to floating pallets

    ie: no large grouped clunky window, just loose windows you can navigate to desktop easily
    Hello ...
    Ok i am one of those who hates the gropuped palets, its just to difficult to get to windows underneath, slows work down. I tried pulling all the pallets off the large window but wheni do i still have 1 large app window then when i close closes Dreamweaver ... Really loved the old interface, how do i get back to the "non-winbdows" mac versions of how adobe products windows looked and functioned.
    thx
    (had to edit - i frogot i did not use 6 as i didnt have time to figure it out then either, just stuck to old version)

    I believe it's under Edit > Preferences > General where Mac users can turn off the "Application Frame".
    PC users are stuck with it no matter what though.
    EDIT: Though I'm not sure if it exists anymore, I switched to PC a while back.
    Ah, it might be under Window > Uncheck Application Frame

  • Floating Tables in Dreamweaver MX

    I'm not sure where to begin looking for this topic, so I'm
    starting here. Can anyone tell me where to find tutorial or
    instructions on a method to make the "main" area of my web pages
    center in the browser window, regardless of the size of the window?
    I've seen sites that do this, but I can't find the subject in any
    of my tutorials, and I can seem to make it work "intuitively" by
    myself. For example, see this site:
    http://www.davidclarkdesign.com/
    Any help?

    Of course it's clever (although dated) but the achilles heel
    is that it only
    works on a container for which the height has been defined,
    and for one
    containing text, that's a killer. Also note the curiousity
    that the author
    has use points for the zero units. I prefer the use of
    furlongs for zero.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Dooza" <[email protected]> wrote in message
    news:gm968i$adr$[email protected]..
    > jerrybatey wrote:
    >> Murray,
    >>
    >> I really appreciate you staying with me on this
    subject. I sometimes
    >> think I'm starting to get a glimmer of
    understanding, but I'm still
    >> trying to figure out how the "floating" is done on
    the following site:
    >>
    >>
    http://www.davidclarkdesign.com/
    >
    > Its cunning, thats for sure:
    >
    > div#content {
    > height: 350px;
    > width: 100%;
    > background-color: #ffffff;
    > background-image: none;
    > background-repeat: repeat;
    > background-attachment: scroll;
    > background-position: 0% 0%;
    > position: absolute;
    > top: 50%;
    > left: 0pt;
    > margin-top: -175px;
    > margin-right: 0pt;
    > margin-bottom: 0pt;
    > margin-left: 0pt;
    > }
    >
    > Using absolute positioning, set the height, then set the
    top position to
    > half the viewport (50%) but then use negative top margin
    that is half the
    > height of the element. Nifty indeed, not seen it done
    like this before.
    >
    > Dooza

  • Tabs float away from panel in Dreamweaver

    In DW-CS3, when I insert a tabbed panel, not always, but
    frequently, the Tab1 & Tab2 tabs will be floating randomly to
    the upper left of the TabbedPanels panel. Should be in place above
    the Content window. Does anyone have a remedy for this?

    See screenshot:
    Nancy O.

  • Website site looks fine in Dreamweaver but...

    So I am creating my own website for the first time and after a bunch of problems, I've ran into one I am unsure of how to fix.
    ngkevin-art.com/about.html
    This is how it looks like in Dreamweaver and how I want it to look:
    http://i.imgur.com/wlOIR.jpg
    But when I go into Live View, or see it online, it falls apart. Any help would be appreciated.
    CSS:
    @charset "utf-8";
    /* CSS Document */
    /* General HTML Tag Rules */
    body {
              width:auto;
              height:auto;
              background-image:url(images/bg_demo2.png);
              background-color:#2d2d2d;
              background-repeat:no-repeat;
              background-position:center;
              margin-top:30px;
    @font-face {
        font-family: Harabara;
        src: url(Harabara.ttf);
        font-weight:200;
    h1 {
              font-family: Harabara, Helvetica, Arial, sans-serif;
              font-size:150%;
              color:#CECEBC;
    h2 {
              font-family: Harabara, Helvetica, Arial, sans-serif;
              font-size:100%;
              color:#CECEBC;
    .text {
              margin-left:75px;
              width:auto;
              float:left;
    #text2 {
              width:408px;
              text-align:center;
    .text3 {
              margin-left:25px;
              width:auto;
              float:left;
    #container {
              width:1280px;
              height:960px;
              margin-left:auto;
              margin-right:auto;
    #wrapContact {
              width: 520px;
              height: 100px;
              margin-left:735px;
              margin-top: 10px;
              clear: both;
    #linked {
              float:left;
              margin-top:35px;
              width: 175px;
    #facebook {
              float:left;
              width: 200px;
              margin-left:32px;
              margin-top:25px;
    #email {
              float:left;
              width:75px;
              margin-left:35px;
              margin-top:20px;
    #wrapNav {
              width: 475px;
              margin-left:750px;
              margin-top:60px;
    #demo {
              width: 500px;
              text-align:center;
              margin-top: 70px;
              margin-left:auto;
              margin-right:auto;
    #flatbook {
              width:250px;
              margin-left:auto;
              margin-right:auto;
              margin-top:20px;
    #wrapAbout {
              margin-left:auto;
              margin-right:auto;
              margin-top:75px;
              width: 1100px;
              height:auto;
    #picture {
              width:408px;
              margin-top:100px;
              float:left;
    HTML:
    <!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>Kevin Ng Art Portfolio</title>
    <script type="text/javascript"
    src="http://code.jquery.com/jquery-latest.min.js" charset="utf-8">
    </script>
    <link rel="stylesheet" type="text/css" href="default3.css"/>
    <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="js/jquery-ui-1.8.18.custom.min.js"></script>
    <script type="text/javascript" src="js/jquery.smooth-scroll.min.js"></script>
    <script type="text/javascript" src="js/lightbox.js"></script>
    <link href="lightbox.css" rel="stylesheet" />
    </head>
    <body>
    <div id="container">
                        <div id="wrapContact">
                      <div id="linked">
                    <a href="http://www.linkedin.com/pub/kevin-ng/25/558/75b">
                    <img src="images/logo_linked_large.png" width="auto" height="auto" border="0" alt="linkedin_logo" /> </a>
                </div>
                <div id="facebook">
                    <a href="http://www.facebook.com/profile.php?id=1309131548">
                    <img src="images/logo_fb_large.png" width="auto" height="auto" border="0" alt="facebook_logo" /> </a>
                </div>
                                  <div id="email">
                          <a href="mailto: [email protected]">
                    <img src="images/gmail.png" width="auto" height="auto" border="0" alt="email_icon" /> </a>
                </div>
                        </div> <!-- End "wrapContact"> -->
                  <div id="wrapNav">
                <a href="index.html">                        
                                <img src="images/bg_tab_main.png" width="auto" height="auto" border="0" alt="Main" /> </a>
                <a href="demo.html">                        
                                <img src="images/bg_tab_demo.png" width="auto" height="auto" border="0" alt="Demo" /> </a>
                <a href="about.html">                        
                                <img src="images/bg_tab_about.png" width="auto" height="auto" border="0" alt="About" /> </a>
            </div>
                  <!-- End "wrapNav"> --> 
            <div id="wrapAbout">
                                  <div id="picture">
                          <img src="images/picture.jpg" width="auto" height="auto" alt="picture" />
                    <div id="text2">
                        <h2> Me in the middle left, my buddies, Jordan Gabriel on the left and Edmund Zhu on the right,
                            and finally, Epic Games VIP, Cliff Bleszinski! Taken at GDC 2010. </h2>
                    </div>
                </div>
                <div class="text">       
                    <h1> Resume: <br/>
                    <br/> Email: <br/> <br/>
                    <br/> About Me:</h1>           
                                     </div>
                <div class="text3">
                            <h1> <a href="resume/Kevin Ng Resume2.doc"> Click Here </a>
                            <br/> <br/> <a href="[email protected]"> [email protected] </a> <br/>
                    <br/> <br/> <font size="4">
                              My desire to be in the game development industry is to work with other individuals that take pride in creating a game,
                              something that can be enjoyed by a multitude of people. There is nothing I would like better than to lend my talents and
                        artistic skills for that purpose. <br/> <br/>
                        I believe the key to creating memorable game art, whether it be characters or environments, is the story.
                        Just like reading a good book or watching a thrilling movie, I loved to be immersed in the world of the game. As a result,
                        I had an affinity to Role-Playing Games. Classic games of my generation such as Chrono Trigger, Final Fantasy, and Zelda
                        showed me a world of endless imagination.  <br/> <br/>
                        The characters which are the focal point of the story, their goals and motivations, their trials and tribulations,
                        their victories and defeats... These are the things I think about constantly when I look at them.
                        A character without depth doesn't exist, but if they do, I can only imagine how boring that would be.                    
                    </font></h1>
                </div>
                          </div>
              </div><!-- End "container" -->
    </body>
    </html>

    Hi there, and welcome to the forums!
      Could you please provide a screenshot of the website when it is previewed in a browser/live view? This way I can better understand the conflicts that are occuring in your code.
      It is always a good practice when coding a website to preview it in the browser as you code, to make sure there are no conflicts. It's important to remember that in the end, your viewers will be viewing your site in a browser, not in Dreamweaver's preview. : )

  • Question: My spry menu bar is not displaying correctly in Dreamweaver

    Hello,
    I am  new to Dreamweaver CS5, so coding isn't my area of expertise. My problem with my spry menu bar is that it does not display the tabs on the menu bar correctly. When I try to apply new changes to the CSS of the horizontal menu bar, half of the tabs will change and the other half will not. Also, I am unable to drag and move the menu bar itself around, a function that I was once able to do before. At times, only one tab of the menu bar will display itself, without any of the other tabs as well.
    I have a hunch that my problems stem from some coding errors in the SpryMenuBarHorizontal.css, and possibly in the SpryMenuBar.js. On the CSS Styles panel, my SpryMenuBarHorizontal.CSS list reads as follows:
    I also have a hunch that something about this line-up is also incorrect, but I don't exactly know what the problem is.
    Here is what my coding for my SpryMenuBarHorizontal.css looks like right now:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: auto;
        text-align: center;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 8em;
        float: left;
        left: 10;
        top: 10;
        height: 10;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        width: 8.2em;
        position: absolute;
        left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        width: 8.2em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
        position: absolute;
        margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
        left: auto;
        top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
        border: 1px solid #CCC;
        text-align: left;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        background-color: #000;
        padding: 0.5em 0.75em;
        color: #FFF;
        text-decoration: none;
        font-family: Futura;
        float: none;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        background-color: #C00;
        color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
        background-color: #C00;
        color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarDown.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
        text-align: center;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarDownHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
        display: block;
        f\loat: left;
        background: #FFF;
    And here is what my SpryMenuBar.js coding looks like right now too:
    SpryMenuBar.js
    This file handles the JavaScript for Spry Menu Bar.  You should have no need
    to edit this file.  Some highlights of the MenuBar object is that timers are
    used to keep submenus from showing up until the user has hovered over the parent
    menu item for some time, as well as a timer for when they leave a submenu to keep
    showing that submenu until the timer fires.
    (function() { // BeginSpryComponent
    if (typeof Spry == "undefined") window.Spry = {}; if (!Spry.Widget) Spry.Widget = {};
    Spry.BrowserSniff = function()
        var b = navigator.appName.toString();
        var up = navigator.platform.toString();
        var ua = navigator.userAgent.toString();
        this.mozilla = this.ie = this.opera = this.safari = false;
        var re_opera = /Opera.([0-9\.]*)/i;
        var re_msie = /MSIE.([0-9\.]*)/i;
        var re_gecko = /gecko/i;
        var re_safari = /(applewebkit|safari)\/([\d\.]*)/i;
        var r = false;
        if ( (r = ua.match(re_opera))) {
            this.opera = true;
            this.version = parseFloat(r[1]);
        } else if ( (r = ua.match(re_msie))) {
            this.ie = true;
            this.version = parseFloat(r[1]);
        } else if ( (r = ua.match(re_safari))) {
            this.safari = true;
            this.version = parseFloat(r[2]);
        } else if (ua.match(re_gecko)) {
            var re_gecko_version = /rv:\s*([0-9\.]+)/i;
            r = ua.match(re_gecko_version);
            this.mozilla = true;
            this.version = parseFloat(r[1]);
        this.windows = this.mac = this.linux = false;
        this.Platform = ua.match(/windows/i) ? "windows" :
                        (ua.match(/linux/i) ? "linux" :
                        (ua.match(/mac/i) ? "mac" :
                        ua.match(/unix/i)? "unix" : "unknown"));
        this[this.Platform] = true;
        this.v = this.version;
        if (this.safari && this.mac && this.mozilla) {
            this.mozilla = false;
    Spry.is = new Spry.BrowserSniff();
    // Constructor for Menu Bar
    // element should be an ID of an unordered list (<ul> tag)
    // preloadImage1 and preloadImage2 are images for the rollover state of a menu
    Spry.Widget.MenuBar = function(element, opts)
        this.init(element, opts);
    Spry.Widget.MenuBar.prototype.init = function(element, opts)
        this.element = this.getElement(element);
        // represents the current (sub)menu we are operating on
        this.currMenu = null;
        this.showDelay = 250;
        this.hideDelay = 600;
        if(typeof document.getElementById == 'undefined' || (navigator.vendor == 'Apple Computer, Inc.' && typeof window.XMLHttpRequest == 'undefined') || (Spry.is.ie && typeof document.uniqueID == 'undefined'))
            // bail on older unsupported browsers
            return;
        // Fix IE6 CSS images flicker
        if (Spry.is.ie && Spry.is.version < 7){
            try {
                document.execCommand("BackgroundImageCache", false, true);
            } catch(err) {}
        this.upKeyCode = Spry.Widget.MenuBar.KEY_UP;
        this.downKeyCode = Spry.Widget.MenuBar.KEY_DOWN;
        this.leftKeyCode = Spry.Widget.MenuBar.KEY_LEFT;
        this.rightKeyCode = Spry.Widget.MenuBar.KEY_RIGHT;
        this.escKeyCode = Spry.Widget.MenuBar.KEY_ESC;
        this.hoverClass = 'MenuBarItemHover';
        this.subHoverClass = 'MenuBarItemSubmenuHover';
        this.subVisibleClass ='MenuBarSubmenuVisible';
        this.hasSubClass = 'MenuBarItemSubmenu';
        this.activeClass = 'MenuBarActive';
        this.isieClass = 'MenuBarItemIE';
        this.verticalClass = 'MenuBarVertical';
        this.horizontalClass = 'MenuBarHorizontal';
        this.enableKeyboardNavigation = true;
        this.hasFocus = false;
        // load hover images now
        if(opts)
            for(var k in opts)
                if (typeof this[k] == 'undefined')
                    var rollover = new Image;
                    rollover.src = opts[k];
            Spry.Widget.MenuBar.setOptions(this, opts);
        // safari doesn't support tabindex
        if (Spry.is.safari)
            this.enableKeyboardNavigation = false;
        if(this.element)
            this.currMenu = this.element;
            var items = this.element.getElementsByTagName('li');
            for(var i=0; i<items.length; i++)
                if (i > 0 && this.enableKeyboardNavigation)
                    items[i].getElementsByTagName('a')[0].tabIndex='-1';
                this.initialize(items[i], element);
                if(Spry.is.ie)
                    this.addClassName(items[i], this.isieClass);
                    items[i].style.position = "static";
            if (this.enableKeyboardNavigation)
                var self = this;
                this.addEventListener(document, 'keydown', function(e){self.keyDown(e); }, false);
            if(Spry.is.ie)
                if(this.hasClassName(this.element, this.verticalClass))
                    this.element.style.position = "relative";
                var linkitems = this.element.getElementsByTagName('a');
                for(var i=0; i<linkitems.length; i++)
                    linkitems[i].style.position = "relative";
    Spry.Widget.MenuBar.KEY_ESC = 27;
    Spry.Widget.MenuBar.KEY_UP = 38;
    Spry.Widget.MenuBar.KEY_DOWN = 40;
    Spry.Widget.MenuBar.KEY_LEFT = 37;
    Spry.Widget.MenuBar.KEY_RIGHT = 39;
    Spry.Widget.MenuBar.prototype.getElement = function(ele)
        if (ele && typeof ele == "string")
            return document.getElementById(ele);
        return ele;
    Spry.Widget.MenuBar.prototype.hasClassName = function(ele, className)
        if (!ele || !className || !ele.className || ele.className.search(new RegExp("\\b" + className + "\\b")) == -1)
            return false;
        return true;
    Spry.Widget.MenuBar.prototype.addClassName = function(ele, className)
        if (!ele || !className || this.hasClassName(ele, className))
            return;
        ele.className += (ele.className ? " " : "") + className;
    Spry.Widget.MenuBar.prototype.removeClassName = function(ele, className)
        if (!ele || !className || !this.hasClassName(ele, className))
            return;
        ele.className = ele.className.replace(new RegExp("\\s*\\b" + className + "\\b", "g"), "");
    // addEventListener for Menu Bar
    // attach an event to a tag without creating obtrusive HTML code
    Spry.Widget.MenuBar.prototype.addEventListener = function(element, eventType, handler, capture)
        try
            if (element.addEventListener)
                element.addEventListener(eventType, handler, capture);
            else if (element.attachEvent)
                element.attachEvent('on' + eventType, handler);
        catch (e) {}
    // createIframeLayer for Menu Bar
    // creates an IFRAME underneath a menu so that it will show above form controls and ActiveX
    Spry.Widget.MenuBar.prototype.createIframeLayer = function(menu)
        var layer = document.createElement('iframe');
        layer.tabIndex = '-1';
        layer.src = 'javascript:""';
        layer.frameBorder = '0';
        layer.scrolling = 'no';
        menu.parentNode.appendChild(layer);
        layer.style.left = menu.offsetLeft + 'px';
        layer.style.top = menu.offsetTop + 'px';
        layer.style.width = menu.offsetWidth + 'px';
        layer.style.height = menu.offsetHeight + 'px';
    // removeIframeLayer for Menu Bar
    // removes an IFRAME underneath a menu to reveal any form controls and ActiveX
    Spry.Widget.MenuBar.prototype.removeIframeLayer =  function(menu)
        var layers = ((menu == this.element) ? menu : menu.parentNode).getElementsByTagName('iframe');
        while(layers.length > 0)
            layers[0].parentNode.removeChild(layers[0]);
    // clearMenus for Menu Bar
    // root is the top level unordered list (<ul> tag)
    Spry.Widget.MenuBar.prototype.clearMenus = function(root)
        var menus = root.getElementsByTagName('ul');
        for(var i=0; i<menus.length; i++)
            this.hideSubmenu(menus[i]);
        this.removeClassName(this.element, this.activeClass);
    // bubbledTextEvent for Menu Bar
    // identify bubbled up text events in Safari so we can ignore them
    Spry.Widget.MenuBar.prototype.bubbledTextEvent = function()
        return Spry.is.safari && (event.target == event.relatedTarget.parentNode || (event.eventPhase == 3 && event.target.parentNode == event.relatedTarget));
    // showSubmenu for Menu Bar
    // set the proper CSS class on this menu to show it
    Spry.Widget.MenuBar.prototype.showSubmenu = function(menu)
        if(this.currMenu)
            this.clearMenus(this.currMenu);
            this.currMenu = null;
        if(menu)
            this.addClassName(menu, this.subVisibleClass);
            if(typeof document.all != 'undefined' && !Spry.is.opera && navigator.vendor != 'KDE')
                if(!this.hasClassName(this.element, this.horizontalClass) || menu.parentNode.parentNode != this.element)
                    menu.style.top = menu.parentNode.offsetTop + 'px';
            if(Spry.is.ie && Spry.is.version < 7)
                this.createIframeLayer(menu);
        this.addClassName(this.element, this.activeClass);
    // hideSubmenu for Menu Bar
    // remove the proper CSS class on this menu to hide it
    Spry.Widget.MenuBar.prototype.hideSubmenu = function(menu)
        if(menu)
            this.removeClassName(menu, this.subVisibleClass);
            if(typeof document.all != 'undefined' && !Spry.is.opera && navigator.vendor != 'KDE')
                menu.style.top = '';
                menu.style.left = '';
            if(Spry.is.ie && Spry.is.version < 7)
                this.removeIframeLayer(menu);
    // initialize for Menu Bar
    // create event listeners for the Menu Bar widget so we can properly
    // show and hide submenus
    Spry.Widget.MenuBar.prototype.initialize = function(listitem, element)
        var opentime, closetime;
        var link = listitem.getElementsByTagName('a')[0];
        var submenus = listitem.getElementsByTagName('ul');
        var menu = (submenus.length > 0 ? submenus[0] : null);
        if(menu)
            this.addClassName(link, this.hasSubClass);
        if(!Spry.is.ie)
            // define a simple function that comes standard in IE to determine
            // if a node is within another node
            listitem.contains = function(testNode)
                // this refers to the list item
                if(testNode == null)
                    return false;
                if(testNode == this)
                    return true;
                else
                    return this.contains(testNode.parentNode);
        // need to save this for scope further down
        var self = this;
        this.addEventListener(listitem, 'mouseover', function(e){self.mouseOver(listitem, e);}, false);
        this.addEventListener(listitem, 'mouseout', function(e){if (self.enableKeyboardNavigation) self.clearSelection(); self.mouseOut(listitem, e);}, false);
        if (this.enableKeyboardNavigation)
            this.addEventListener(link, 'blur', function(e){self.onBlur(listitem);}, false);
            this.addEventListener(link, 'focus', function(e){self.keyFocus(listitem, e);}, false);
    Spry.Widget.MenuBar.prototype.keyFocus = function (listitem, e)
        this.lastOpen = listitem.getElementsByTagName('a')[0];
        this.addClassName(this.lastOpen, listitem.getElementsByTagName('ul').length > 0 ? this.subHoverClass : this.hoverClass);
        this.hasFocus = true;
    Spry.Widget.MenuBar.prototype.onBlur = function (listitem)
        this.clearSelection(listitem);
    Spry.Widget.MenuBar.prototype.clearSelection = function(el){
        //search any intersection with the current open element
        if (!this.lastOpen)
            return;
        if (el)
            el = el.getElementsByTagName('a')[0];
            // check children
            var item = this.lastOpen;
            while (item != this.element)
                var tmp = el;
                while (tmp != this.element)
                    if (tmp == item)
                        return;
                    try{
                        tmp = tmp.parentNode;
                    }catch(err){break;}
                item = item.parentNode;
        var item = this.lastOpen;
        while (item != this.element)
            this.hideSubmenu(item.parentNode);
            var link = item.getElementsByTagName('a')[0];
            this.removeClassName(link, this.hoverClass);
            this.removeClassName(link, this.subHoverClass);
            item = item.parentNode;
        this.lastOpen = false;
    Spry.Widget.MenuBar.prototype.keyDown = function (e)
        if (!this.hasFocus)
            return;
        if (!this.lastOpen)
            this.hasFocus = false;
            return;
        var e = e|| event;
        var listitem = this.lastOpen.parentNode;
        var link = this.lastOpen;
        var submenus = listitem.getElementsByTagName('ul');
        var menu = (submenus.length > 0 ? submenus[0] : null);
        var hasSubMenu = (menu) ? true : false;
        var opts = [listitem, menu, null, this.getSibling(listitem, 'previousSibling'), this.getSibling(listitem, 'nextSibling')];
        if (!opts[3])
            opts[2] = (listitem.parentNode.parentNode.nodeName.toLowerCase() == 'li')?listitem.parentNode.parentNode:null;
        var found = 0;
        switch (e.keyCode){
            case this.upKeyCode:
                found = this.getElementForKey(opts, 'y', 1);
                break;
            case this.downKeyCode:
                found = this.getElementForKey(opts, 'y', -1);
                break;
            case this.leftKeyCode:
                found = this.getElementForKey(opts, 'x', 1);
                break;
            case this.rightKeyCode:
                found = this.getElementForKey(opts, 'x', -1);
                break;
            case this.escKeyCode:
            case 9:
                this.clearSelection();
                this.hasFocus = false;
            default: return;
        switch (found)
            case 0: return;
            case 1:
                //subopts
                this.mouseOver(listitem, e);
                break;
            case 2:
                //parent
                this.mouseOut(opts[2], e);
                break;
            case 3:
            case 4:
                // left - right
                this.removeClassName(link, hasSubMenu ? this.subHoverClass : this.hoverClass);
                break;
        var link = opts[found].getElementsByTagName('a')[0];
        if (opts[found].nodeName.toLowerCase() == 'ul')
            opts[found] = opts[found].getElementsByTagName('li')[0];
        this.addClassName(link, opts[found].getElementsByTagName('ul').length > 0 ? this.subHoverClass : this.hoverClass);
        this.lastOpen = link;
        opts[found].getElementsByTagName('a')[0].focus();
            //stop further event handling by the browser
        return Spry.Widget.MenuBar.stopPropagation(e);
    Spry.Widget.MenuBar.prototype.mouseOver = function (listitem, e)
        var link = listitem.getElementsByTagName('a')[0];
        var submenus = listitem.getElementsByTagName('ul');
        var menu = (submenus.length > 0 ? submenus[0] : null);
        var hasSubMenu = (menu) ? true : false;
        if (this.enableKeyboardNavigation)
            this.clearSelection(listitem);
        if(this.bubbledTextEvent())
            // ignore bubbled text events
            return;
        if (listitem.closetime)
            clearTimeout(listitem.closetime);
        if(this.currMenu == listitem)
            this.currMenu = null;
        // move the focus too
        if (this.hasFocus)
            link.focus();
        // show menu highlighting
        this.addClassName(link, hasSubMenu ? this.subHoverClass : this.hoverClass);
        this.lastOpen = link;
        if(menu && !this.hasClassName(menu, this.subHoverClass))
            var self = this;
            listitem.opentime = window.setTimeout(function(){self.showSubmenu(menu);}, this.showDelay);
    Spry.Widget.MenuBar.prototype.mouseOut = function (listitem, e)
        var link = listitem.getElementsByTagName('a')[0];
        var submenus = listitem.getElementsByTagName('ul');
        var menu = (submenus.length > 0 ? submenus[0] : null);
        var hasSubMenu = (menu) ? true : false;
        if(this.bubbledTextEvent())
            // ignore bubbled text events
            return;
        var related = (typeof e.relatedTarget != 'undefined' ? e.relatedTarget : e.toElement);
        if(!listitem.contains(related))
            if (listitem.opentime)
                clearTimeout(listitem.opentime);
            this.currMenu = listitem;
            // remove menu highlighting
            this.removeClassName(link, hasSubMenu ? this.subHoverClass : this.hoverClass);
            if(menu)
                var self = this;
                listitem.closetime = window.setTimeout(function(){self.hideSubmenu(menu);}, this.hideDelay);
            if (this.hasFocus)
                link.blur();
    Spry.Widget.MenuBar.prototype.getSibling = function(element, sibling)
        var child = element[sibling];
        while (child && child.nodeName.toLowerCase() !='li')
            child = child[sibling];
        return child;
    Spry.Widget.MenuBar.prototype.getElementForKey = function(els, prop, dir)
        var found = 0;
        var rect = Spry.Widget.MenuBar.getPosition;
        var ref = rect(els[found]);
        var hideSubmenu = false;
        //make the subelement visible to compute the position
        if (els[1] && !this.hasClassName(els[1], this.MenuBarSubmenuVisible))
            els[1].style.visibility = 'hidden';
            this.showSubmenu(els[1]);
            hideSubmenu = true;
        var isVert = this.hasClassName(this.element, this.verticalClass);
        var hasParent = els[0].parentNode.parentNode.nodeName.toLowerCase() == 'li' ? true : false;
        for (var i = 1; i < els.length; i++){
            //when navigating on the y axis in vertical menus, ignore children and parents
            if(prop=='y' && isVert && (i==1 || i==2))
                continue;
            //when navigationg on the x axis in the FIRST LEVEL of horizontal menus, ignore children and parents
            if(prop=='x' && !isVert && !hasParent && (i==1 || i==2))
                continue;
            if (els[i])
                var tmp = rect(els[i]);
                if ( (dir * tmp[prop]) < (dir * ref[prop]))
                    ref = tmp;
                    found = i;
        // hide back the submenu
        if (els[1] && hideSubmenu){
            this.hideSubmenu(els[1]);
            els[1].style.visibility =  '';
        return found;
    Spry.Widget.MenuBar.camelize = function(str)
        if (str.indexOf('-') == -1){
            return str;   
        var oStringList = str.split('-');
        var isFirstEntry = true;
        var camelizedString = '';
        for(var i=0; i < oStringList.length; i++)
            if(oStringList[i].length>0)
                if(isFirstEntry)
                    camelizedString = oStringList[i];
                    isFirstEntry = false;
                else
                    var s = oStringList[i];
                    camelizedString += s.charAt(0).toUpperCase() + s.substring(1);
        return camelizedString;
    Spry.Widget.MenuBar.getStyleProp = function(element, prop)
        var value;
        try
            if (element.style)
                value = element.style[Spry.Widget.MenuBar.camelize(prop)];
            if (!value)
                if (document.defaultView && document.defaultView.getComputedStyle)
                    var css = document.defaultView.getComputedStyle(element, null);
                    value = css ? css.getPropertyValue(prop) : null;
                else if (element.currentStyle)
                        value = element.currentStyle[Spry.Widget.MenuBar.camelize(prop)];
        catch (e) {}
        return value == 'auto' ? null : value;
    Spry.Widget.MenuBar.getIntProp = function(element, prop)
        var a = parseInt(Spry.Widget.MenuBar.getStyleProp(element, prop),10);
        if (isNaN(a))
            return 0;
        return a;
    Spry.Widget.MenuBar.getPosition = function(el, doc)
        doc = doc || document;
        if (typeof(el) == 'string') {
            el = doc.getElementById(el);
        if (!el) {
            return false;
        if (el.parentNode === null || Spry.Widget.MenuBar.getStyleProp(el, 'display') == 'none') {
            //element must be visible to have a box
            return false;
        var ret = {x:0, y:0};
        var parent = null;
        var box;
        if (el.getBoundingClientRect) { // IE
            box = el.getBoundingClientRect();
            var scrollTop = doc.documentElement.scrollTop || doc.body.scrollTop;
            var scrollLeft = doc.documentElement.scrollLeft || doc.body.scrollLeft;
            ret.x = box.left + scrollLeft;
            ret.y = box.top + scrollTop;
        } else if (doc.getBoxObjectFor) { // gecko
            box = doc.getBoxObjectFor(el);
            ret.x = box.x;
            ret.y = box.y;
        } else { // safari/opera
            ret.x = el.offsetLeft;
            ret.y = el.offsetTop;
            parent = el.offsetParent;
            if (parent != el) {
                while (parent) {
                    ret.x += parent.offsetLeft;
                    ret.y += parent.offsetTop;
                    parent = parent.offsetParent;
            // opera & (safari absolute) incorrectly account for body offsetTop
            if (Spry.is.opera || Spry.is.safari && Spry.Widget.MenuBar.getStyleProp(el, 'position') == 'absolute')
                ret.y -= doc.body.offsetTop;
        if (el.parentNode)
                parent = el.parentNode;
        else
            parent = null;
        if (parent.nodeName){
            var cas = parent.nodeName.toUpperCase();
            while (parent && cas != 'BODY' && cas != 'HTML') {
                cas = parent.nodeName.toUpperCase();
                ret.x -= parent.scrollLeft;
                ret.y -= parent.scrollTop;
                if (parent.parentNode)
                    parent = parent.parentNode;
                else
                    parent = null;
        return ret;
    Spry.Widget.MenuBar.stopPropagation = function(ev)
        if (ev.stopPropagation)
            ev.stopPropagation();
        else
            ev.cancelBubble = true;
        if (ev.preventDefault)
            ev.preventDefault();
        else
            ev.returnValue = false;
    Spry.Widget.MenuBar.setOptions = function(obj, optionsObj, ignoreUndefinedProps)
        if (!optionsObj)
            return;
        for (var optionName in optionsObj)
            if (ignoreUndefinedProps && optionsObj[optionName] == undefined)
                continue;
            obj[optionName] = optionsObj[optionName];
    })(); // EndSpryComponent
    If anyone could possibly steer me on the right direction with this, I'd be very grateful! I've been struggling with this for about a month now and I feel like I may have only made the situation worse.
    I'm not sure if I have to keep making a new spry assets folder in my website or not or if I have to drag and drop the spry assets into the root folder. I have restarted my website over at least a dozen times by now. I have tried changing folders, dragging and dropping various spry assets folders everywhere and I have also uninstalled and reinstalled my copy of Dreamweaver CS5 in the hopes of getting my spry horizontal menu bar to act normal. I am completely new at Dreamweaver and I really, really need some help with this.
    Thanks!

    I haven't been able to get my site posted up yet. Here is a link to it anyway:andrearosales.com
    I will be working on connecting my files up to my server. At the moment, here are some screen shots of some messages that I am getting when I am saving my file.
    I'm not sure what to make of these messages. I tried to put a new spry horizontal menu bar on my main page, and when it appeared, it displayed as a spry vertical menu bar.
    Here is a picture of what it looks like:
    I"m going to refer to the links that were suggested to me though. I'm not sure if pictures of the code will help to solve my problem. I'm going to try again to connect my files to my server though.

  • Dreamweaver adding div height in tooltip?

    I dont normally use dreamweaver, but I must for this project,
    in dreamweaver for some bizarre reason the tooltip says height 50px
    (54px) and has added 4pxs to an image in a div. Anyone know why? It
    aligns in the browsers, IE 6, firefox, but why has dreamweaver
    added these 4 pixels and given it a gap in dreamweaver?
    Picture example:
    http://homepage.ntlworld.com/spensley/dreamweaverbug.jpg
    anyone know why and what this is all about?
    The css:
    #logo{
    top: 30px;
    width:126px;
    height: 51px;
    padding:0px;
    float: left;
    html:
    <div id="logo"><a href="index.html"><img
    src="media/images/gtfLogo.jpg" title="GTF logo" alt="GTF logo
    design" longdesc="three circles showing the letters G, T and F in
    orange and green" width="126"
    height="51"/><a/></div>

    Oops - sorry - missed the CSS.
    You have a munged <a> tag -
    orange and green" width="126" height="51"/><a/></
    should be -
    orange and green" width="126" height="51"/></a></
    Does that solve the problem?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "spongebobcirclepants" <[email protected]>
    wrote in message
    news:[email protected]...
    > <?xml version="1.0" encoding="utf-8"?>
    > <!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"
    xml:lang="en" lang="en">
    > <head>
    > <title>GTF - Gardens, Tools &
    Furniture</title>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8" />
    > <meta name="keywords"
    >
    content="tools,gardens,furniture,spades,water,toys,toy,gardening,uk,giant
    >
    toys,giant,lawnmowers,tool,diy,outdoor,outdoors,pool,shovels,hoses,hose,fish,aqu
    > atics,benches,tables,chairs" />
    > <meta name="description" content="GTF Company Site"
    />
    > <meta name="author" content="Roy Spensley" />
    >
    > <link rel="stylesheet" type="text/css"
    href="style/textformat.css"/>
    > <link rel="stylesheet" type="text/css"
    href="style/layout.css"
    > title="default"
    > />
    >
    > </head>
    >
    > <div id="wrapper">
    >
    > <div id="topSpace"></div>
    > <div id="logo"><a href="index.html"><img
    src="media/images/gtfLogo.jpg"
    > title="GTF logo" alt="GTF logo design" longdesc="three
    circles showing the
    > letters G, T and F in orange and green" width="126"
    > height="51"/><a/></div>
    > <div id="logoRight"></div>
    > </div>
    > </body>
    > </html>
    >
    >
    > css
    >
    >
    >
    > /*BODY*/
    >
    > body{
    >
    > margin-top:0px;
    >
    > margin:0px;
    >
    > left:0px;
    >
    > padding:0px;
    >
    > font-family: arial, Helvetica, sans-serif;
    >
    > font-size: 100.1%;/*fixes bug in IE*/
    >
    > color:#333333;
    >
    > text-align: center;
    >
    > background-color: #666666;
    >
    > overflow: auto;
    >
    > }
    >
    > /*ALL IMAGES*/
    >
    > img{
    >
    > border-style: none;
    >
    > }
    >
    >
    > /*CONTAINING WRAPPER*/
    >
    > #wrapper{
    >
    > width: 800px;
    >
    > margin-top: 0px;
    >
    > height: 597px;
    >
    > background-color: #000;
    >
    > margin: 0 auto; /*This will now centre in firefox as
    well*/
    >
    > }
    >
    > #topSpace{
    >
    > width: 100%;
    >
    > height: 30px;
    >
    > padding:0px;
    >
    > background-color: #fff;
    > }
    >
    > #logo{
    >
    > top: 30px;
    >
    > width:126px;
    >
    > height: 51px;
    >
    > padding:0px;
    >
    > float: left;
    >
    > }
    >

  • Spry Menu Bar Submenu won't show in Safari or Dreamweaver LiveView

    I am trying to get my submenu to show up on my website's spry menu bar. It will show up when I test the site using firefox or IE but it won't show when I try LiveView in Dreamweaver or when I test using Safari. The site is www.fuseut.com/fuse
    Here are is the CSS for the menubar:
    @charset "UTF-8"; /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */ /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */ /******************************************************************************* LAYOUT INFORMATION: describes box model, positioning, z-order *******************************************************************************/ /* The outermost container of the Menu Bar, an auto width box with no margin or padding */ ul.MenuBarHorizontal {      margin: 0;      padding: 0;      list-style-type: none;      font-size: 100%;      cursor: default;      width: auto; } /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */ ul.MenuBarActive {      z-index: 1000; } /* Menu item containers, position children relative to this container and are a fixed width */ ul.MenuBarHorizontal li {      margin: 0;      padding: 0;      list-style-type: none;      font-size: 100%;      position: relative;      text-align: left;      cursor: pointer;      width: 125px;      float: left;      font-family: "MS Serif", "New York", serif;      overflow: visible; } /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */ ul.MenuBarHorizontal ul {      margin: 0;      padding: 0;      list-style-type: none;      font-size: 100%;      z-index: 50;      cursor: default;      width: 7em;      position: absolute;      left: -1000em; } /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */ ul.MenuBarHorizontal ul.MenuBarSubmenuVisible {      left: auto; } /* Menu item containers are same fixed width as parent */ ul.MenuBarHorizontal ul li {      width: 7em; } /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */ ul.MenuBarHorizontal ul ul {      position: absolute;      margin: -5% 0 0 95%; } /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */ ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible {      left: 0;      top: 0; } /******************************************************************************* DESIGN INFORMATION: describes color scheme, borders, fonts *******************************************************************************/ /* Submenu containers have borders on all sides */ ul.MenuBarHorizontal ul {      border: 1px solid #CCC; } /* Menu items are a light gray block with padding and no text decoration */ ul.MenuBarHorizontal a {      display: block;      cursor: pointer;      padding: 0.5em 0.75em;      color: #FFF;      text-decoration: none;      font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;      text-align: center;      background-image: url(../menubgdefault.png); } /* Menu items that have mouse over or focus have a blue background and white text */ ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus {      color: #FFF002;      font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; } /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */ ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible {      color: #FFF002;      text-decoration: underline;      font-weight: bold; } /******************************************************************************* SUBMENU INDICATION: styles if there is a submenu under a given menu item *******************************************************************************/ /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */ ul.MenuBarHorizontal a.MenuBarItemSubmenu {      background-image: url(SpryMenuBarDown.gif);      background-repeat: no-repeat;      background-position: 95% 50%;      background-color: #999; } /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */ ul.MenuBarHorizontal ul a.MenuBarItemSubmenu {      background-image: url(SpryMenuBarRight.gif);      background-repeat: no-repeat;      background-position: 95% 50%; } /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */ ul.MenuBarHorizontal a.MenuBarItemSubmenuHover {      background-image: url(SpryMenuBarDownHover.gif);      background-repeat: no-repeat;      background-position: 95% 50%; } /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */ ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover {      background-image: url(SpryMenuBarRightHover.gif);      background-repeat: no-repeat;      background-position: 95% 50%; } /******************************************************************************* BROWSER HACKS: the hacks below should not be changed unless you are an expert *******************************************************************************/ /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */ ul.MenuBarHorizontal iframe {      position: absolute;      z-index: 1010;      filter:alpha(opacity:0.1); } /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */ @media screen, projection {      ul.MenuBarHorizontal li.MenuBarItemIE      {           display: inline;           f\loat: left;           background: #FFF;      } }
    And here is the HTML code:
    <!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" xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>FUSE UT</title>
    <link href="stylesheet.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script src="SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    #apDiv1 {
         position:absolute;
         left:0px;
         top:135px;
         width:551px;
         height:269px;
         z-index:2;
         visibility: visible;
    #apDiv2 {
         position:absolute;
         left:685px;
         top:150px;
         width:203px;
         height:270px;
         z-index:1;
    #apDiv3 {
         position:absolute;
         left:684px;
         top:149px;
         width:200px;
         height:267px;
         z-index:2;
    #HomeEvents {
         position:fixed;
         left:683px;
         top:151px;
         width:200px;
         height:263px;
         z-index:1;
         background-image: url(Components/EventsPic.png);
         visibility: visible;
         overflow: hidden;
    #HomeEvents {
         position:absolute;
         left:550px;
         top:-1px;
         width:200px;
         height:265px;
         z-index:2;
    #EventsXML {
         position:absolute;
         left:1px;
         top:43px;
         width:199px;
         height:223px;
         z-index:3;
         visibility: visible;
         overflow: scroll;
    #apDiv4 {
         position:absolute;
         left:-1px;
         top:265px;
         width:753px;
         height:325px;
         z-index:3;
         background-image: url(home1.png);
    -->
    </style>
    <script type="text/javascript">
    <!--
    var event = new Spry.Data.XMLDataSet("events.xml", "catalog/event", {sortOnLoad: "date", sortOrderOnLoad: "descending"});
    var event2 = new Spry.Data.XMLDataSet("events.xml", "catalog/event", {sortOnLoad: "date", sortOrderOnLoad: "ascending"});
    event2.setColumnType("date", "date");
    //-->
    </script>
    <meta name="Keywords" content="fuse ut utk university of tennessee tommy jervis avery howard ross rowland angie sessoms sga campaign elections" />
    </head>
    <body>
    <div id="container">
    <div id="header">
    </div>
    <div id="menubarparent" style="z-index: 20; position: absolute; overflow: visible;">
    <div id="menubar" style="z-index: 10;">
    <ul id="MenuBar1" class="MenuBarHorizontal">
        <li><a href="index.html">FUSE</a>      </li>
        <li><a href="senators.html" class="MenuBarItemSubmenu">Senators</a>
          <ul>
            <li><a href="#">Untitled Item</a></li>
          </ul>
        </li><li><a href="executive.html">Executive</a>      </li>
        <li><a href="policy.html">Policy</a></li>
        <li><a href="organizations.html">Organizations</a></li>
        <li><a href="bios.html" class="MenuBarItemSubmenu">Bios</a>
          <ul>
            <li><a href="#">Untitled Item</a></li>
          </ul>
        </li>
      </ul>
      </div>
      </div>
      <p>
      <p>
      <div id="apDiv1">
        <div id="apDiv4"></div>
        <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="265" wmode="transparent">
          <param name="movie" value="Components/CandidatesHomeSlideshow.swf" />
          <param name="quality" value="high" />
           <param name="wmode" value="transparent" />
          <param name="swfversion" value="6.0.65.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="Components/CandidatesHomeSlideshow.swf" width="550" height="265" wmode="transparent">
            <!--<![endif]-->
            <param name="quality" value="high" />
              <param name="wmode" value="transparent" />
            <param name="swfversion" value="6.0.65.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object><div id="HomeEvents">
          <p> </p>
          <p> </p>
          <div id="EventsXML">
            <div spry:region="event2">
              <dl spry:repeatchildren="event2">
                <dt>{date}</dt>
                <dd>{title}</dd>
                <dd>{location}</dd>
              </dl>
            </div>
          </div>
        </div>
      </div>
      <p> </p>
      <p> </p>
      <p> </p>
      <p> </p>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    swfobject.registerObject("FlashID");
    //-->
    </script>
    </body>
    </html>
    Sorry if it's something really basic...I'm a noob to web design.
    Thanks!

    Don't use reserved words in JS
    var event = new Spry.Data.XMLDataSet("events.xml", "catalog/event", {sortOnLoad: "date", sortOrderOnLoad: "descending"});
    event is such a reserved word. If you change this to event1 then all is well.
    I hope this helps.
    Ben

  • Float displays fine in DW but not in browsers

    I'm not posting any code at this stage as I realise this may be a very simple question!
    I have a simple panel with an image and some text floated around it.  This displays fine in the Dreamweaver 8 Design view, but in both IE8 and Firefox, the text does not float, but appears below the image.
    Is this something obvious, or should I post further details?
    Thanks.

    For best results, reply through the web forum; not e-mail.
    Thanks, Nancy - I would have done so, but had big problems getting through to a lot of major web sites in the US last night, so couldn't use the forum.  OK this morning, and have noted the blank posts.  Thanks to a FAQ I now realise that I can't use "Xxxx wrote:" in an e-mail post, nor use a line of dashes as separators - both of which I did in my replies!  Ho hum...
    So, now that I'm back in contact, the answer to your questions is yes - I think so!  Time for some code:
    #container {
        width: 56%;
        height: 1480px;
        position: absolute;
        border: none;
        top: 40px;
        left: 9%;    
        background-color: #FFFFFF;
        clear: both;
    .longshot {
        float: left;
        width: 262px;
        <div id="container">
          <img class="longshot" src="Photos/LongShotVignette3.jpg" />
          <p>Quite why the property is called &quot;Lo Sixto&quot; is  lost in the mists of time, but there were certainly five popes of  that name, the latest of whom lived during the 15th century.</p>
          <p> </p>
        </div>
    I realise the answer is probably trivial, but I have picked up Dreamweaver again after a long break (hence v 8!) and to say I am rusty would be an understatement!
    Phil

Maybe you are looking for

  • Output lenght in ALV with FM REUSE_ALV_GRID_DISPLAY

    Hi people! I need some help! I trying to set output lenght of a field to better view. I used in fieldcatalog OUTPUTLEN and set it to 50, but doesn't work... Anyone can give me a tip? Thanks!   i = i + 5.   CLEAR ltype_fieldcat.   ltype_fieldcat-col_p

  • Arrayindexoutofbound exception in rfc

    hello every body, i am calling one abap function module from webdynpro.In the function module , i have 3 importing parameters(employ no,name and status) and one table parameter.status is one of the importing parameter there i am passing the type of o

  • How do i make the compiler ignore loss of precision

    Hi i have the following code:     public void Q1()         float p = 665857.0;         double dp = 665857.0;         float q = 470832.0;         double dq = 470832.0;         p = p * p;         q = q * q;         dp = dp *dp;         dq = dq * dq;   

  • Tutorial: Azure AD integration with Replicon

    Click reply and tell us what you think: Azure AD integration with Replicon Markus Vilcinskas, Knowledge Engineer, Microsoft Corporation

  • Picture cannot appear

    The first Picture show my original program. Example: From Picture 2, i drag a fish and drop into the trolley. In Picture 3, i want the fish appear in the belt again. So the user can drag the fish again. Problem: The fish will not appear in the belt.