How to position two buttons on top of div element inside a div container?

Hello!
Good news...
I have created my very first thumbnail slider for my website that actually works!
Bad news...
The buttons that help scroll the div element, which is wrapped inside a center container, are no longer positioned on top of the div.
Here is the html:
<div id="centerContainer">
<div id="aemcSlider">
   <ul>
    <li>
        <a class="aemcPkgBut" href="" target="" alt="AEMC Packaging" title="AEMC Packaging"> </a>
        </li>
        <li>
         <a class="aemcGroundFlexBut" href="" target="" alt="GroundFlexAd" title="GroundFlex Ad"> </a>
         </li>
     <li>
      <a class="aemcClampBut" href="" target="" alt="Clamp-On Ad" title="Clamp-On Ad"> </a>
      </li>
          <li>
          <a class="aemcMetrixBut" href="" target="" alt="Metrix Ad" title="Metrix Ad"> </a>
          </li>
     </ul>
</div>
<div id="leftBut">
<a class="arrowLeft" href="" target="" alt="Left" title="Left"> </a>
</div>
<div id="rightBut">
<a class="arrowRight" href="" target="" alt="Right" title="Right"> </a>
</div>
</div>
Here is the CSS:
Main container:
#centerContainer
{width: 800px; margin: 0 auto; background-color:#0e210e; position:relative}
Div Element:
#aemcSlider
    text-align:center;
    list-style:none;
    width: 450px;
    height: 114px;
    margin: 0 auto;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    top: 67px;
    position: relative;
    overflow: hidden;
#aemcSlider a {margin-right: -12px;}
Left & Right Buttons:
a.arrowLeft
    width: 29px;
    height: 96px;
    float:left;
    position:absolute;
    margin: 0 auto;
    display: block;
    background-image: url(../Images/arrowLeft.png);
    background-repeat: no-repeat;
    left: 311px;
    top: 91px;
    opacity: 0;
a.arrowLeft:hover
background-image: url(../Images/arrowLeft.png);
opacity: 0.5;
a.arrowRight
    width: 29px;
    height: 96px;
    position:absolute;
    float:right;
    margin: 0 auto;
    display: block;
    background-image: url(../Images/arrowRight.png);
    background-repeat: no-repeat;
    opacity: 0;
    left: 720px;
    top: 92px;
a.arrowRight:hover
background-image: url(../Images/arrowRight.png);
opacity: 0.5;
Here are the things I've done to troubleshoot:
If I put the div element as an absolute container, the left button disapears.
I get the same effect when I change the position to relative.
I tried changing the position to relative for both buttons.
I also tried to position the buttons outside the Main Div container and no go.
How can I position the relative div element under these controller button?
Any help would be muchly appreciated.
~LA

OK,
Got the site onto a public web space.
Here sre the links...
http://www.aliciaalmeidagraphicdesigner.com/Work.html
http://www.aliciaalmeidagraphicdesigner.com/style/Body.css
http://www.aliciaalmeidagraphicdesigner.com/js/functions.js
Anyone can help me out, please?
Thanks!
LA
PS: Dissapointed...my website looks much better from my local file than remote

Similar Messages

  • How can i place button on top right hand corner of the tabbed pane

    Hi all,
    i want to place button on top right hand corner of the tabbed pane, just run the code below, i have add button(it going to insert tab into tabbedpane), i want to place that tab into top right hand corner of the tabbedpane (not inside the tab itself). if i set tab policy setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT), it will give two button at right hand corner along with those buttons i want to and one more add button.
    please suggest so that i can move forward.
    Thanks in advance
    import java.awt.Dimension;
    import java.util.HashMap;
    import javax.swing.JPanel;
    import javax.swing.JTabbedPane;
    * @author  Dayananda.BV
    public class TabpaneDemo extends javax.swing.JFrame {
        /** Creates new form TabpaneDemo */
        HashMap<Integer, tabpanel> panelMap = new HashMap<Integer, tabpanel>();
        public TabpaneDemo() {
            initComponents();
            createFloorPlan();
            getContentPane().setPreferredSize(new Dimension(400,400));
            jTabbedPane1.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">                         
        private void initComponents() {
            jTabbedPane1 = new javax.swing.JTabbedPane();
            add_tab_button = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            add_tab_button.setText("+");
            add_tab_button.setMargin(new java.awt.Insets(0, 0, 0, 0));
            add_tab_button.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    add_tab_buttonActionPerformed(evt);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                    .addContainerGap(308, Short.MAX_VALUE)
                    .addComponent(add_tab_button, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(67, 67, 67))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addComponent(add_tab_button)
                    .addGap(8, 8, 8)
                    .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 292, Short.MAX_VALUE))
            pack();
        }// </editor-fold>                       
        private void createFloorPlan(){
            tabpanel floorplan_Panel = new tabpanel(panelMap.size()+1);
            panelMap.put(floorplan_Panel.getTabIndex(), floorplan_Panel);
            jTabbedPane1.add(floorplan_Panel, floorplan_Panel.getTabName());
            jTabbedPane1.setSelectedIndex(jTabbedPane1.getTabCount()-1);
        private void add_tab_buttonActionPerformed(java.awt.event.ActionEvent evt) {                                              
            createFloorPlan();
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new TabpaneDemo().setVisible(true);
        // Variables declaration - do not modify                    
        private javax.swing.JButton add_tab_button;
        private javax.swing.JTabbedPane jTabbedPane1;
        // End of variables declaration                  
        class tabpanel extends JPanel{
            private int tabIndex = 0;
            private String tabName ;
            public tabpanel(int tabIndex) {
                this.tabIndex = tabIndex;
                if(tabIndex >= 10) {
                    tabName = "Floor Map"+tabIndex;
                } else{
                    tabName = "Floor Map"+tabIndex+"  ";
            public int getTabIndex(){
                return tabIndex;
            public String getTabName(){
                return tabName;
    }Thanks
    Dayananda B V

    This part of tabbed pane is not customizable as it lies in the ComponentUI(TabbedpaneUI) portion of the tabbedpane.
    But I can point out the place u can change to bring the desired feature into effect.
    U can find an Inner class called ScrollableTabSupport
    Look for the methods createButtons where u can create extra buttons and add to the tabbed pane.
    The Inner class also implements actionListener where u can implement the action for the button u added.
    By this method U have to use your own extended TabbedPaneUI which u cant escape from.
    Hope this will help u.

  • How to hide "Resfresh" button in top yellow bar of guided procedures?

    Hi Folks
    I would like to remove the "Refresh" button in the top yellow bar of an guided procedures workitem. You get to this yellow bar when you click on an uwl workitem which is associated with guided procedures view. Does anybody know how to hide this button?
    Thanks a lot for helping!!
    Kind regards
    Bettina

    Dear Bettina,
    this will be a feature of NetWeaver CE 7.2.
    Until then it simply is not possible.
    There is one workaround, you can use the SingleTask view of a Process Instance, which however will show ONLY the action itself, without the Process Title, or the Ctx Panel or the Phase Navigator.
    If this works for you, I can guide you how to achieve it.
    Regards,
    George.

  • How to add a button to every group's element in a presentation?

    Hi all!
    I am still a newbie with BPM. Just done the tutorial, a 2-day course and some experiments on my own. So, please, forgive my lack of knowledge.
    I need to add a button to every element of a group in a presentation. You can think this group as a list of invoices and the button linked to another presentation where you will be able to edit attributes of the single invoice. Completed this procedure you could come back to the first presentation where the whole list will be visible. And so on, until the user clicks the end button to confirm changes and exit the screenflow.
    I would like to use only simple presentation (not jsp). I have read about developers who create complex presentation, so I hope there are no limits about this issue.
    Thank you all!
    Luca

    There's no easy way to achieve this. You'll have to provide a RootPaneUI delegate with a custom title pane implementation. There, you'll have to provide a custom layout to position your button. In addition, this approach will not work on look-and-feels that do not support decorated mode (such as Windows or GTK) since under such LAFs the title pane always comes from the OS.

  • How to position a button in Calendar?

    By default in a Calendar Region template, the #PREVIOUS# or #NEXT# regional buttons are on the bottom of the Calendar Region. What I want to do is move these button next to the Month Title.
    For example, #PREVIOUS# September 2009 #NEXT#.
    When I try to position this in the Calendar region, the regional buttons do not show up, but just the character words of "#PREVIOUS# September 2009 #NEXT#".
    Here is what I used to add..
    <td class="t13MonthTitle" class="t13Button">#PREVIOUS# #IMONTH# #YYYY# #NEXT#</td>
    I'm able to move the item buttons in different positions, but not on the Monthly title. It seems the regional buttons can only be position on top or botton of the calendar.
    Any help would be appreciated.
    Rod

    Hi,
    Create a copy of your calendar template, attach this to your calendar and then edit the template. Add in:
    &lt;a href="javascript:doSubmit('PREVIOUS')" class="t13Button" &gt;&amp;lt; Previous&lt;/a&gt;
    and
    &lt;a href="javascript:doSubmit('NEXT')" class="t13Button" &gt;Next &amp;gt;&lt;/a&gt;
    wherever you want the buttons to be.
    On your page, set a Condition of Never for the two actual buttons.
    Andy

  • How To Position Two Regions Side-By-Side

    Hello.
    I am using Apex 4.2.1 with Oracle 11R3 and mod_plsql. The Apex app I created is using Theme 21.
    I've created a classical report one of whose fields is an HTML link.  When this link is clicked, an HTML region appears (it appears only when the link is clicked).  This HTML region contains several form fields users will populate.
    I am trying to get the HTML form region to appear to the immediate right of the report region (with, say, an inch of intervening space between the two regions) but am not having success.  Instead, the HTML form region appears immediately underneath the report.
    I searched this Forum for ideas and saw recommendations about creating a "container" type HTML region which serves as the "parent" for both my report and HTML form regions.  And so, I did this.  My report region has the sequence 10 while my HTML form region has sequence 20.
    I've tried playing with the options within the "Grid Layout" section of the page:
      Start New Grid = "Yes"
      Start New Row = "No"
      New Column    = "Yes"
    I've set the report to "No Template" and did the same for my HTML form region.  Still no help.
    The Display Point for all my regions (the containing HTML region, the report, and the HTML form region) is position "01".
    All to no available.  The HTML form region stubbornly displays under the report region.
    At this point, I want you to know that, though I like building web/database applications using Apex (indeed, I've been using it more than eight years now), there are days (like today) when I wish Apex would act more like FrontPage or DreamWeaver.  I would like to use my mouse to drag a region to a point on the page and have Apex automagically write the appropriate positioning CSS code.  Sigh!
    In any case, would anyone know how to get my HTML form region to appear to the right side of my report region (with an inch or so of intervening space)?
    Any help/tips would be appreciated.
    Thank you.
    Elie

    Hi, Check this
    User Interface
    Template
    Sequence
    Parent Region
    Display Point
    Column
       2
    [Body][Pos.1][Pos.2][Pos.3][Pos.4]
    Change column to 2 in the form region section as above

  • How to add a button in top ribbons of ALL library types (Not just document libraries)?

    Hi there,
    How to add this custom button on all Library Types (Not just document libraries)?
    RegistrationId="101" RegistrationType="List" adds this button to Document Libraries only - which does not work for me.
    Thanks so much.

    Hi,
    According to your post, my understanding is that you wanted to add a custom button on the ribbon of all the library.
    You can refer to the following code snippet, it would add a custom button “Site Settings” on the ribbon of all the libraries.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="ListViewCustomization" Location="CommandUI.Ribbon.ListView" RegistrationId="101" RegistrationType="List" Title="List View Ribbon Customization">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Documents.Share.Controls._children">
    <Button Id="ListViewButton" Command="ListViewButtonCommand" Description="Go to Settings" LabelText="Site Settings" TemplateAlias="o2" Sequence="93"/>
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="ListViewButtonCommand" CommandAction="/_layouts/settings.aspx" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    More reference: http://msdn.microsoft.com/en-us/library/ms473643.aspx
    Thanks & Regards,
    Jason 
    Jason Guo
    TechNet Community Support

  • How to add one button at top of table that creates new rows each time a user clicks on it?

    In the help guide, there is an example of adding buttons to each row - an Add Row and Delete Row button.  I am interested in having one button at the top of the table that can add rows. 

    Hi,
    You can create a table with a header row, where you can place your add button in one of its cells.
    Then you need a script to create a new row in the buttons click event. In a table named 'Table1' with a row named 'Row1' it looks this way:
    Table1._Row1.addInstance()

  • How to seperate two buttons with a vertical  line

    Hi ,
    I am trying to seperate 2 buttons in a regions with a vertical line like Button1 | Button2. I am planning to use an image of vertical line for this.I put the image of a vertical line into the workspace images.How can i display the line between the buttons.Can i use the new"Display image" item for this purpose.Any input on this will be appreciated.
    Tahnks,
    Nav
    Edited by: Navarannan on 07-Sep-2010 05:34

    Yust create a display item between your buttons and put the in the source of that button a pipe:
    |sign.
    In the HTML Form Element Attributes of the display item you may put
    s tyle="font-weigh t:bold;fon t-size:20px"or similar, to influence the layout of the pipe sign.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to switch two buttons at same place?

    Hi everyone,
    I'm changing the GUI of my project. The following is a test program. It want to switch jButton2 and jButton3 at same place when you click jButton1. But it cannot display jButton3. What's problem? Who can help me?
    Thank you very much.
    CODE ----------------------------------------------
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test extends JFrame {
    JPanel jPanel1 = new JPanel();
    JButton jButton1 = new JButton();
    JButton jButton2 = new JButton();
    BorderLayout borderLayout1 = new BorderLayout();
    JButton jButton3 = new JButton();
    public Test() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    jButton1.setText("jButton1");
    jButton1.addActionListener(new Test_jButton1_actionAdapter(this));
    jButton2.setText("jButton2");
    jPanel1.setLayout(borderLayout1);
    jButton3.setText("jButton3");
    jPanel1.add(jButton1, BorderLayout.NORTH);
    jPanel1.add(jButton3, BorderLayout.CENTER);
    jPanel1.add(jButton2, BorderLayout.CENTER);
    getContentPane().add(jPanel1);
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    public static void main(String[] args)
    Test t = new Test();
    t.setSize(100,100);
    t.show();
    void jButton1_actionPerformed(ActionEvent e) {
    if (jButton2.isVisible())
    jButton2.setVisible(false);
    jButton3.setVisible(true);
    else
    jButton3.setVisible(false);
    jButton2.setVisible(true);
    class Test_jButton1_actionAdapter implements java.awt.event.ActionListener {
    Test adaptee;
    Test_jButton1_actionAdapter(Test adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton1_actionPerformed(e);
    }

    Try this:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test extends JFrame {
    JPanel jPanel1 = new JPanel();
    JButton jButton1 = new JButton();
    JButton jButton2 = new JButton();
    BorderLayout borderLayout1 = new BorderLayout();
    public Test() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    jButton1.setText("jButton1");
    jButton1.addActionListener(new Test_jButton1_actionAdapter(this));
    jButton2.setText("jButton2");
    jPanel1.setLayout(borderLayout1);
    jPanel1.add(jButton1, BorderLayout.NORTH);
    jPanel1.add(jButton2, BorderLayout.CENTER);
    getContentPane().add(jPanel1);
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    public static void main(String[] args)
    Test t = new Test();
    t.setSize(100,100);
    t.show();
    void jButton1_actionPerformed(ActionEvent e) {
    if (jButton2.getText().equals("jButton2")) jButton2.setText("jButton3"); else jButton2.setText("jButton2");
    class Test_jButton1_actionAdapter implements java.awt.event.ActionListener {
    Test adaptee;
    Test_jButton1_actionAdapter(Test adaptee) {
    this.adaptee = adaptee;
    public void actionPerformed(ActionEvent e) {
    adaptee.jButton1_actionPerformed(e);
    The idea is to change the appearance of a single button instead of dealing with two separate buttons. If you want the second button to perform different task, you can use the getText() method and check to see whether is says jButton2 or jButton3.
    ;o)
    V.V.
    PS: If this helps, don't for get the Dukes.

  • How to Latch Images to the Top Bar in Elements 8?

    A friend uses Elements 8.  When he puts an image in the editor it floats originally.  He can attach it to the top bar manually, but he would like images to attach to the top bar when initially put in the editor.  How does he make it do that?

    Under edit>Preferences>General uncheck allow floating documents in full edit mode

  • Button on top of another button

    Hello,
    I'm trying to create a dropdown menu and I hope someone can help. I created two buttons, the first has the main menu and dropdown graphic and the second has the menu text with a rollover.
    The problem I'm facing is when the dropdown displays and I rollover the menu text the dropdown goes away.
    Any input on how to put a button on top of another would help.
    Thanks,
    Jason

    Try converting both your buttons into a single custom component. You can then give the component two states - one where the dropdown is hidden, and the other where it's visible. Once this is done, you can use the interactions HUD to show the dropdown when you roll over the component and hide the dropdown when you roll out.
    Here are the basic steps:
    1. Select you buttons.
    2. In the HUD, choose Convert to Component > Custom / Generic Component.
    3. Double click on the new component to edit it.
    4. Duplicate the state, and make the changes in each state so that the dropdown is only visible in one state. You might want to also rename the states (double click their names in the states panel).
    5. Double click outside the component to leave edit in place.
    6. With your component selected, set up interactions to transition between the two states on roll over / roll out.
    7. Run your project and check that it works.
    Once you've done this, you can tweak the transition between the two states in the timelines panel.

  • Two buttons in Adobe Form

    Hello,
    I am using Netweaver 2004s SP10. Does any body know how to incorporate two buttons in a Adobe Interactive Form. I want to insert approve button and reject button with different actions for each button.
    Moreover, How can we remove the toolbar buttons in the adobe form at runtime. since they occupy a major portion of area. How to reomve the print, save, all these buttons.
    Thanks, any help is appreciated.
    Sunita.

    hi Sunita,
    as far as i have seen it...
    we have two types of buttons that are accesible in WebDynpro.
    GOTO interactive form->edit->Library tab->web dynpro tab
    1).Submit to SAP and 2).Check.
    these two buttons and their corresponding events and actions are available in Web Dynpro when the form is available online(ONLINE scenario).
    you can change the text on these buttons to ur requirement like "APPROVE" or "REJECT" in the form editor.
    now these two buttons in the form will just act like buttons in Web Dynpro layout.
    in the properties of the interactive form you can see events for these....
    now you can go to implementation and write as desired code.
    the code for rejecting and approving the form...
    (You must be knowing that the contents of the form are available in the ONLINE scenario in the corresponding CONTEXT attributes of the form for use in dynpro
    ie when online you can modify the contents of the Form by working on dynpro Context attributes like getAttribute(), or setAttribute(). )
    regards,
    -amol gupta

  • How do I position menu buttons individually?

    I'm new to Muse and I'm working on a header for my website.  I have our company's logo in the middle as part of the header, so I'm trying to position the menu buttons around the logo.  Right now, one of the buttons overlaps the logo and I cannot figure out how to push that button over to the other side so it doesn't block the logo (Please see attached screenshot).
    Can someone please help?
    Thanks!
    Cody

    One possible way is to have the center button be "home" and then Arrange your logo to the top of the layer so it hides it.
    See: http://www.youtube.com/watch?v=MBKL2hCIj_U

  • I tried changing my password, and it changed to one that wasnt it, and i dont know it. So i tried it too many times and now its saying it is disabled, connect to itunes. but a problem is that my power button on top is broken. how to i fix it?

    I tried changing my password, and it changed to one that wasnt it, and i dont know it. So i tried it too many times and now its saying it is disabled, connect to itunes. but a problem is that my power button on top is broken. how to i fix it?

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

Maybe you are looking for

  • Enterprise service for Approving/Rejecting Time sheets

    Hi All, I am searching for the Enterprise service regarding "Approving / Rejecting Employee timesheet by Manager", i am able to find the Approve/Reject leave request but not the time sheet. could any one please help me in finding these services regar

  • Question about RAR files...

    Can the OS extract RAR files on it's own? I can't, I need to use whatever program is available. A friend of mine says his OSX 10.4 does. I can't find that would do it in the OS. My .zip files are associated with BOMArchiveHelper. Would I have to asso

  • Multi track adio possible in media encoder, Premier or AE?

    Putting together a sequence of videos for a client I created in After Effects. i've rendered the video, and normally I would use either premier, or After Effects (default choice sicne that's what I normally work in) to add a soundtrack after a final

  • Appleworks with Snow Leopard

    I still use Appleworks for my business database. Will it work with Snow Leopard?

  • What event does LoginProcess generates?

    I have a login portlet. After a user successfully logged in, a different jsp page--Home.jsp need to be displayed in the login portlet. I am using the same webflow as the sampleportal. When the security webflow reached the LoginProcess Input Processor