Horizontal divs

Have a page with a menu bar on the bottom using 3 horizontal divs on top of 7 horizontal divs. Have them positioned center on a 1024px width page. The top three all float left and all have left margins. The same is true for the bottom 7. Each div is a link.
The difficulty I am having is the spacing of both bars. The top two on the left are where I want them to be. Tried a margin-left: 70px for the third from left and it jumps to the second line. The largest number is margin-left: 26px.
The bottom menu items have no spaces between them. However, to center all I would like margin-left: 114px for the left most div. Once again the is no number that works to get the last div on the same row.
The page in question is: http://kellymaglia.com/test/links.html
This is the first page with all divs. When this works out all(?) of the tables will be converted.
Thanks.

Okay, I'm back. New theory: float the Facebook to the right and allow the rest of the content (before the navigation) to flow up to the left:
#links_pic     { }
#facebook {float: right;margin-top: 72px;margin-right: 20px;}
#kmphoto     {margin-top: 26px;}
#abennett {margin-top: 42px;}
#bespun     {margin-top: 42px;}
#upartists     {margin-top: 46px;}
#menubar     {width: 838px;margin: 25px auto 0;}
/*large menu*/
#couture     {width: 220px;float: left;}
#dancewear     {width: 286px;float: left;margin-left: 60px;}
#theatre     {width: 200px;float: left;margin-left: 60px;}
/*small menu items*/
#menuitems {width: 816px;margin: 0 auto;}
#shop     {float: left;width: 91px;}
#noslip     {width: 114px;float: left;}
#contact     {width: 136px;float: left;}
#home     {float: left;width: 124px;}
#faq     {float: left;width: 104px;}
#policies     {float: left;width: 124px;}
#links     {width: 103px;float: left;}
.clear {clear: both;}
BASIC CONSTRUCTION ORDER:
#container. Notice that I have added overflow: hidden; to the rule definition. This will force the background of #container to enclose all the menubar divs.
#links_pic (as now)
#facebook. Notice that it now floats to the right with a top and a right margin. Using a negative positioning as you had breaks in several browsers. Better to insert Facebook first and let the other content flow up to its left.
#kmphoto. Notice that it only has a margin-top and does not float, because it does not need to.
#abennett. Same
#bespun. Same
#upartists. Same
#menubar. Added to your margin-top: 25px; is margin-left and margin-right: auto (expressed margin: 25px auto 0;)
#couture. Now floats left with no additional margin-left.
#dancewear. Floats left with a margin-left
#theatre. Floats left with a margin-left
.clear only clears items on both sides and keeps the smaller menuitems from moving up into the large item menu
#menuitems. Width 816px; margin: 0 auto; centers inside parent element (#container).
items here; they have width and float: left;
Here's a wireframe of the html:
     <DIV id="container">
          <DIV id="links_pic">image</DIV><!--end links_pic-->
      <DIV id="facebook">
                 <!-- Facebook Badge START -->facebook badge<!-- Facebook Badge END -->
      </DIV><!--end facebaook--> 
  <DIV id="kmphoto">image/link</DIV>
          <DIV id="abennett">image/link</DIV>
        <DIV id="bespun">image/link</DIV>
      <DIV id="upartists">image/link</DIV>
<DIV id="menubar">
             <DIV id="couture">image/link</DIV>
            <DIV id="dancewear">image/link</DIV>
            <DIV id="theatre">image/link</DIV>
            </DIV><!--end menubar-->
        <div class="clear"></div>
<DIV id="menuitems">
            <DIV id="shop">image/link</DIV>
            <DIV id="noslip">image/link</DIV>
            <DIV id="contact">image/link</DIV>
            <DIV id="home">image/link</DIV>
            <DIV id="faq">image/link</DIV>
            <DIV id="policies">image/link</DIV>
            <DIV id="links">image/links</DIV>
            </DIV><!--end menuitems-->
</DIV><!--end container-->
Beth

Similar Messages

  • Problem with an extra horizontal div in gallery demo

    I posted my problem as a comment in
    A
    thread on a similar 3 col problem
    But I'm posting a new topic on my specific problem.
    I cannot add another HORIZONTAL div to my gallery, and have
    if function as intended.
    See
    http://www.coolabah.com/spry/demos/gallery/
    The very bottom panel is set up as 15px high. But it takes up
    much more in height. Doesn't matter WHERE I put it, or if I alter
    the height.

    Please note,
    Removing I investigated spry a little more, in the end I settled for removing spry altogether,
    Maybe it was because the text field in a $GET (for the default) AND a $PUT (for the update)

  • Horizontal DIV Scroll: Safari vs iPhone

    I need some help ASAP!
    I coded a very basic website with a horizontal scroll. It works beautifully on Safari, Chrome, Firefox, etc. But for some reason, I can't scroll past about 1400px on any give page in the site with my iPhone, at which point, the browser simply cuts off the last image. In fact, the scroll bar doesn't even appear on the iPhone. And it drops one of my navigation images to the line below it (which has nothing really to do with the scroll problem, just also buggy).
    I looked through my CSS files to make sure I had not specified a fixed width as well; no luck. I don't want to use Flash, obviously, because the purpose of the site is to be simple and accessible from a smart phone.
    This is the code I used:
    div class="scroll"
    img src="../images/wishbone_logo.jpg"
    img src="../images/wishbone_plate.jpg"
    img src="../images/wishbonecuttingboard.jpg"
    img src="../images/wishbone_placemat.jpg"
    /div
    Can anyone help?! I need to get this figured out so that I can use the same code for a client's website.
    Thanks!

    Touch devices use 2-finger scrolling. If you'd like to do a 1-finger scroll, that's certainly possible, but you're going to have to write the appropriate stub of Javascript to handle the associated touch events.

  • Divs are shifting after inserting spry menu bar

    I have tried so much that it has driven me crazy. Initailly I created this site by APdivs and it came out perfect and worked great, except it was not fluid and looked bad on bigger browser and screen size. I decided to change it to fluid way. Now I am in bad shape as soon as I put a horizontal spry menu bar. it shifts the columns to the left and leaves a blank space next to the column 3. I am out of idea, how to fix it. As soon as I take the menu bar out, it works perfect. and columns are stretched to the end on both sides.
    Here is the link of test page
    www.hpbsurgery.net
    This is what I have tried-nothing worked
    put menu bar in container
    put menu bar in header div
    Put mebu bar in a horizontal div inside header div.
    changed the size and dimension of menu bar
    Any help would be greatly appreciated as I am running out of time.
    Thanks much all....

    Thanks very much for your help. I just wanted to mention one thing which I discovered this am by accident out of frustration. Originally, I was trying to control the size of the 3 columns with external CSS and it was messing up after inserting menu bar. I wrote directly in the code this am to exactly define the size besides in my CSS. AND............it fixed the problem and stretched the columns to the end on both side and sizes were appropriate, I am still not sure why did it happen.
    I am not a professional and trying to build my own site as I have interest in web design, but this is first time with DW.
    I really appreciate your help and suggestion about the code.
    Thanks a lot, 
    Date: Wed, 26 Sep 2012 12:46:19 -0600
    From: [email protected]
    To: [email protected]
    Subject: Divs are shifting after inserting spry menu bar 
        Re: Divs are shifting after inserting spry menu bar 
        created by Nancy O. in Dreamweaver General - View the full discussion 
    You appear confused about how to use CSS classes and IDs.  Classes (.className) can be used multiple times in layouts as for re-usable styles.  IDs (#IDName) can be used only one time per page -- as for layout regions or when JavaScript is needed to act upon it.  Try copying and pasting this code into a new blank page.  Hopefully it will make more sense than what you have now. 
    <!NEW LAYOUT> 
    body  
    #header
    #horizontalmenu {
    min-height: 43px;
    width: 100%;
    overflow: hidden;
    margin: 0px;
    #leftbar {
    background-color: aqua;
    float:left;
    width: 18%; /*combined width and padding = 22%*/
    padding:2%;
    #middlebar {
    background-color: white;
    float:left;
    width: 52%; /*combined width and padding = 56%*/
    padding:2%;
    #rightbar    {
    background-color: green;
    color:white;
    float:right;
    width: 18%; /*combined width and padding = 22%*/
    padding:2%;
    #credential
    #footer {
    background-color: maroon;
    width: 100%;
    color:white;
    padding:2%;
    #header
    [Item 2 | #]
    [Item 3 | #]
    [Item 3.1 | #]
    [Item 3.1.1 | #]
    [Item 3.1.2 | #]
    [Item 3.2 | #]
    [Item 3.3 | #]
    [Item 4 | #]
    <!END #HEADER>
    #leftbar
    #middlebar
    #rightbar
    #credential
    #footer
      Nancy O. 
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4729585#4729585
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4729585#4729585
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4729585#4729585. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Table Scrollbar doesn't initially appear.

    I have a jsf page that show an af_table. (inside panel box wich is inside two panel groups,
    The table displays up to 20 records. Currently it retrieves some 23 o 24 records.
    When the application is initially loaded (that table appears in the first screen), the table displays the 20 records but the scroll bar is not displayed. After navigating to another screen and returning to the table page, the scroll bar displays ok. If I reload the first page in the browser, the scroll bar also appears.
    Any idea ?

    The panelbox is only for esthetic purposes.
    Before annexing the page code I have made some changes to isolate the table. Previously the table was inside the panel box but not now.
    The problem continues reproducing but a little different.
    Now, when you executes the page the scroll bar does appear and also the first 20 records (before the scroll bar didn't appear the first time). If you click the scroll bar to the botton, the records scroll up but not till last record. Still some records remain hidden in the bottom of the table. To try to view these records you have to click on the last viewable record and hit the down arrow key several times. You can detect that there are some records hidden under the botton side of the table but they never scroll up.
    If you finally click on button "Nueva" and the return to this page, then everything is ok.
    This is the page code:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <af:table value="#{bindings.SesionesInformativasAdfView1.collectionModel}"
                var="row" rows="#{bindings.SesionesInformativasAdfView1.rangeSize}"
                emptyText="#{bindings.SesionesInformativasAdfView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                fetchSize="#{bindings.SesionesInformativasAdfView1.rangeSize}"
                rowBandingInterval="1"
                filterModel="#{bindings.SesionesInformativasAdfView1Query.queryDescriptor}"
                queryListener="#{bindings.SesionesInformativasAdfView1Query.processQuery}"
                filterVisible="true" varStatus="vs"
                selectedRowKeys="#{bindings.SesionesInformativasAdfView1.collectionModel.selectedRow}"
                selectionListener="#{bindings.SesionesInformativasAdfView1.collectionModel.makeCurrent}"
                rowSelection="single" inlineStyle="height:475px;"
                binding="#{backingBeanScope.backing_index.t1}" id="t1"
                styleClass="AFStretchWidth" columnStretching="multiple">
        <af:column headerText="Fecha Sesión" id="c3" filterable="true" width="95"
                   sortProperty="FechaSesTrunc" sortable="true">
          <f:facet name="filter">
            <af:group id="g2">
              <af:inputDate value="#{vs.filterCriteria.FechaSesTrunc}" id="id1"
                            autoSubmit="true"/>
            </af:group>
          </f:facet>
          <div align="center">
            <af:outputText value="#{row.FechaSesTrunc}" id="ot4">
              <af:convertDateTime pattern="#{bindings.SesionesInformativasAdfView1.hints.FechaSesTrunc.format}"/>
            </af:outputText>
          </div>
        </af:column>
        <af:column sortProperty="TituloEsp" sortable="true" headerText="Descripción"
                   id="c1" filterFeatures="caseInsensitive" width="70%"
                   filterable="true">
          <af:outputText value="#{row.TituloEsp}" id="ot1"/>
        </af:column>
        <af:column sortProperty="Estado" filterable="true" sortable="true"
                   headerText="Estado" id="c4" width="130">
          <f:facet name="filter">
            <af:selectOneChoice id="soc1" autoSubmit="true"
                                value="#{vs.filterCriteria.Estado}">
              <af:selectItem label="Pendiente publicar" value="Pendiente publicar"
                             id="si3"/>
              <af:selectItem label="Publicada" value="Publicada" id="si1"/>
              <af:selectItem label="Fecha pasada" value="Fecha pasada" id="si2"/>
              <af:selectItem label="" id="si4"/>
            </af:selectOneChoice>
          </f:facet>
          <div align="center">
            <af:outputText value="#{row.Estado}" id="ot3"/>
          </div>
        </af:column>
        <af:column id="c5" headerText="Acciones" align="center" width="60">
          <af:panelGroupLayout id="pgl3">
            <af:commandImageLink id="cil2"
                                 icon="/imagenes/8ebdd271-fd18-4eb0-873b-5f717e4c0879.png"
                                 action="editarDetalle"/>
            <af:commandImageLink disabled="#{!bindings.Delete.enabled}" id="cil1"
                                 icon="/imagenes/6fd2781f-54d1-4a84-b09c-c84f006ba13c.png"
                                 action="#{backingBeanScope.backing_index.borrar_registro}">
              <af:showPopupBehavior popupId="::p1" align="afterEnd" alignId="cil1"/>
            </af:commandImageLink>
          </af:panelGroupLayout>
        </af:column>
      </af:table>
      <af:group id="g3">
        <af:panelGroupLayout id="pgl5" layout="scroll">
          <af:spacer width="10" height="10" id="s2"/>
          <af:panelBox text="Tabla de gestión de Sesiones Informativas" id="pb1">
            <f:facet name="toolbar">
              <af:group id="g1">
                <af:commandImageLink text="Nueva" id="cil3"
                                     icon="http://itemsweb.esade.edu/apps/img/add.png"
                                     action="nuevaSesion"/>
              </af:group>
            </f:facet>
            <af:panelGroupLayout id="pgl1" layout="scroll"/>
          </af:panelBox>
        </af:panelGroupLayout>
        <af:spacer width="10" height="10" id="s1"/>
        <af:popup id="p1">
          <div align="center">
            <af:panelGroupLayout id="pgl6" layout="vertical">
              <af:outputText value="¿ Está seguro que desea eliminar el registro ?"
                             id="ot2"/>
              <af:spacer width="10" height="10" id="s3"/>
              <af:panelGroupLayout id="pgl7" layout="horizontal">
                <div align="center">
                  <af:commandImageLink text="Si" id="cil4"
                                       action="#{backingBeanScope.backing_index.borrar_registro}"/><af:spacer width="10"
                                                                                                              height="10"
                                                                                                              id="s4"/><af:commandImageLink text="No"
                                                                                                                                            id="cil5"/>
                </div>
              </af:panelGroupLayout>
            </af:panelGroupLayout>
          </div>
        </af:popup>
      </af:group>
      <!--oracle-jdev-comment:preferred-managed-bean-name:backing_index-->
    </jsp:root>

  • APEX Theme 25 - Responsive Grid Layout Question

    Hi
    What is the best way to control an item to be positioned right next to the other item on the same row.
    I have a select list that I would like to have an edit button right next to it.
    I created two items for example:
    P_MY_SELECT_LIST Grid set New Line to Yes, Auto
    P_MY_EDIT_LINK Grid set New Line to No, Auto
    But it is not doing what I expected.. what am I missing?
    When it was tables not divs I had no trouble but now I need to learn the kep to using the Grid.
    When I hard code the edit in the Post Element of the item it works great with 2 spaces... but I can't control the item by the AUTH Scheme. I don't want them to show up unless you have the proper role.
    Plus, I want to learn the new 4.2 way!
    Thanks, Bill

    Hi Scott, Bill,
    Because Theme 25 relies on grid for most of it's positioning, it is difficult to do accomplish what was sometimes much simpler when using the tables approach for form layouts. This also happens to be one of the biggest issues with Theme 25: proper form and label positioning.
    If we look back to using tables for form layout we would see that a structure would be created immediately when we started laying out items. Because of the way tables behave, whatever the size of your first label was controlled the width of that cell, and the cells below it. Meaning all of your labels would line up, but only take the space necessary to fit your label.
    However, with a div-based grid, this is no longer possible. There is no structured set of cells that grow / contract together as there are in tables. Because of this, it is difficult to determine the width of a given container and apply that same width to others (for example, picking up your largest label, and applying the width of that label container to the other labels which are below).
    One way to go around this problem, and what we've done in Theme 25, is to used fixed-width labels. So we explicitly set the width of labels, and that makes the layout much more predictable. We know that labels will always be a certain width, and that input fields that follow will begin from the same position. However, this is very different from how forms in tables work:
    1. All labels are the same size, so even if a label is very small, or very large, it will take the same space.
    2. We can no longer align two items be right next to each other without using grids.
    3. When using grids, we have to be mindful of the label's fixed width as it can be larger than the column it is contained in.
    We're working on a cleaner approach to this problem so creating responsive applications and laying form items is easier than it currently is. In the meantime, you can override several styles to help your particular use case.
    Here are just a few styles you can apply to your page to get form alignment to behave (with a specified region static id):
    1. Manually setting the widths of labels for a given region:
    #my_region div.fieldContainer.horizontal>label {
        width: 80px;
    #my_region div.fieldContainer.horizontal div.fieldControls {
        /* width above + 16px spacing */
        margin-left: 96px;
    2. Set Label widths to only take up the space they need:
    #my_region div.fieldContainer.horizontal>label {
        float: none;
        width: auto;
    #my_region div.fieldContainer.horizontal div.fieldControls {
        margin-left: 0;
        display: inline-block;
    3. You can allow fields to float left:
    a. Add to your inline CSS:
    #my_region div.fieldContainer {float: left;}b. Set grid layout attributes for your second item as follows:
    Start New Row: No
    Column: Automatic
    New Column: NoYou can combine these together as well. For example, applying styles #2 and #3 will let you position elements side by side and immediately after each other.
    Scott,
    For some of your issues in particular, here are some possible ways to go around them:
    1. Password field being cut off
    In addition to setting the size of the field to 60, you can apply an inline style to control the width by setting the HTML Form Element Attributes field to:
    style="max-width: 100%;"This will restrict the size of input field to be a maximum of 100% of it's container, and should no longer be hidden when your window is resized.
    2. Customer Report obscured
    You can add an inline style to your page header to set this region's content to scroll. For example giving it a static id of my_region and adding the following to your page's inline css field:
    #my_region section.uRegion>div.uRegionContent {overflow: auto;} Hope this helps!
    Shakeeb

  • Vertical Alignment and Loading

    Two questions. I've just uploaded a client's site as a
    sub-folder of my own in order to test it out.
    www.rebeccapike.co.uk/home.html
    I want to know how to center the page horizontally having
    used <div> tags and placed everything within a base layer.
    I'm sure this is done in the properties inspector somewhere but I
    can't work it out.
    Secondly, some of the pages don't seem to be loading when you
    link to them. For example if you go to the main menu
    (www.rebeccapike.co.uk/menu.html) and click the "photographie"
    link, the page only seems to load after clicking refresh a few
    times... could someone tell me why?
    Thanks very much in advance.
    Rebecca

    Okay - you're really not making much sense here. Your subject
    reads
    "Vertical Alignment and Loading" and yet you're asking about
    horizontal
    alignment, so - which is it?
    Horizontal: <div style="margin: 0 auto">...</div>
    Vertical + Horizontal:
    http://www.apptools.com/examples/tableheight.php
    Also - I have no problems loading the "Photographie" link in
    both Firefox
    1.5.04 and IE6 on Windows XP - they both load instantly with
    one click.
    BTW: That is an incorrect spelling of the word, photography -
    but I assumed
    or *hoped* you already knew that.
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "rfkarchitects" <[email protected]> wrote in
    message
    news:e5psma$ae8$[email protected]..
    > Two questions. I've just uploaded a client's site as a
    sub-folder of my
    > own in
    > order to test it out.
    >
    > www.rebeccapike.co.uk/home.html
    >
    > I want to know how to center the page horizontally
    having used <div> tags
    > and
    > placed everything within a base layer. I'm sure this is
    done in the
    > properties
    > inspector somewhere but I can't work it out.
    >
    > Secondly, some of the pages don't seem to be loading
    when you link to
    > them.
    > For example if you go to the main menu
    (www.rebeccapike.co.uk/menu.html)
    > and
    > click the "photographie" link, the page only seems to
    load after clicking
    > refresh a few times... could someone tell me why?
    >
    > Thanks very much in advance.
    >
    > Rebecca
    >

  • Inline Element Styles not in DW HTML...

    I have been trying to use a jquery horizontal menu which I downloaded and have successfully implemented it into my dreamweaver page.
    But I want to adjust the width and height of the actual links <a> tags but the CSS will not allow me to do it
    I notice that when I view source in the browser there is a div class "holder horizontal" attached to each menu item, <a> tag and it has inline style for width and height - but it isn't in the HTML page.
    I've checked the jquery file and cannot find any sign of a width or height style for a "holder horizontal" div
    I want to know where these inline element styles are which are controlling the width and height of the menu so I can edit them...
    Please can someone help me with this as I have reached a brick wall and cannot get anywhere further…
    Many thanks in advance..
    Cammy

    Heres the HTML of my DW page and screenshot of the page in browser...
    <div class="container">
      <div id="CS5Icons"><img src="images/CS55icons.png" width="199" height="37" alt="cs5 icons" /></div>
      <div id="followme"><img src="images/socmedicons.png" width="188" height="37" alt="facebook" />
      <!-- end .followme -->
      </div>
      <div id="menu-wrap">
    <div class="menu-horizontal">
    <a href="#" class="active">Home</a>
    <a href="#">Portfolio</a>
    <a href="#">About me</a>
                                            <a href="#">Contact</a>
    </div>
                                    </div>

  • Jquery conflicts

    Hi can anyone help or give me some advice here? I have a jquery menu which works on its own and I have a jquery fancybox which again works on its own. When I tried them both on my webpage they seem to conflict. I have placed the scripts at the bottom of the body tag. Whichever script is first it doesn't work.
    My site is temporarily hosted here: http://www.heggie5.webspace.virginmedia.com/#
    As you can see the menu script is working but the fancybox isn't. Can anyone help as I've been trying to resolve this for a couple of days and can't find a solution!
    Here is my HTML
    <!-- end .container --></div>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type="text/javascript" src="fancyapps-fancyBox-2bb0da9/source/jquery.fancybox.pack.js"></script>
    <link type="text/css" rel="stylesheet" href="fancyapps-fancyBox-2bb0da9/source/jquery.fancybox.css" />
    <script type="text/javascript">
              $(document).ready(function() {
                        $(".fancybox").fancybox();
    </script>
    <script>
    var $jq = jQuery.noConflict();
    </script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js">
    </script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
    <script type="text/javascript" src="jQuery Sliding Flexible Menu v2/deploy/js/jquery.sliding-flexible-menu-v2.js"></script>
    <link rel="stylesheet" type="text/css" href="jQuery Sliding Flexible Menu v2/deploy/css/sliding-flexible-menu-v2.css"/>
    <script type="text/javascript">
    $(document).ready(function() {
                                            //Horizontal
                                            $("div.menu-horizontal").slidingFlexibleMenuv2({
                                                      buttonSpacing: 1
                                  </script>
    </body>
    </html>

    Many thanks to David_Powers and Nancy O. I took your advice and altered my code to the following and it now works a treat. I doth my cyber cap to your genius...
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
    <script type="text/javascript" src="jQuery Sliding Flexible Menu v2/deploy/js/jquery.sliding-flexible-menu-v2.js"></script>
    <link rel="stylesheet" type="text/css" href="jQuery Sliding Flexible Menu v2/deploy/css/sliding-flexible-menu-v2.css"/>
    <script type="text/javascript">
    $(document).ready(function() {
            //Horizontal
            $("div.menu-horizontal").slidingFlexibleMenuv2({
                     buttonSpacing: 1
            $(".fancybox").fancybox();
    </script>
    <script type="text/javascript" src="fancyapps-fancyBox-2bb0da9/source/jquery.fancybox.pack.js"></script>
    <link type="text/css" rel="stylesheet" href="fancyapps-fancyBox-2bb0da9/source/jquery.fancybox.css" />

  • Multiple Level Sub Catalogs

    I am setting up an online store with many catalogs and each catalog has several layers of sub catalogs.
    Only the deepest level of catalogs has products. e.g. Automotive Locks /GMH/Parts And Accessories, where only the "Parts and Accessories" has products in it.
    The ""GMH" sub catlog also has a number of subcatalogs under it.
    When I render the top level catalog on a web page, and click on the second level sub catalog, it does not show the 3rd level sub catalogs...it just show a message "This catalog has no products".
    How can you get the 2nd level sub catalog to display the 3rd level sub catalogs within it?

    Hi Mario,
    I have set up one page for you to look at: http://locksuppliescomau.businesscatalyst.com/locksupplies-keys?Preview=True
    When I do not use any template, the catalogs all render into the various levels correctly ( and without a template it looks terrible). When I apply ANY template, including the original untouched template, they do not render at all as you can see. There is the top level list of catalogs, and when you click on any top level catalogue, the next page renders with no sub catalogs...
    I have checked the overall layout, and it does have {tag_cataloguelist} as the code below shows..I have even added it a second time to see what happens.
    <div class="main-panel">
    <div class="breadcrumbs">
    {module_breadcrumbs,<span>&gt;&gt;</span>}
    </div>
    </div>
    <div class="shop-main clear">
    <div class="header clear">
    <div class="cart-summary">{module_shoppingcartsummary,horizontal}</div>
    </div>
    <div class="body clear">{tag_cataloguelist,4} {tag_productlist,3,,6,,,true} </div>
    <div class="paging">
    <div class="footer clear">
    <div class="previous-holder">{tag_previouspage,<img alt="" src="/images/gpPrev.jpg" />}</div>
    <div class="next-holder">{tag_nextpage,<img alt="" src="/images/gpNext.jpg" />}</div>
    <div class="pagination-holder">{tag_pagination}</div>
    <div class="pagination-holder"><br />
    </div>
    <div class="pagination-holder">{tag_cataloguelist}<br />
    </div>
    </div>
    </div>
    </div>
    Thanks,
    Glen.

  • Centering Flash content

    I'm a real novice with Flash so my question is probably a
    little basic but here it is.
    When I upload my site (all flash) to my server and then look
    at it in a browser - the body of the page is flush left and not
    centered. So even when I expand my window it stays flush left. How
    do I change that so that it is centered?

    wrap this around your embed script (this will center
    vertically and horizontally)
    <div style="position: absolute; top: 50%;display:
    table-cell; vertical-align: middle; text-align: center; width:
    100%; padding: 0;">
    </div>

  • Problem with Flash Centering

    Hello, I am somewhat new to Flash. I have a reference book
    that doesn't detail what to do if the SWF and HTML file is not
    centered in the middle of the screen. It only gives me the option
    of top, bottom,left, or right. Is there a way to center the viewing
    area? Or should I make my work area a different size? Right now it
    is 900x540 pixels to accomodate smaller monitors.
    Help please!

    place your object tag in this, it will center it vertically
    and horizontally
    <div style="position: absolute; top: 50%;display:
    table-cell; vertical-align: middle; text-align: center; width:
    100%; padding: 0;">
    </div>

  • W3C Validator Errors

    Hi all,
    I'm going through my website code and trying to fix any validation errors that are being flagged. See the following:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.whsfirstaidkits.com.au%2F&charset=%28de tect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fv alidator.w3.org%2Fservices
    It is for the website http://www.whsfirstaidkits.com.au
    The 4 errors relate to the shopping cart summary module that I have within my code. I am using the following: <div class="shopping-cart">{module_shoppingcartsummary,horizontal}</div> and BC converts that to: <div class="shopping-cart"><span id="catCartSummary" quote="False" vertical="False"><table cellspacing="0"  class="cartSummaryTable"><tr><td class="cartSummaryItem">Shopping cart is empty.</td></tr></table></span></div>
    Now the validator says that it is producing the following errors:
    Attribute quote not allowed on element span at this point.
    Attribute vertical not allowed on element span at this point.
    Element table not allowed as child of element span in this context. (Suppressing further errors from this subtree.)
    The cellspacing attribute on the table element is obsolete. Use CSS instead.
    Since BC generates this code automatically, is there a way to fix this?
    Cheers,
    Jordan

    Same Here!
    I have the same issue on a site I'm currently doing W3C checks for.
    I tried changing document type to HTML5 from XHTML Transitional, but W3C checks failed on the same things regarding the .{module_shoppingcartsummary}
    For comparison, I tested the Appliance King template for a page with the same shopping cart summary;
    http://appliance-king-preview.businesscatalyst.com/lcd-tv
    It too found the same W3C errors.

  • Swf not centered

    OK now I have another issue....., when you first load the website, the centre cube swf file starts on the right hand side of the screen and not in the centre.
    When the swf animation finishes then it switches back to the centre.
    I dont suppose anyone knows why this is?
    Thx
    Arvind!

    place your object tag in this, it will center it vertically
    and horizontally
    <div style="position: absolute; top: 50%;display:
    table-cell; vertical-align: middle; text-align: center; width:
    100%; padding: 0;">
    </div>

  • How do I center a slideshow containing various width images?

    Hello.  I have slideshows on my website that are centered as I like them to be.  But when I click on the thumbnail images that serve as links to open a page containing a slideshow, the image first appears at the left side of the page then quickly moves to the center.  The slideshows contain images of various widths.  I would like that the image appear in the center only.  In the stylesheet, the slideshow styling has the following information...
    .cycle-slideshow {
        width: auto;
        max-height: 650px;
        background: #333;
        margin-bottom: 20px;
        z-index: 50;
    .cycle-slideshow img {
        width: 0 auto;
        max-height: 610px;
        padding-top: 50px;
        opacity: 0;
        filter: alpha(opacity=0);
    In the html code, the head section contains the javascript:
    <script type="text/javascript" src="assets/jquery.cycle2.center.js"></script>
    In the html code, the body section contains the following information for centering horizontally:
    <div class="cycle-slideshow"
        data-cycle-fx=fade
        data-cycle-timeout=0
        data-cycle-caption="#alt-caption"
        data-cycle-caption-template="{{alt}}"
             data-cycle-auto-height=container
          data-cycle-center-horz=true
        data-cycle-center-vert=false>
    My first thought was that the movement was due to the width of the slideshow being too wide.  But adjusting the width according to the widest image didn't work.  The widest image is 772px.  I tried other selectors but they didn't work either.  I would appreciate having your advice.  Thank you very much.

    Hello Nancy 0,
    Thank you for the information.  I didn't know that about the position and z-index.  I made the changes to the css as suggested.  But no change happened.  So I  tried changing the following in my html code so that it would be the same as malsup's sample for comparison...
    data-cycle-fx=fade  to scrollHorz   
    data-cycle-timeout=0  to 2000
    The first image slide still loaded from the left and then centered on the page. Then the image slides scrolled along the page from right to left.  I then saw that Malsup has the example showing towards the bottom of its webpage.  After decreasing the window size, I saw that the first image appears very quickly from the lower left and then to the center as does mine except on a smaller scale.  I've come to the conclusion that this is a normal action for the javascipt function.  But would it be too much to ask if this could be less noticeable?   Also, when I made the changes to my slideshow to scroll, I noticed that as the image slides scrolled out of the slideshow, they extended beyond the slideshow border and even the container div.  I notice that this doesn't happen in the malsup example.  Malsup's image slides are not visible beyond the edge of the background color.  How can I have my slideshow images stop at the edge of the slideshow background color also?  I greatly appreciate your advice.  Thank you very much.
    Noradc

Maybe you are looking for