Reorder divs, Rename divs, Scale SVG

Hello,
I am new to responsive webdesign and I am currently learning all the new techniques. So please excuse if my questions are very basic.
I know Reflow is fairly new. I am currently using Reflow to MockUp a responsive design to see how the worflow goes. It's working out pretty well and I can see to use reflow in future to communicate with customers in early stages of designing a base with minimal effort and create what I can fine tune later on. Of course it will be a great tool later on, when customer decides to enhance existing site, especially when we can edit CSS or even SCSS within Reflow.
- Right now it's not possible to Drag and Drop e.g. an image into a div by just using the elements panel. I know I can do this on my working area. Will this be possible in the elements panel as well?
- Right now Reflow decides how divs are named. Will it be possible to use an alias in future which will be used when deploying the css and html?
- I am using SVG for my logo. It scales perfect within the page, but it stops scaling when image reaches it's original size created in Illustrator. Am I doing something wrong here?
What will be the future format with logos? SVG?

There is another topic you might want to look into.
Right now we can only create DIV with id. Just using a class is not possible. The topic I would like to address is, whenever you duplicate a DIV, the new DIV will have the same id name within reflow, but of course the css will add a subfix e.g. "_1" so this div is unique. A better way would be to not allow the same id name within reflow or add the subfix within reflow so it's clear to user that the duplicated div has a unique id. So the reflow id names should follow the css id names at all time! Same with id "Container" which is named "primaryContainer" within css.
I also noticed that at some point the css structure does not follow the hirarchy of my reflow layout at all time. Whenever I move a 1st level id DIV with multiple DIVs inside using the Elements panel, new hirarchy is being applied, but within css the hirarchy is not updated. This is no bug, but I am a big fan of consistency when it comes to the css structure.
Example:
Reflow:
- DIV1
-- DIV1.1
- DIV2
--DIV2.1
CSS:
#DIV1 { };
#DIV1.1 { };
#DIV2 { };
#DIV2.1 { };
I move DIV2 above DIV1, so I get...
Reflow:
- DIV2
--DIV2.1
- DIV1
-- DIV1.1
CSS:
#DIV1 { };
#DIV1.1 { };
#DIV2 { };
#DIV2.1 { };

Similar Messages

  • [DW] Diferencia entre Div y Div PA

    Hola grupo pues eso, ¿cual es la diferencia entre Div o
    Div PA?, ¿cual debo
    de utilizar?
    Gracias.

    Griacias de nuevo Andres.
    > Come te comentaba, utilizar uno u otro depende del
    diseño de tu página 8-)
    > Sólo ten en cuenta que un elemento AP se situa en
    el documento sin afectar
    > al flujo del resto (como si flotara por encima de todo),
    por lo que puede
    > ser útil por ejemplo para un tooltip (que debe
    aparece por encima de un
    > contenido ya existente)
    >
    > Algún tutorial:
    >
    http://boostranking.net/dreamweaver/AP-DIVS-vs-DIV-tags-75840.aspx
    >
    http://www.librosweb.es/css/capitulo5/posicionamiento.html
    > (En este segundo tutorial, todo lo que se explica sobre
    el posicionamiento
    > absoluto es aplicable a los div PA (porque son elementos
    posicionados
    > absolutamente)
    > --
    > Andres Cayon
    > Spain Adobe Dreamweaver User Group
    >
    http://www.dwug.es
    > ----------------------
    >
    >
    > "Salva" <[email protected]> escribió en
    el mensaje de noticias
    > news:[email protected]...
    >> Gracias Andres y Mick, algun enlace o articulo en la
    red que hable del
    >> tema, de cuando utilizar uno u otro y de su
    funcionamiento.
    >> Gracias.
    >>
    >>
    >>
    >>> Hola Salva:
    >>> Básicamente, un div PA (Posicionado
    Absolutamente) es un div al que DW
    >>> es capaz de asignar mediante CSS su
    posicionamiento absoluto
    >>> (position:absolute;left:100px;top:100px).
    >>>
    >>> Es decir, que son el mismo tipo de div, pero si
    es PA tiene definidos
    >>> esos estilos y DW sabe manipularlo de modo
    visual.
    >>>
    >>> Cuando utilizar uno u otro? Eso depende de tu
    diseño, pero puedes
    >>> convertir cualquier div de tu página a PA
    sólamente añadiendo estilos
    >>> CSS.
    >>>
    >>> Ten en cuenta que el posicionamiento absoluto en
    CSS tiene sus trucos y
    >>> sus problemas... 8-)
    >>>
    >>> Saludos!
    >>> Andres Cayon
    >>> Spain Adobe Dreamweaver User Group
    >>>
    http://www.dwug.es
    >>> ----------------------
    >>>
    >>>
    >>> "Salva" <[email protected]>
    escribió en el mensaje de noticias
    >>> news:[email protected]...
    >>>> Perdona Mick pero no lo entiendo :-( .
    >>>>
    >>>>
    >>>>> Salva wrote:
    >>>>>> Hola grupo pues eso, ¿cual es
    la diferencia entre Div o Div PA?,
    >>>>>> ¿cual debo de utilizar?
    >>>>>>
    >>>>>> Gracias.
    >>>>> Div PA: Una división absolutamente
    colocada (top,left etc)
    >>>>> PA: Una división non colocada
    >>>>>
    >>>>> Cheers
    >>>>> Mick
    >>>>
    >>>>
    >>>
    >>
    >>
    >

  • I want to read the settings (time/div,​Volt/div,d​elay,etc..​.)from a waveform that is saved into a memory register of a FLUKE PM3394A Combiscope​.

    Dear all,
    I am writing a labview application for a Fluke PM3394A Combiscope. I want to read the settings (time/div,Volt/div,delay,etc...)from a waveform that is saved into a memory register. Can somebody help me on this? The Labview driver library I found on NI.com doesn't support this.
    Greetings
    Davy

    Unless you've used some sort of "auto-setup" for the scope, all of the settings are what your program commands the scope to use. Once you've acquired a waveform, typically all that is contained is the raw data. If you need the settings later in the program, you'll have to save them by putting them into a shift register/local variable/plain old wire. If you do use an "auto-setup" (I don't remember if the scope has this feature) and the driver has no query functions, then you'll probably have to write your own. These are usually pretty simple to do and are usually similar to the settings commands with the addition of a "?" at the end. For example, if the command to set coupling of channel 1 is ":INP 1:COU AC", then to query it the command might be "INP 1:COU?"
    and you would do a read and get "AC". The instrument programming manual should explain all of the command/query syntax.

  • Unable to add text in DIVs (Was: divs)

    I have inserted three divs. In the first one I was able to add text to but I am not able to do so for the second nor third, why is this?

    The following HTML5 code creates a grid of varying width, floated divisions.   See screenshot below.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Grid</title>
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <style>
        margin:0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    body {
        background: #5C9E99;
        color: #333;
        font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
        font-size: 100%;
    .wrapper {
        width: 980px; /**adjust width in px % or ems**/
        margin:25px auto;  /**with width, this is centered**/
        background-color: #FFF;
        /**optional eye candy**/
        border: 6px groove #39C;
        border-radius: 20px;
        box-shadow: 2px 3px 10px #333;
    header, footer {
        width: 100%;
        padding: 0 1%;
        background: #366;
        min-height: 75px;
        color: #E3D79D;
    header {border-radius:10px 10px 0 0}
    footer {border-radius: 0 0 10px 10px}
    header h1, header h2 { display: inline }
    article {
        clear: both;
        display: block;
        padding: 2%;
    section {
        margin: 0.5% 0 0.5% 0;
        float: left;
        padding: 2%;
    /**clear floats after last one in row**/
    .clearfix:after {
        content:'';
        clear: both;
        display: table;
    /** number of columns**/
    .one { width: 100%; }
    .two { width: 50%; }
    .three { width: 33.33%; }
    .four { width: 25%; }
    .five { width: 20% }
    .six { width: 16.66% }
    /**alternating backgrounds**/
    section:nth-child(odd) { background-color: #EBD7A5; }
    section:nth-child(even) { background-color: #ADC9A5; }
    /**re-useable classes**/
    .center { text-align: center }
    .right { text-align: right }
    </style>
    </head>
    <body>
    <div class="wrapper">
    <header>
    <h1>SiteName</h1>   |   <h2>Some Pithy Slogan...</h2>
    </header>
    <nav>Menu goes here...</nav>
    <h2 class="center">2 across</h2>
    <!--begin 2-columns-->
    <section class="two"> <h3>section &quot;two&quot;</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="two clearfix"> <h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <!--begin 3-columns-->
    <h2 class="center">3 across</h2>
    <section class="three"> <h3>section &quot;three&quot;</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="three"> <h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="three clearfix"> <h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <!--begin 4-columns-->
    <h2 class="center">4 across</h2>
    <section class="four"> <h3>section &quot;four&quot;</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="four"> <h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi! Maecenas quis velit nisl, volutpat viverra felis.</p>
    </section>
    <section class="four"> <h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi! Maecenas quis velit nisl, volutpat viverra felis.</p>
    </section>
    <section class="four clearfix"> <h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <!--begin 5-columns-->
    <h2 class="center">5 across</h2>
    <section class="five"> <h3>section &quot;five&quot;<br>
    </h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="five"><h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="five"><h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="five"><h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="five clearfix"> <h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <!--begin 6-columns-->
    <h2 class="center">6 across</h2>
    <section class="six"> <h3>section &quot;six&quot;<br>
    </h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="six"><h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="six"><h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="six"><h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="six"><h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="six clearfix"> <h3>section</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <!--combine different classes-->
    <h2 class="center">mix them up</h2>
    <section class="two"><h3>section "two"</h3>
    <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis.
    Vestibulum luctus mauris sed sem dapibus luctus.
    Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius.  Quisque varius scelerisque nunc eget rhoncus maecenas quis velit nisl, volutpat viverra felis luctus mauris.</p>
    </section>
    <section class="four"><h3>section "four"</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <section class="four clearfix"><h3>section "four"</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis. </p>
    </section>
    <!--main content-->
    <article> <h3>Article - Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!
    Maecenas quis velit nisl, volutpat viverra felis.
    Vestibulum luctus mauris sed sem dapibus luctus.
    Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius.Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim.</p>
    </article>
    <!--begin footer-->
    <footer class="right"> <small>© 2014 Site Name. All rights reserved.</small> </footer>
    <!--close wrapper-->
    </div>
    </body>
    </html>
    Nancy O.

  • Div Image not showing in Live View

    Why can't I see my image placed within a Div tag in Live View? Makes no sense. I've changed the z-index to 1000, also tried 1 nothing changes. Please advise if anyone can help. Thank you!

    I've applied BOLD to the Div tag in question
    HTML Code:
    <!doctype html>
    <html><!-- InstanceBegin template="/Templates/pavemend_website1.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta charset="UTF-8">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Permanent Concrete and Asphalt Repair Home Page</title>
    <meta name="description" content="CeraTech's Pavemend family of high performance concrete repair products have become the choice of professionals across the country for their rapid return to service, versatility, ease of use, and superior durability.">
    <style type="text/css">
    #apDiv8 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 2;
    </style>
    <!-- InstanceEndEditable -->
    <link href="pavmend_styles.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    #pavemendlogo {
        background-image: url(_images/NEW%202012%20PAVEMEND%20LOGO%20WHITE.png);
        background-repeat: no-repeat;
        height: 78px;
        width: 196px;
    #prochoicetype {
        background-image: url(_images/pro_choice_concrete_type.png);
        background-repeat: no-repeat;
        height: 25px;
        width: 521px;
        margin-left: 200px;
        margin-top: -40px;
    #prochoicetype {
        background-image: url(_images/pro_choice_concrete_type.png);
        background-repeat: no-repeat;
        height: 25px;
        width: 521px;
        margin-left: 200px;
        margin-top: -40px;
    </style>
    <!-- InstanceBeginEditable name="head" -->
    <!-- InstanceEndEditable -->
    </head>
    <body>
    <div id="wrapper">
    <div class="container">
      <div id="apDiv1"><!-- InstanceBeginEditable name="HeaderLogo" --><a href="pavemend_home_page.html"><img src="_images/NEW 2012 PAVEMEND LOGO WHITE.png" width="197" height="79" class="fltlft" /></a>
        <div id="resources"></div>
      <!-- InstanceBeginEditable name="Header" -->
      <div class="headerResources"></div>
      <!-- InstanceEndEditable -->
    <nav>
      <ul id="menu">
        <li><a href="pavemend_home_page.html">OUR PRODUCTS &#9660;</a>
          <ul>
            <li><a href="slq_product_page.html">SLQ<sup>®</sup></a></li>
            <li><a href="sl_product_page.html">SL<sup>®</sup></a></li>
            <li><a href="dotline_product_page.html">DOTLine™</a></li>
            <li><a href="15.0_product_page.html">Pavemend 15.0<sup>®</sup></a></li>
            <li><a href="TR_product_page.html">Pavemend TR<sup>®</sup></a></li>
            <li><a href="VR_product_page.html">Pavemend VR<sup>®</sup></a></li>
            <li><a href="IA_product_page.html">Instant Asphalt™</a></li>
            <li><a href="kemrok_product_page.html">KEMROK™</a></li>
            <li><a href="kemrokVR_product_page.html">KEMROK VR™</a></li>
            <li><a href="firerok_product_page.html">FIREROK™</a></li>
            <li><a href="antiwear_product_page.html">Anti-Wear™</a></li>
            <li><a href="antiscale_product_page.html">Anti-Scale™</a></li>
          </ul>
        </li>
        <li><a href="resources_page.html">RESOURCES</a></li>
        <li><a href="technical_support.html">TECHNICAL SUPPORT</a></li>
        <li><a href="contact_page.html">CONTACT US</a></li>
      </ul>
    </nav>
        </section>
      <!-- InstanceBeginEditable name="Sidebar" -->
      <div class="sidebarleftlong">
      <nav>
        <ul>
          <li><a href="#">PAVEMEND PRODUCT <br>    BROCHURE</a></li>
          <p><li><a href="#">KEEP TRAFFIC MOVING <br>    BROCHURE</a></li></p>
          <p><li><a href="#">CASE STUDIES</a></li></p>
          <p><li><a href="#">INSTANT ASPHALT REPAIR</a></li></p>
          <p><li><a href="#">SL PRODUCT VIDEO</a></li></p>
          <p><li><a href="#">SLQ PRODUCT VIDEO</a></li></p>
          <p><li><a href="#">DOTLINE FIELD <br>    APPICATION VIDEO</a></li></p>
        </ul>
        </nav>
       <div id=""></div>
       <!-- end .sidebar1 --> </div>
      <!-- InstanceEndEditable -->
      <!-- InstanceBeginEditable name="Content" -->
      <div class="content">
    <p> </p>
    <img src="_images/resources_header.png" alt="slheader" width="553" height="31" class="productlogos" />
    </section>
    <p> </p>
          <section>
            <p><strong>Pavemend</strong><sup>®</sup> Rapid, Permanent Concrete and Asphalt repair products are quickly becoming the choice for Turnpike, State DOT Bridge Crews and discriminating engineers who value superior, permanent repairs and reduced traffic disruptions.</p>
    <p>Typical repair applications include full and partial depth bridge deck repairs, bridge header joints, approach slabs, form & pour repairs, dowel bar retrofits, joint nosings and more. <strong>Pavemend</strong><sup>®</sup> products require only the addition of water, with no bonding agents or curing requirements and offer all season rapid repair capability.</p>
    <p>Featuring technology developed here in the USA, <strong>Pavemend</strong><sup>®</sup> (by CeraTech Inc) products are easier to use, offer greater durability, provide superior return on investment, and are by far the most sustainable repair products available today.</p> 
            <p><img src="_images/Done Smart Logo.png" width="150" height="17" alt="donesmartlogo" />               
          </section>
    <!-- end .content --></div>
            <!-- InstanceEndEditable -->
      <div class="footer"><!-- InstanceBeginEditable name="Footer Logo" --><img src="_images/NEW 2012 PAVEMEND LOGO WHITE.png" width="160" height="64" class="flt_rgt" /><!-- InstanceEndEditable -->
        <table width="510" summary="footer material">
      <tr>
        <td width="210"><strong><em>Manufactured by</em></strong></td>
      <tr>
        <td><img src="_images/CTI_logo_white.png" width="200" height="47"  alt=""/>
        <td width="50" align="center"><a href="#../twitter.com/Pavemend">Twitter</a>
    <div id="apDiv7"></div>
      <td><strong><em>Planet Friendly Technology</em></strong></td>
       </tr>
    </table>
        <div id="apDivPFT1"></div>
        <!-- end .footer --></div>
      <!-- end .container --></div>
    </body>
    <!-- InstanceEnd --></html>
    CSS:
    @charset "UTF-8";
    /* BEGIN HORIZONTAL DROP-MENU */
    #menu {
        clear: left;
        position: relative;
        width: 100%; /**adjust width as needed**/
        margin: 0;
        padding: 0;
        background-image: url(_images/topnavpanel.png);
        color: #FFFFFF;
    #menu ul {
        margin: 0;
        padding: 0
    #menu li {
        list-style: none;
        float: left;
        text-align: center;
        font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
        color: #000000;
    /**top level menu**/
    #menu li a {
        display: inline-block;
        text-decoration: none;
        /* adjust width as needed or use auto */
        width: 13em;
        padding: 8px;
        font-weight: bold;
        line-height: 12px;
        color: #000;
        border-top-style: none;
        font-size: 90%;
        margin-bottom: 0;
        margin-left: 2%;
        margin-right: 2%;
        margin-top: 0;
        border-bottom-style: none;
    /**top menu style on mouse over**/
    #menu li:hover > a {
        color: #FFF;
        width: 13em;
    /**sub-menu**/
    #menu li ul {
        display: none;
        text-align: center;
        padding: 0;
        margin-bottom: 0;
        margin-left: 40px;
        margin-right: 0;
        margin-top: 0;
        border-bottom-style: none;
    /**sub-menu, help for older IE**/
    #menu li:hover ul, #menu li.hover ul {
        display: block;
        position: absolute;
        z-index:1000;
        padding: 0;
    #menu li:hover li, #menu li.hover li {
        float: none;
        background-color: #E1D5BB;
    /**drop-menu style**/
    #menu li:hover li a, nav li.hover li a {
        width: 14em; /* adjust width as needed or use auto */
        margin-top: 0;
    /**drop-menu style on mouse over**/
    #menu li li a:hover {
        color: #FFF;
        background-color: #03C;
    /* Clear floated elements at the end*/
    #menu:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    /**END HORIZONTAL DROP-MENUS STYLES**/
    #apDiv11 {
        position: absolute;
        width: 190px;
        height: 180px;
        z-index: 2;
        background-image: url(_images/WomanPhone.png);
        background-position: 10px;
        background-repeat: no-repeat;
        margin-top: 240px;
    #apDivSustainability {
        position: absolute;
        width: 200px;
        height: 420px;
        z-index: 3;
        background-image: url(_images/sustainabilitySB2.png);
        background-repeat: no-repeat;
    #apDiv10 {
        position: absolute;
        width: 75px;
        height: 73px;
        z-index: 2;
        background-image: url(_images/PFTLogo.png);
        float: right;
        margin-left: 650px;
        margin-top: -110px;
    #apDiv9 {
        position: absolute;
        width: 200px;
        height: 207px;
        z-index: 3;
        background-image: url(_images/slphoto1.png);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDivslqphoto {
        position: absolute;
        width: 200px;
        height: 267px;
        z-index: 3;
        background-image: url(_images/slqphoto.jpg);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDivdotlinephoto {
        position: absolute;
        width: 200px;
        height: 267px;
        z-index: 3;
        background-image: url(_images/dotlinephoto.png);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDiv15photo {
        position: absolute;
        width: 200px;
        height: 179px;
        z-index: 3;
        background-image: url(_images/15.0_photo.png);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDivTRphoto {
        position: absolute;
        width: 200px;
        height: 267px;
        z-index: 3;
        background-image: url(_images/TR_photo.png);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDivAWphoto {
        position: absolute;
        width: 200px;
        height: 150px;
        z-index: 3;
        background-image: url(_images/AWPhoto.png);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDivASphoto {
        position: absolute;
        width: 200px;
        height: 134px;
        z-index: 3;
        background-image: url(_images/ASphoto.png);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDivVRphoto {
        position: absolute;
        width: 200px;
        height: 150px;
        z-index: 3;
        background-image: url(_images/VR_photo.png);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDivIAphoto {
        position: absolute;
        width: 200px;
        height: 162px;
        z-index: 3;
        background-image: url(_images/IA_photo.png);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDivKemrokphoto {
        position: absolute;
        width: 200px;
        height: 207px;
        z-index: 3;
        background-image: url(_images/KEMROK%20pic.jpg);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDivFirerokphoto {
        position: absolute;
        width: 200px;
        height: 248px;
        z-index: 3;
        background-image: url(_images/Firerok_photo.png);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDivtechsupportphoto {
        position: absolute;
        width: 200px;
        height: 248px;
        z-index: 3;
        background-image: url(_images/techsupport_photo.png);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDivKemrokVRphoto {
        position: absolute;
        width: 200px;
        height: 207px;
        z-index: 3;
        background-image: url(_images/Kemrok%20VR%20pic.jpg);
        background-repeat: no-repeat;
        margin-top: 30px;
        margin-left: -5px;
    #apDiv8 {
        position: absolute;
        width: 180px;
        height: 167px;
        z-index: 2;
        background-image: url(_images/SLbktandbag.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -160px;
        margin-left: 520px;
    #apDivslq {
        position: absolute;
        width: 80px;
        height: 105px;
        z-index: 2;
        background-image: url(_images/SLQbucket.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -125px;
        margin-left: 515px;
    #apDivdotlinebag {
        position: absolute;
        width: 88px;
        height: 167px;
        z-index: 2;
        background-image: url(_images/dotlinebag.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -165px;
        margin-left: 280px;
    #apDivkemrokbag {
        position: absolute;
        width: 121px;
        height: 167px;
        z-index: 2;
        background-image: url(_images/kemrok_bag.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -165px;
        margin-left: 570px;
    #apDivPFT1 {
        position: absolute;
        width: 121px;
        height: 167px;
        z-index: 2;
        background-image: url(_images/PFTLogo.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -75px;
        margin-left: 470px;
    #apDivkemrokVRbag {
        position: absolute;
        width: 121px;
        height: 167px;
        z-index: 2;
        background-image: url(_images/kemrokvr_bag.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -160px;
        margin-left: 590px;
    #apDivFirerokbag {
        position: absolute;
        width: 90px;
        height: 167px;
        z-index: 2;
        background-image: url(_images/firerok_bag.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -160px;
        margin-left: 570px;
    #apDivAWbucket {
        position: absolute;
        width: 90px;
        height: 167px;
        z-index: 2;
        background-image: url(_images/firerok_bag.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -160px;
        margin-left: 590px;
    #apDivAWbucket {
        position: absolute;
        width: 90px;
        height: 167px;
        z-index: 2;
        background-image: url(_images/firerok_bag.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -160px;
        margin-left: 590px;
    #apDivAWbucket {
        position: absolute;
        width: 80px;
        height: 96px;
        z-index: 2;
        background-image: url(_images/AWbucket.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -160px;
        margin-left: 590px;
    #apDiv15bag {
        position: absolute;
        width: 88px;
        height: 111px;
        z-index: 2;
        background-image: url(_images/15.0bucket.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -115px;
        margin-left: 260px;
    #apDivTRbucket {
        position: absolute;
        width: 80px;
        height: 106px;
        z-index: 2;
        background-image: url(_images/TRbucket.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -120px;
        margin-left: 370px;
    #apDivAWbucket {
        position: absolute;
        width: 205px;
        height: 150px;
        z-index: 2;
        background-image: url(_images/AWArt.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -140px;
        margin-left: 420px;
        font-size: 120%;
        -webkit-box-shadow: 0px 0px;
        box-shadow: 0px 0px;
    #apDivASArt {
        position: absolute;
        width: 205px;
        height: 150px;
        z-index: 2;
        background-image: url(_images/ASArt.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -140px;
        margin-left: 420px;
        font-size: 120%;
        -webkit-box-shadow: 0px 0px;
        box-shadow: 0px 0px;
    #apDivVRbucket {
        position: absolute;
        width: 80px;
        height: 87px;
        z-index: 2;
        background-image: url(_images/VRbucket.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -105px;
        margin-left: 470px;
    #apDivIAbucket {
        position: absolute;
        width: 251px;
        height: 106px;
        z-index: 2;
        background-image: url(_images/IAbuckets.png);
        background-repeat: no-repeat;
        float: right;
        margin-top: -120px;
        margin-left: 400px;
    body {
        background-color: #666;
        color: #000;
        text-align: center;
        background-image: url(_images/roadblurred.png);
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        padding-top: 60px;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 100%;
        line-height: 1.4;
    .formtext {
        font-size: 100%;
        text-align: left;
    .bodyfootnote {
        font-size: 70%;
        margin-left: 20px;
        font-family: Verdana, Arial, Helvetica, sans-serif;
    .red {
        font-size: 70%;
        color: #F00;
    .popups {
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
        padding: 0;
        margin: 0;
        text-transform: capitalize;
        text-decoration: none;
        list-style: none;
    h1, h2, h3, h4, h5, h6, p {
        /* [disabled]margin-top: 0; */     /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
        padding-right: 15px;
        padding-left: 23px;
        line-height: 25px;
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
        border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
        color: #FFFFFF;
        text-decoration: none;
        font-size: 100%;
        padding: 5px;
    a:visited {
        color: #FFFFFF;
        text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
        text-decoration: none;
        background-color: #03C;
        color: #FFF;
        height: 12px;
        alignment-baseline: text-after-edge;
    /* ~~this fixed width container surrounds the other divs~~ */
    .container {
        width: 960px;
        background-color: #FFF; /* the auto value on the sides, coupled with the width, centers the layout */
        background-image: url(_images/Bridge4WebScreened.png);
        background-repeat: no-repeat;
        margin-bottom: 0;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 0;
        text-align: left;
    .containerTS {
        width: 960px;
        background-color: #FFF;
        margin: 0 0px; /* the auto value on the sides, coupled with the width, centers the layout */
        background-image: url(_images/US_Map.png);
        background-repeat: no-repeat;
        text-align: left;
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
        background-color: #000;
        background-image: url(_images/BannerBlured960.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerSL {
        background-color: #000;
        background-image: url(_images/PMND%20SL%20Header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerPurchase {
        background-color: #000;
        background-image: url(_images/contact%20us%20pavemend%20header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerSLQ {
        background-color: #000;
        background-image: url(_images/PMND%20SLQ%20Header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerDOTline {
        background-color: #000;
        background-image: url(_images/DOTLINE%20Header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .header15 {
        background-color: #000;
        background-image: url(_images/PMND%2015.0%20Header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerTR {
        background-color: #000;
        background-image: url(_images/PMND%20TR%20Header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerAW {
        background-color: #000;
        background-image: url(_images/anti_wear_pavemend_header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerAS {
        background-color: #000;
        background-image: url(_images/anti%20scale%20pavemend%20header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerVR {
        background-color: #000;
        background-image: url(_images/PMND%20VR%20Header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerIA {
        background-color: #000;
        background-image: url(_images/Instant%20asphalt%20packaged%20Header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerKemrok {
        background-color: #000;
        background-image: url(_images/KEMROK%20packaged%20Header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerKemrokVR {
        background-color: #000;
        background-image: url(_images/KEMROK%20VR%20packaged%20Header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerFirerok {
        background-color: #000;
        background-image: url(_images/FIREROK%20packaged%20Header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerAntiWear {
        background-color: #000;
        background-image: url(_images/anti_wear_pavemend_header.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerTechSupport {
        background-color: #000;
        background-image: url(_images/FEBlurred.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .headerResources {
        background-color: #000;
        background-image: url(_images/ResourceBanner.png);
        height: 229px;
        background-repeat: no-repeat;
        width: 960px;
    .header h1 {
        font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 20pt;
        font-style: normal;
        font-weight: bolder;
        color: #FFF;
        padding-top: 150px;
        padding-left: 30px;
    /* ~~ These are the columns for the layout. ~~
    1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
    2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div's rule to tame a bug where some versions of Internet Explorer double the margin.
    3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar divs could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.
    4) If you prefer your nav on the left instead of the right, simply float these columns the opposite direction (all left instead of all right) and they'll render in reverse order. There's no need to move the divs around in the HTML source.
    .sidebar1 {
        float: right;
        width: 180px;
        margin-left: 0px;
        margin-right: 30px;
        clear: none;
        font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 100%;
        font-style: italic;
        background-image: url(_images/Testimonialb.gif);
        background-repeat: no-repeat;
        height: 456px;
        text-decoration: none;
        z-index: 1000;
    .sidebarPurchase {
        float: right;
        width: 200px;
        margin-left: 0px;
        margin-right: 20px;
        clear: none;
        font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 100%;
        font-style: italic;
        background-image: url(_images/purchaseSB.png);
        background-repeat: no-repeat;
        height: 420px;
        margin-top: 0px;
        text-decoration: none;
        background-color: #217CC0;
        background-position: 10px 10px;
    .sidebarleft {
        float: left;
        width: 195px;
        font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 85%;
        font-style: oblique;
        height: 200px;
        text-decoration: none;
        padding-top: 8px;
        padding-left: 10px;
        margin-right: 5px;
        background-color: #217CC0;
        vertical-align: bottom;
        line-height: 30px;
        font-weight: bold;
        border-bottom-style: groove;
        border-bottom-width: 10px;
        margin-top: -4px;
    .sidebarleftlong {
        float: left;
        width: 195px;
        font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
        font-style: oblique;
        height: 280px;
        text-decoration: none;
        padding-top: 20px;
        margin-right: 5px;
        background-color: #217CC0;
        vertical-align: bottom;
        line-height: 17px;
        font-weight: bold;
        border-bottom-style: groove;
        border-bottom-width: 10px;
        margin-top: -4px;
        color: #FFF;
        font-size: 85%;
        text-align: left;
        padding-left: 10px;
    .sidebargreen {
        float: left;
        width: 195px;
        height: 410px;
        text-decoration: none;
        padding-top: 20px;
        margin-right: 5px;
        background-color: #8CC63F;
        border-bottom-style: groove;
        border-bottom-width: 10px;
        margin-top: -4px;
        padding-left: 10px;
    .nav2 {
        font-family: bebas-neue;
        font-style: normal;
        font-weight: 400;
        color: #FFF;
    .sidebarleft nav ul li a {
        text-decoration: none;
        color: #FFF;
    .sidebarleftlong nav ul li a {
        text-decoration: none;
        color: #FFF;
        font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
        font-weight: bold;
    .content {
        width: 730px;
        float: left;
        background-image: none;
        background-repeat: no-repeat;
        background-position: left;
        font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
        padding: 10px 0;
        text-align: left;
        font-size: 100%;
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
        padding: 0 15px 15px 40px;
        text-decoration: none;
    /* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
    ul.nav {
        list-style: none; /* this removes the list marker */
        border-top: 1px solid #666; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
        margin-bottom: 15px; /* this creates the space between the navigation on the content below */
        text-decoration: none;
    ul.nav li {
        border-bottom: 1px solid #666;
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
        padding: 5px 5px 5px 15px;
        display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
        width: 160px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
        text-decoration: none;
        background-color: #C6D580;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
        background-color: #DFEBF3;
        color: #FFF;
        text-decoration: none;
    /* ~~ The footer ~~ */
    .footer {
        padding: 10px 0;
        position: relative;/* this gives IE6 hasLayout to properly clear */
        clear: both;
        background-color: #000000;
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
        float: left;
        margin-left: 760px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
        float: left;
        margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    #apDiv1 {
        position: absolute;
        width: 900px;
        height: 94px;
        z-index: 1;
        margin-top: 80px;
        margin-left: 30px;
        white-space: 3;
        font-size: 100%;
        text-align: left;
    sllogo {
        background-image: url(_images/SLwhitelogo.png);
        background-repeat: no-repeat;
    .slLogo {
        background-image: url(_images/SLwhitelogo.png);
        background-repeat: no-repeat;
        height: 100px;
        width: 240px;
    .productlogos {
        margin-left: 23px;
        margin-top: 10px;
    .Bold {
        font-weight: bold;
    .inherent {
        font-style: inherit;
    sup {
        position: relative;
        top: -1ex;
        vertical-align:baseline;
        font-size: 75%;
    #apDiv2 {
        position: absolute;
        width: 650px;
        height: 31px;
        z-index: 2;
        background-repeat: no-repeat;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: 15px;
        margin-left: 15px;
        top: 369px;
        background-image: url(_images/homeheader.png);
    .footer table tr td {
        font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 75%;
        color: #FFF;
        height: 8px;
        width: 160px;
        margin-left: 10px;
        padding-left: 15px;
        border-collapse: collapse;
        padding-top: 0px;
        padding-right: 0px;
        padding-bottom: 5px;
    .footer p {
        font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 80%;
        color: #FFF;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-right: 30px;
    .footer table tr th h4 {
        font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 75%;
        color: #FFF;
        float: left;
        padding-left: 15px;
        height: 0px;
    .footer table tbody tr td a {
        color: #FFF;
    #wrapper {
         width:970px; /**adjust as needed**/
         margin:0 auto; /**centers page on screen**/              
    .flt_rgt {
        float: right;
        margin-top: 15px;
        margin-right: 30px;
        background-image: ;
        background-repeat: no-repeat;
    .title {
        /* [disabled]margin-right: 30px; */
        margin-top: 35px;
        margin-left: 10px;
        background-image: ;
        background-repeat: no-repeat;
        /* [disabled]margin-left: 20px; */
        top: 30px;
        /* [disabled]margin-top: 30px; */
        left: 30px;
    .flt_products {
        float: right;
        margin-right: 30px;
        background-image: ;
        background-repeat: no-repeat;
    .container section nav {
        background-image: url(_images/topnavpanel.png);
        background-repeat: no-repeat;
        height: 30px;
        width: 960px;
        padding-top: 3px;
    #apDiv3 {
        position: absolute;
        width: 468px;
        height: 41px;
        z-index: 2;
        background-image: url(_images/savetimetext.png);
        background-repeat: no-repeat;
        margin-left: 15px;
    #apDiv4 {
        position: absolute;
        width: 400px;
        height: 41px;
        z-index: 3;
        background-image: url(_images/ULTRAFLOR.png);
        background-repeat: no-repeat;
        margin-left: 10px;
        margin-top: 45px;
    #apDiv5 {
        position: absolute;
        width: 250px;
        height: 103px;
        z-index: 4;
        background-image: url(_images/HI%20RES%20PRODUCT%20FAMILY%20w%20IA.png);
        background-repeat: no-repeat;
        float: right;
        right: auto;
        margin-left: 675px;
        margin-top: -22px;
    #apDiv6 {
        position: absolute;
        width: 40px;
        height: 38px;
        z-index: 5;
        background-image: url(_images/PFT%20No%20Text%20No%20Flip.png);
        margin-top: -25px;
        margin-left: 83px;
    #apDiv7 {
        position: absolute;
        width: 20px;
        height: 17px;
        z-index: 5;
        background-image: url(_images/twitter-bird-dark-bgs.png);
        margin-top: -15px;
        margin-left: 85px;
    nav ul {
        list-style: none; /* this removes the list marker */
        border-top: 1px solid #666; /* this creates the space between the navigation on the content below */
        font-size: 90%;
    nav ul li {
        text-decoration: none;
        color: #FFF;
    nav ul a:link , nav ul a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
        padding: 5px 5px 5px 15px;
        display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
        width: 160px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
        text-decoration: none;
        text-align: left;
        color: #FFF;
    nav ul a:hover, nav ul a:active, nav ul a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
        color: #FFF;
        text-decoration: none;
    .orange {
        color: #FAA634;
    .white {
        color: #FFFFFF;
    .red {
        color: #F00;
    .red1 {
        color: #F00;
    .toppanel {
        background-image: url(_images/topnavpanel.png);
        background-repeat: no-repeat;
        height: 30px;
        width: 960px;
    #apDiv12 {
        position: fixed;
        width: 960px;
        height: 30px;
        z-index: 5;
        background-image: url(_images/topnavpanel.png);
        background-repeat: no-repeat;
        float: left;
        top: 229px;
    .white {
    .CeraTechLogo {
        background-image: url(_images/CTI_logo_white.png);
        background-repeat: no-repeat;
        width: 200px;
        height: 60px;
    .apDivPFT {
        background-repeat: no-repeat;
        padding-left: px;
        padding-top: 0px;
    #prochoicetype {
        background-image: url(_images/pro_choice_concrete_type.png);
        background-repeat: no-repeat;
        height: 25px;
        width: 521px;
        margin-left: 200px;
        margin-top: -40px;
    #resources {
        background-image: url(_images/ResourcesType.png);
        background-repeat: no-repeat;
        height: 25px;
        width: 521px;
        margin-left: 200px;
        margin-top: -40px;

  • Aligning two divs and centering them.

    so i am running into one main issue with my website. As of now the only two things on my site are a gray image and an image slider. I managed to get them into the same div and next to each other but i need them to both be static and centered by the webpage. I have put them into the same div with class="col-xs-6" and what you see happened. I know that my slider is responsive. They basically need to be next to each other and centered. I am new at making websites but this would help me a lot.
    My site: http://rootforsite.azurewebsites.net/ (f12 for code)
    I just need them next to each other and centered. Any thoughts?

    Copy and paste the following into a new document and view in the browser.
    <!doctype html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
    <link href="http://bxslider.com/lib/jquery.bxslider.css" rel="stylesheet" />
    </head>
    <body>
    <nav class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
                <a class="navbar-brand" href="#"><img src="img/logo.png" style="position: relative; top: -7.5px;" /></a> </div>
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li class="active"><a href="#">Link</a></li>
                    <li><a href="#">Link</a></li>
                    <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="#">Action</a></li>
                            <li><a href="#">Another action</a></li>
                            <li><a href="#">Something else here</a></li>
                            <li class="divider"></li>
                            <li><a href="#">Separated link</a></li>
                            <li class="divider"></li>
                            <li><a href="#">One more separated link</a></li>
                        </ul>
                    </li>
                </ul>
                <form class="navbar-form navbar-left" role="search">
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="Search" size=60px>
                    </div>
                    <button type="submit" class="btn btn-default" value="Open Window" onclick="window.open('http://www.cnn.com')">Submit</button>
                </form>
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#">Link</a></li>
                    <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="#">Action</a></li>
                            <li><a href="#">Another action</a></li>
                            <li><a href="#">Something else here</a></li>
                            <li class="divider"></li>
                            <li><a href="#">Separated link</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    <div class="container">
        <div class="row">
            <div class="col-sm-8">
                <ul class="bxslider">
                    <li><img src="http://rootforsite.azurewebsites.net/img/Day1.jpg"></li>
                    <li><img src="http://rootforsite.azurewebsites.net/img/Day1.jpg"></li>
                    <li><img src="http://rootforsite.azurewebsites.net/img/Day1.jpg"></li>
                    <li><img src="http://rootforsite.azurewebsites.net/img/Day1.jpg"></li>
                </ul>
            </div>
            <div class="col-sm-4">
                <div class="imagess"> <img src="http://rootforsite.azurewebsites.net/img/pic.jpg" class="img-responsive center-block"  />" </div>
            </div>
        </div>
    </div>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
    <script src="http://bxslider.com/lib/jquery.bxslider.js"></script>
    <script>
    $(document).ready(function(){
      $('.bxslider').bxSlider();
    </script>
    </body>
    </html>

  • Feedback: Elements Panel + div hirarchy

    Hello,
    selecting multiple divs (Strg or Shift+Left Mouse Button) within the Elements Panel would be a great enhancement in workflow. When building a responsive grid as a base for e.g. Drupal with divs having height auto and no content, it's difficult to select multiple divs at once using the stage. Another enhancement with renaming divs inside Elements Panel would be the possiblitiy to select specific characters of the div name and make copy+paste work.
    As far as the hirarchy and naming of the divs goes, reflow currently uses this hirarchy with html+css:
    -  primaryContainer
    then designer adds custom divs e.g.
    - -  Outer_Wrapper_Header
    - - -  Inner_Wrapper_Header
    - -  Outer_Wrapper_Content
    - - -  Inner_Wrapper_Content
    With Reflow Stage, "primaryContainer" (name in css and html) div is just called "Container". Maybe a better way with reflowstage+html+css would be:
    - Body (no custom name possible)
    - - Page (designer can apply a custom name)
    - - - Container (no custom name possible)
    then designer adds custom divs e.g.
    - - - - Outer_Wrapper_Header
    - - - - - Inner_Wrapper_Header
    - - - - Outer_Wrapper_Content
    - - - - - Inner_Wrapper_Content
    I am sure you you will find best practice with the hirarchy. What would be the next instance after Container?
    Body->Page->Container->Wrapper
    or maybe...
    Body->Page->Container->Outer_Wrapper->Inner_Wrapper
    Greets...

    Didn't notice that partial selection on element names in the DOM panel were not allowed, filling a bug for that one, for sure.
    thanks for this, I'm taking a look through some of this feedback. Appreciate you taking the time to write it out!

  • Problem with Div and table

    I have a table that contains data parsed for a weather station page.  It also has a webcam picture on the page.  Up until now, the webcam pic has loaded via an applet but I want to change that to a jquery slideshow so it's accessible to more mobile devices.   My problem is that no matter what I do (aside from putting a 5x240 spacer) I can't get the table data to display below the webcam div (id="featured").  I've put the webcam and data table in their own div, the webcam's div in the table, used clear:both on the divs, tried setting block size, but it's like nothing is working.   So I'm back to go and thought I'd post it here since there are so many folks here who know more about this than me.  This is the html, right now with no CSS classes or anything added.  So whatever you would suggest as far as div and/or table layout and any CSS would be appreciated.
    <table width="100%" cellpadding="3">
    <tr align="center"><td >
          <div id="featured"> <a href="http://www.spyglasshill.com/Webcam/" target="_new"><img src="http://spyglasshill.com/Webcam/netcam.jpg" alt="Webcam of Holland Channel from Spyglass Condos" width="320" height="253" border="0" id="Img0" /></a>
                  <a href="http://www.spyglasshill.com/Webcam/" target="_new"><img src="http://spyglasshill.com/Webcam/netcam-9.jpg" alt="Webcam of Holland Channel from Spyglass Condos" width="320" height="253" border="0" id="Img10" /></a>
                  <a href="http://www.spyglasshill.com/Webcam/" target="_new"><img src="http://spyglasshill.com/Webcam/netcam-8.jpg" alt="Webcam of Holland Channel from Spyglass Condos" width="320" height="253" border="0" id="Img9" /></a>
                  <a href="http://www.spyglasshill.com/Webcam/" target="_new"><img src="http://spyglasshill.com/Webcam/netcam-7.jpg" alt="Webcam of Holland Channel from Spyglass Condos" width="320" height="253" border="0" id="Img8" /></a>
                  <a href="http://www.spyglasshill.com/Webcam/" target="_new"><img src="http://spyglasshill.com/Webcam/netcam-6.jpg" alt="Webcam of Holland Channel from Spyglass Condos" width="320" height="253" border="0" id="Img7" /></a>
                  <a href="http://www.spyglasshill.com/Webcam/" target="_new"><img src="http://spyglasshill.com/Webcam/netcam-5.jpg" alt="Webcam of Holland Channel from Spyglass Condos" width="320" height="253" border="0" id="Img6" /></a>
                  <a href="http://www.spyglasshill.com/Webcam/" target="_new"><img src="http://spyglasshill.com/Webcam/netcam-4.jpg" alt="Webcam of Holland Channel from Spyglass Condos" width="320" height="253" border="0" id="Img5" /></a>
                  <a href="http://www.spyglasshill.com/Webcam/" target="_new"><img src="http://spyglasshill.com/Webcam/netcam-3.jpg" alt="Webcam of Holland Channel from Spyglass Condos" width="320" height="253" border="0" id="Img4" /></a>
                  <a href="http://www.spyglasshill.com/Webcam/" target="_new"><img src="http://spyglasshill.com/Webcam/netcam-2.jpg" alt="Webcam of Holland Channel from Spyglass Condos" width="320" height="253" border="0" id="Img3" /></a>
                  <a href="http://www.spyglasshill.com/Webcam/" target="_new"><img src="http://spyglasshill.com/Webcam/netcam-1.jpg" alt="Webcam of Holland Channel from Spyglass Condos" width="320" height="253" border="0" id="Img2" /></a>
                  <a href="http://www.spyglasshill.com/Webcam/" target="_new"><img src="http://spyglasshill.com/Webcam/netcam-0.jpg" alt="Webcam of Holland Channel from Spyglass Condos" width="320" height="253" border="0" id="Img1" /></a>  <!--end div featured--></div>
    </td></tr>
    <tr>
      <td><img src="images/spacer5x260.gif" width="5" height="260"></td></tr>
    <tr>
                          <td colspan="4"><p align="center"><a href="images/06/Waterspout/Waterspouts.htm"><br />
                              </a></p>
                            <div align="center">
                              <p><a href="images/Waterspout/Waterspouts.php">Waterspout on Lake Mich </a>||| <a href="images/ANIFreighter.gif">Freighter Leaving Harbor</a><br />
                              </p>
                            </div></td>
                          </tr>
                        <tr>
                          <td colspan="4" bgcolor="#EAEFF9"><div align="center">
                            <h2>Weather Conditions Last Updated  wvcurudwv at wvcurutwv </h2>
                          </div></td>
                        </tr>
                        <tr>
                          <td><div align="right">                        Temperature                      </div></td>
                          <td><div align="left">                        wvcur01wv                      </div></td>
                          <td><div align="right">                        Wind Speed                      </div></td>
                          <td><div align="left">                        wvcur18wv                      </div></td>
                        </tr>
                        <tr>
                          <td><div align="right">                        Average High                      </div></td>
                          <td><div align="left">                        wvahtempwv                      </div></td>
                          <td><div align="right">                        Wind Direction                      </div></td>
                          <td><div align="left">                        wvcur17wv                      </div></td>
                        </tr>
                        <tr>
                          <td><div align="right">                        Record High                      </div></td>
                          <td><div align="left">                        wvrhtempwv in
                          wvrhtyrwv                      </div></td>
                          <td><div align="right">                        Peak Wind Gust                      </div></td>
                          <td><div align="left">                        wvhigh18wv at
                          wvhight18wv                      </div></td>
                        </tr>
                        <tr>
                          <td><div align="right">                        High
                          Since Midnight                      </div></td>
                          <td><div align="left">                        wvhigh01wv
                          at wvhight01wv                      </div></td>
                          <td><div align="right">                        Wind Chill Factor                      </div></td>
                          <td><div align="left">                        wvcur02wv                      </div></td>
                        </tr>
                        <tr>
                          <td><div align="right">                        Low                      </div></td>
                          <td><div align="left">                        wvlow01wv
                          at wvlowt01wv                      </div></td>
                          <td><div align="right">                        Yesterday Max Wind                      </div></td>
                          <td><div align="left">                        wvyhigh18wv at wvyhight18wv                      </div></td>
                        </tr>
                        <tr>
                          <td><div align="right">                        Rainfall Since
                          Midnight                      </div></td>
                          <td><div align="left">                        wvcur16wv                      </div></td>
                          <td><div align="right">                        Relative Humidity                      </div></td>
                          <td><div align="left">                        wvcur13wv                      </div></td>
                        </tr>
                        <tr>
                          <td><div align="right">                        Rainfall Yesterday                      </div></td>
                          <td><div align="left">                        wvyhigh16wv                      </div></td>
                          <td><div align="right">                        Barometric Pressure                      </div></td>
                          <td><div align="left">                        wvcur15wv                      </div></td>
                        </tr>
                        <tr>
                          <td><div align="right">                        Sunrise                      </div></td>
                          <td><div align="left">                        wvsrisewv                      </div></td>
                          <td><div align="right">                        Heat Index                      </div></td>
                          <td><div align="left">                        wvcur04wv                      </div></td>
                        </tr>
                        <tr>
                          <td><div align="right">                        Sunset                      </div></td>
                          <td><div align="left">                        wvssetwv                      </div></td>
                          <td><div align="right">                        Dew Point                      </div></td>
                          <td><div align="left">                        wvcur03wv                      </div></td>
                        </tr>
                        <tr>
                          <td> </td>
                          <td> </td>
                          <td> </td>
                          <td> </td>
                        </tr>
                        <tr>
                          <td> </td>
                          <td>Moon
                          distance from earth</td>
                          <td><span>wvmdistwv</span></td>
                          <td> </td>
                        </tr>
                        <tr>
                          <td><h2> </h2></td>
                          <td><h2> </h2></td>
                          <td><h2> </h2></td>
                          <td><h2> </h2></td>
                        </tr>
                        <tr>
                          <td><h2><a href="http://www.coastwatch.msu.edu/twomichigans.html" target="_blank">Lake
                            Michigan<br />
       Water Temp</a></h2></td>
                          <td><h2><a href="http://www.woodtv.com/Global/category.asp?C=2906&nav=0Rcf">TV
                          8</a> &amp; <a href="http://www.wzzm13.com/weather/forecast/weather.asp">TV13</a> Weather </h2></td>
                          <td><h2><a href="http://www.deq.state.mi.us/beach/Default.aspx?County=70" target="_blank">Ottawa County Beach Conditions</a></h2></td>
                          <td><h2><a href="http://www.crh.noaa.gov/product.php?site=grr&product=nsh&issuedby=grr" target="_blank">Nearshore
                          Marine Forcast</a></h2></td>
                        </tr>
                      </table>

    Of course as soon as I posted that, I found the error of my ways. I had forgotten to set containerheight:   on my .js script for 'div#featured'
    Arrrghh, why couldn't I have realized that a hour ago!!!

  • Preventing overlapping divs (using spry collapsible panel)?

    I'm using a collapsible panel. below that is another div.
    When user clicks on collapsible panel it revelas it content. The following div with content(i.e. <div class=""> </div>
                 <div class="clean-graypop">
                   <input type="radio" value="a" name="question1" />...) moves down. At least when viewed in a browser.
    However, when viewed in print preview, and when printed. the contents of the collapsible panels now overlaps the content of the following div contents
    <p><strong>Part 1: Statistical inference</strong></p>
                <p> Questions revealed and hidden using buttons.</p>
                <div id="CollapsiblePanel2" class="CollapsiblePanel">
                  <div class="CollapsiblePanelTab" tabindex="0"><a href="#" target="_self" class="button"><span>Question 1</span></a><br />
                    <br />
                  </div>
                  <div class="CollapsiblePanelContent">
                    <p>Read the following statements (1-5) about measures of effect in epidemiological studies. </p>
                    <ol>
                      <li>A measure of effect is a quantity that measures the effect of a factor on the frequency or risk of an outcome.</li>
                      <li>The incidence of a disease cannot be calculated in a case-control study because the controls represent an unknown fraction of the whole population.</li>
                      <li>Rate ratios, risk ratios, odds ratios, differences between means and differences between medians can all be used as effect measures in both cohort and intervention studies.</li>
                      <li>The only measures of effect that can be calculated in a cross-sectional study are prevalence ratios and odds ratios. </li>
                      <li>A prevalence ratio can be calculated in an ecological study.</li>
                    </ol>
                    <p>Which one of the following options (a-e) is correct?</p>
                  </div>
                </div>
                <br />
                <div class=""> </div>
                <div class="clean-graypop">
                  <input type="radio" value="a" name="question1" />
                  a) Statements 1 and 2 are correct<br />
                  <input type="radio" value="b" name="question1" />
                  b) Statements 1, 3 and 5 are correct<br />
                  <input type="radio" value="c" name="question1" />
                  c) Statements 1, 2, 3 and 4 are correct<br />
                  <input type="radio" value="d" name="question1" />
                  d) Statements 2, 3, 4 and 5 are correct<br />
                  <input type="radio" value="e" name="question1" />
                  e) All of the statements are correct<br />
                </div>
                <br />

    Define a media type CSS for print that compensates. Read here: http://www.w3.org/TR/CSS2/media.html
    Mylenium

  • Different background image (div) on each page of site complicated by template

    Hope I can explain this:  Below are specifics
    - Using Dreamweaver cs5.5
    - Making the pages from a template.
    - Each page will have a different backround image; but the image is contained in a div tag (div name is .mainbackground) which runs behind the main core of the site, the image is not in the <body>
    - The div .mainbackground is EDITABLE
    - I have already made a specific css class to assign to that div on each page so that the image is different on each page.
    - On the template page the div .mainbackground has no image class assigned to it (thus no background image)
    - Since that div is editable I can then go into each page and assign the desired image class to it - works great.  EXCEPT...... & here's my main question:
    -  In the code all of the other regions are contained IN that above mentioned div of .mainbackground SO that means that:
    - if I need to update the structure of the pages I will have to remove the Editable region that controls the background image which would be -  removing the .mainbackround editable region.  Then go back to my template, make changes and save everything - thus all the changes will carry through to my other pages.  This is good and bad because I would get all the structural changes but I would also loose all of the text specific to those pages.
    -Then when I'm finished I would have to go back and first add an editable region back to the .mainbackground class and then re-apply the background classes back to the .mainbackground to fix the images on the pages again...
    The site is very small site so I can deal with it but am I going about this all wrong?
    Is there some template feature I'm not getting?  I would like to keep using the template feature, and i do want a different pic on each page.....
    I have attached a picture showing one page so you can see the background image - which will be different on each page.

    If your Template has embedded CSS within the <head> tags, and the <head> has an editable region defined, you should be able to change styles in child pages.
    TEMPLATE CODE:
    <head>
    <style type="text/css">
    .mainbackground { }
    </style>
    </head>
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    CHILD PAGE CODE:
    <head>
    <style type="text/css">
    .mainbackground {
    background-image:url(page2-BG.jpg)
    </style>
    </head>
    Give it a try.
    Nancy O.

  • Display one div at a time from an array?

    I am trying to make a multiple choice quiz. I have each question and answer in a div. There are 20 divs. All are set to not display on the stage, and I want to call one randomly to display as the user answers that question.
    For the moment, I am trying to get even one question to display on the stage. Here is my code, which is at the top in the edgeActions.js file inside the first function.
    //Edge code
    (function($, Edge, compId){
    var Composition = Edge.Composition, Symbol = Edge.Symbol; // aliases for commonly used Edge classes
    //my code
    var divs = new Array( 'div.ques1', 'div.ques2', 'div.ques3', 'div.ques4', 'div.ques5', 'div.ques6', 'div.ques7', 'div.ques8', 'div.ques9', 'div.ques10', 'div.ques11', 'div.ques12', 'div.ques13', 'div.ques14', 'div.ques15', 'div.ques16', 'div.ques17', 'div.ques18', 'div.ques19', 'div.ques20' ), idx;
    var idx = Math.floor(Math.random()*divs.length);
    function getQuestion() {
    //the following commands do not work
                        $('idx').show();
                        $('idx').css('display','inline');
                        $('divs[idx]').appendTo(document.body);
                        $('sym.que2').show();
      $('que2').show();
                        $('div.ques1').show();
                        $('ques2').show();
    //these do work
                        alert("blah");
                        console.log('this is working');
                        console.log('id=%d', idx);
              getQuestion();
    Since the console is returning the random number from the array, I have a feeling Edge cannot distinguish the array number from the corresponding div. Converting them to symbols does nothing. I am starting to think it would have been easier to just hand code this rather than using Edge.

    Hi Elaine,
    Thank you for your response!
    Your new randomize line worked beautifully
    I have tried defining my array elements in every connotation I can think of, inlcuding changing them to symbols. I did figure out today that an element has to be displayed before it will even be hit by jQuery, [.show() will not work] and if autoplay is checked while they are off, they will show, and vice versa. Confusing, but it narrowed it down enough for me to see I really just needed to figure out how to call the elements, then figure out all the on/off/autoplay stuff from there.
    Here is my new code in its new location, the compositionReady panel:
    var divs = new Array( 'Symbol_1', 'Symbol_2', 'Symbol_3', 'Symbol_4', 'Symbol_5', 'Symbol_6', 'Symbol_7', 'Symbol_8', 'Symbol_9', 'Symbol_10', 'Symbol_11', 'Symbol_12', 'Symbol_13', 'Symbol_14', 'Symbol_15',
    'Symbol_16', 'Symbol_17', 'Symbol_18', 'Symbol_19', 'Symbol_20' );   // display is on for all symbols
    sym.setVariable("myArr", divs);
    var random = Math.floor(Math.random() * 100) % 20;
    console.log( divs );   //works
    console.log( "myArr" );   //works
    console.log( random );    //works
    function getQuestion() {
             sym.$("myArr").hide();  // doesn't work
             sym.$("myArr").hide();  //doesn't work
                        console.log('this is working');  //works
                        console.log('id=%d', random);   //works
    getQuestion();
    All of the questions are showing at once and I want to be able to hide all of them.
    Array[20] 
    0: "Symbol_1"
    1: "Symbol_2"
    2: "Symbol_3"
    3: "Symbol_4"
    4: "Symbol_5"
    5: "Symbol_6"
    6: "Symbol_7"
    7: "Symbol_8"
    8: "Symbol_9"
    9: "Symbol_10"
    10: "Symbol_11"
    11: "Symbol_12"
    12: "Symbol_13"
    13: "Symbol_14"
    14: "Symbol_15"
    15: "Symbol_16"
    16: "Symbol_17"
    17: "Symbol_18"
    18: "Symbol_19"
    19: "Symbol_20"
    length: 20
    myArr
    17
    this is working
    17

  • Noob question about DIV tags

    Learning DW and CSS so patience is in order .
    I've being reading numerous posts here and on the web about avoiding tables for laying out web pages. I can see the advantages in terms of cleaner codes and easiness of updating and changing sites at a later time. So I started learning about DIV tags (although tables is very easy for me) and have practice a few times with fairly good results, love the absolute positioning with it. Having said that, for the love of me, can't find a way of centering horizontally a page designed with DIV tags (due to ignorance), for example, 1 column/three rows page, after defining styles, size and colors I enclosed everything in another DIV tag, wrapper I think is called, but have not found a way of centering it on the page, text-aligment on the DIV tag only centers the text not the DIV itself, how to go about this? Help is appreciated.

    love the absolute positioning with it.
    Get over it.  It's a trojan horse.  Absolute positioning is not a general layout method.
    To center ANY block (non-absolutely positioned) element, use CSS to give it a width and left/right margins of 'auto'.  For example -
    <div id="foo">...</div>
    That div will be centered with this CSS -
    #foo { width:300px; margin:0 auto; }
    I think you are on the wrong path already, though.  Stick with tables (which you say are very easy for you) UNTIL you a) understand CSS well enough to understand what absolute positioning is and why I say it's bad, and b) understand how to use float, margin, and padding to place things on the page.  Then you are ready to move away from tables.

  • How do I insert an image in a div box?

    OK I've got a seemingly small issue I have to iron out to update our homepage after our graphics person decided to stop showing up to work.  If you need to view the page source it is located here - http://www.rugged-cctv.com/indextestvideo2.shtml
    1. In the image listed below on the red title of the youtube video I have inserted a Rugged Cams logo image that needs to appear like it does in the image. It also shows up correct in the live view of DW  When uploaded the actual page just lists the alt text.  I would also like to center the text in the middle of the image instead of at the bottom of it.   How do I get the image to actually show up? and center the text vertically on the Rugged Cams logo?
    Here is the code for the container it is in and that div.
    <div id="youtubecontainer" style="overflow: hidden;">
    <div id="youtube" style="float: left; color:red; width: 475px; padding-left: 0px; font-family:Britannic Bold; font-size: 22px; text-indent: 5px;"> Businesses & Dealers Love the <img src="images/ruggedcams.jpg" width="66" height="34" alt="RuggedCams" /> brand
    <object height="370" width="460">
      <param name="movie" value="http://www.youtube.com/v/3aysc6dGh3c?fs=1&hl=en_US"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/3aysc6dGh3c?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="370" width="460"> 
      </object>
    <!--end youtube--></div>

    Nevermind figured it all out once I walked away!

  • Problem in assigning id to DIV inside a datatable

    In our JSF application, we have a requirement to display a separate DIV for each row which is iterated inside a datatable.
    In order to display the contents under a particular DIV, we need to capture the id of that DIV.
    But since the DIV resides within verbatim inside the datatable, a unique identifier could not be associated to each DIV.
    The code looks like this�.
    <h:dataTable id="product_entity_data_table" width="690" border="0" cellspacing="1" columnClasses="clsTableBodyL"
    rowClasses="clsAlignTop clsListDarkBackground,clsAlignTop clsListLightBackground"
    headerClass="clsTableHeaderBottomL" value="#{entityImpactListBean.currentProductsDSIDetailBeanList}"
    var="productDSIDetail" rendered="#{impactListBean.entityProductFlag}">
    <h:column>
    <f:facet name="header">
    </f:facet>
    <h:panelGrid id="product_ent_dsidetail_newDataValue_pg" columns="1">
    <clsFields:radio id="dsi_newdatavalue" value="#{productDSIDetail.newProductValue}"
    onclick="formDivContent(#{productDSIDetail.productName}, #{productDSIDetail.dataLevelID}, this.id);">
    <f:selectItems value="#{impactListBean.radioValueList}" />
    </clsFields:radio>
    <h:outputText id="product_ent_dsidetail_errorMessage" styleClass="clsErrorMessageB"
    value="#{productDSIDetail.errorMsg}" rendered="#{productDSIDetail.errorMsgFlag}">
    </h:outputText>
    </h:panelGrid>
    <f:verbatim>
    <div id="div<%=divCount++%>" style="display:none;">
    <iframe name="frame<%=frameCount++%>" width="0" height="0" align="center"
    frameborder="0" onload='showData(this);'></iframe>
    </div>
    </f:verbatim>
    </h:column>
    </h:dataTable>
    Inspite of introducing divCount (code highlighted in blue), every time the id associated to every DIV is the same, which is �div1�.
    Any help in this regard will help us solve this issue.

    Hi ,
    If your are not sure about user name , use the wildcard pattern , but make sure you use only a single *
    i.e
    1)IF User = shilpa*
    THEN Portal Desktop = dekstop path
    2)IF User =*  shilpa  *
    THEN Portal Desktop = dekstop path
    Here 1st option will work , 2nd will not work. "  use only a single *   "
    Regards,
    Sunitha Hari

  • What does {tag_image_value} from webapps return when field is empty? How to use javascript to remove div when condition is met.

    Dear all,
    As stated in the question, what does {tag_image_value} from webapps return when no image has been uploaded by users. I understand that there is an OnError function that can be called if there isn't any image. However it does not do so.
    I am creating a program which will check to see if {tag_image_value} contains an image. If it does not, the error will call an external javascript to remove the div such that it removes any subsequent codes in the later parts of the codes. Below is part of the program:
    I have tried to compare the value to NULL, 0, -1 and "" using if-else functions but they do not work. The slideshow wrapper is part of the code from the following theme: 2027 E Colfax Ave Denver
    The theme will cycle through the pictures, my purpose is to remove the pictures if the images are not present.
       <!------------------------------------------------ Remove picture if not uploaded ------------------------------------------------>
    <script language="JavaScript">
    function noimg1() {
         $( "#shownpicture1" ).remove();
         return;
    function noimg2() {
         $( "#shownpicture2" ).remove();
         return;
    function noimg3() {
         $( "#shownpicture3" ).remove();
         return;
    function noimg4() {
         $( "#shownpicture4" ).remove();
         return;
    </script>
            <!------------------------------------------------ End of remove picture if not uploaded ------------------------------------------------>
    <div class="slideshow-wrapper slider">
    <div class="preloader"></div>
    <ul data-orbit="data-orbit" data-options="bullets:false;animation:fade;">
        <div style="display: block;" id="shownpicture1">
        <li class="active" style="z-index: 4; margin-left: 0%; opacity: 1;"><img alt="{tag_name_nolink}" onerror="noimg1()" src="{tag_image 1_value}" /></li>
        </div>
        <div style="display: block;" id="shownpicture2">
        <li style="z-index: 2; margin-left: 100%; opacity: 1;" class="active"><img alt="{tag_name_nolink}" onerror="noimg2()" src="{tag_image 2_value}" /></li>
        </div>
        <div style="display: block;" id="shownpicture3">
        <li style="z-index: 2; margin-left: 0%; opacity: 1;" class="active"><img alt="{tag_name_nolink}" onerror="noimg3()" src="{tag_image 3_value}" /></li>
        </div>
        <div style="display: block;" id="shownpicture4">
        <li style="z-index: 2; margin-left: 0%; opacity: 1;" class="active"><img alt="{tag_name_nolink}" onerror="noimg4()" src="{tag_image 4_value}" /></li>
        </div>
    </ul>
    </div>
    <!-- //.slideshow-wrapper -->

    When I put in the code it doesnt work. I went into the page to check and it seems that the preloader changes some elements of the code :
    <div class="slideshow-wrapper slider">
        <div class="preloader"></div>
        <div class="orbit-container">
            <ul class="orbit-slides-container" data-orbit="data-orbit" data-options="bullets:false;animation:fade;" style="height: 26px;">
                <li class="active" style="z-index: 2; margin-left: 100%; opacity: 1;">
                    <img alt="{tag_name_nolink}" onerror="noimg1()" src="">
                    </img>
                </li>
                <li class="active" style="z-index: 2; margin-left: 100%; opacity: 1;">
                    <img alt="{tag_name_nolink}" onerror="noimg2()" src=""></img>
                </li>
                <li class="active" style="z-index: 4; margin-left: 0%; opacity: 1;">
                    <img alt="{tag_name_nolink}" onerror="noimg3()" src=""></img>
                </li>
                <li class="active" style="z-index: 2; margin-left: 100%; opacity: 1;"></li>
            </ul>
            <a class="orbit-prev">
                <span></span>
            </a>
            <a class="orbit-next">
                <span></span>
            </a>
            <div class="orbit-timer paused">
                <span></span>
                <div class="orbit-progress" style="width: 0%;"></div>
            </div>
            <div class="orbit-slide-number">
                <span></span>
                 of
                <span></span>
            </div>
        </div>
    </div>
    I tried putting this into the top of my template layout before the code starts:
    <script>
    $('.slideshow-wrapper slider .orbit-container ul li img').each(function(){
    if( $(this).attr('src') == "" ){
    $(this).parent.remove();
    $('.slideshow-wrapper slider ul li img').each(function(){ 
      if( $(this).attr('src') === '' ){ 
      $(this).parent.remove(); 
    $('.slideshow-wrapper slider ul li img').each(function(){ 
      if( $(this).attr('src') == '' ){ 
      $(this).parent.remove(); 
    </script>
    All 3 variants cannot work. Is there something wrong with the way I do the scripting?

Maybe you are looking for