How do I set my side column width & height - Help ?

Please see my website I am building using a Dreamweaver template  - it has a spry accordian menu in the right column - I am not skilled enough to understand how to set the height and width of this column   Can someone help?

Here is spry css:
* SpryAccordion.css - Revision: Spry Preview Release 1.4 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
/* This is the selector for the main Accordion container. For our default style,
* we draw borders on the left, right, and bottom. The top border of the Accordion
* will be rendered by the first AccordionPanelTab which never moves.
* If you want to constrain the width of the Accordion widget, set a width on
* the Accordion container. By default, our accordion expands horizontally to fill
* up available space.
* The name of the class ("Accordion") used in this selector is not necessary
* to make the widget function. You can use any class name you want to style the
* Accordion container.
.Accordion {
          overflow: hidden;
          width: 210px;
          border-bottom: 1px solid #ffffff;
          outline: none;
/* This is the selector for the AccordionPanel container which houses the
* panel tab and a panel content area. It doesn't render visually, but we
* make sure that it has zero margin and padding.
* The name of the class ("AccordionPanel") used in this selector is not necessary
* to make the widget function. You can use any class name you want to style an
* accordion panel container.
.AccordionPanel {
          margin: 0px;
          width: 210px;
          padding: 0px;
/* This is the selector for the AccordionPanelTab. This container houses
* the title for the panel. This is also the container that the user clicks
* on to open a specific panel.
* The name of the class ("AccordionPanelTab") used in this selector is not necessary
* to make the widget function. You can use any class name you want to style an
* accordion panel tab container.
.AccordionPanelTab {
          color: #ffffff;
          margin: 0px;
          cursor: pointer;
          padding: 5px 10px 5px 30px;
          font-weight: normal;
          font-family: "Trebuchet MS";
          font-size: 12px;
          text-transform: uppercase;
          -moz-user-select: none;
          -khtml-user-select: none;
          background-repeat: no-repeat;
          background-image: url(../images/accordion_plus_closed.png);
          background-position: 10px 7px;
          border: 1px solid #ffffff;
          border-bottom: none;
/* This is the selector for a Panel's Content area. It's important to note that
* you should never put any padding on the panel's content area if you plan to
* use the Accordions panel animations. Placing a non-zero padding on the content
* area can cause the accordion to abruptly grow in height while the panels animate.
* Anyone who styles an Accordion *MUST* specify a height on the Accordion Panel
* Content container.
* The name of the class ("AccordionPanelContent") used in this selector is not necessary
* to make the widget function. You can use any class name you want to style an
* accordion panel content container.
.AccordionPanelContent {
          margin: 0px 0px 0px 0px;
          padding: 0px 0px 0px 0px;
          border-left: 1px solid #ffffff;
          border-right: 1px solid #ffffff;
          overflow: auto;
/* This is an example of how to change the appearance of the panel tab that is
* currently open. The class "AccordionPanelOpen" is programatically added and removed
* from panels as the user clicks on the tabs within the Accordion.
.AccordionPanelOpen .AccordionPanelTab {
          color: #ffffff;
          background-image: url(../images/accordion_plus_open.png);
          border-bottom: none;
/* This is an example of how to change the appearance of the panel tab as the
* mouse hovers over it. The class "AccordionPanelTabHover" is programatically added
* and removed from panel tab containers as the mouse enters and exits the tab container.
.AccordionPanelTabHover {
          color: #95c8fc;
/* This is an example of how to change the appearance of all the panel tabs when the
* Accordion has focus. The "AccordionFocused" class is programatically added and removed
* whenever the Accordion gains or loses keyboard focus.
.AccordionFocused .AccordionPanelTab {
/* This is an example of how to change the appearance of the panel tab that is
* currently open when the Accordion has focus.
.AccordionFocused .AccordionPanelOpen .AccordionPanelTab {
/* Custom classes */
.acontent {
          padding: 5px 10px 10px 20px;
          font-size: 10px;
.acontent p{
          font-size: 12px;
          color: #ffffff;
.acontent li a { color: #fffff; font-size: 12px; text-decoration: none;}
.acontent li a:visited  { color: #0CF; }
.acontent li a:hover    { color: #5872f4; }

Similar Messages

  • How can I set JTable's columns width?

    Please, can anyone give me a hint.
    It seems I miss something important.
    I can't set the table columns to an appropriate width.
    Please, help !!!

    In JTable you can get a TableColumn object by supplying the name of the column to the method getColumn in JTable.
    JTable myTable;
    TableColumn tableColumn;
    // Initialise table
    tableColumn = myTable.getColumn("COLUMN NAME");There are methods for the TableColumn such as
    tableColumn.setPreferredWidth(int);
    tableColumn.setMaxWidth(int);
    tableColumn.setMinWidth(int);
    which all deal with setting up the width of the column in terms of pixel width.
    You can look up more info about them in the API

  • How can I fix the 1st column width (member) in Planning data forms

    Hi all,
    does anybody know a trick, how I can fix the first column width in planning data forms? I need a composite data form (Planning 9.3.1) and the problem is, that in the first form the member names are longer. So Planning sizes the column as it is needed to display the full member name. The member names of the second data form are shorter, so the data entry cells are not exactly among each other for both data forms and that looks terrible....
    Thanks and kind regards
    André

    There are 3 ways of setting the width in webforms:-
    1. There is a global setting for input box length which has a syntax of FormInputBoxLength=30.
    2. When you specify the format for each of the dimensions you can choose to select the width of either a column heading or a row heading. In the following example, each time you specified the dimension ‘Account’ a format would be applied to its header. The syntax for this would be something like… HeaderOptionAccount=Length:50,Style:font-size: 12pt;font-family: calibri
    3. Each column can have its own width specified. The syntax for this can be setting in each of the column’s code. For example C6=Blank,Style:Background-color:rgb(203,218,231);width:3 would just show a thick vertical line as the width is so small.
    You can not set widths in data grids through the normal settings. You can manually change the widths and save the grid though. This can be done in the xml directly. For example… <HDRWIDTH idx=”0″ width=”50″/>.
    Then load the amended xml file back into the system.

  • How can i Auto Size the Column width in RDLC Report

    Hi Friend's,
    I have created Windows application with RDLC Report. I am binding(Generating) dynamic columns and data's in RDLC Report Using Matrix control, I need to make Auto size of Column width for each Column in
    Matrix of RDLC report. So Can any one suggest me to make the Auto Size of Column Width in RDLC.
    Thanks in Advance,
    Mohan G

    Hi Mohan,
    In Reporting Services, the column width/height is hard-coded, hence, we cannot set the column width/height dynamically or based on an expression. So is the report size.
    In addition, since it is a RDLC report, we need a ReportViewer control to display this report within a custom application. If you need to change the size of the whole report, we can set the AsyncRendering property of the ReportViewer control to false, and
    set the SizeToReportContent property to true.
    Regards,
    Mike Yin
    TechNet Community Support

  • How do I set up side by side pages--like a book--in new Pages?

    How do I set up side by side print view in new Pages? I need to see how it will look in book format.

    You can't. Apple has removed Facing Pages along with almost 100 other features.
    Pages '09 should still be in your Applications/iWork folder.
    Peter

  • How to set and fix column widths in Mavericks?

    Until recently I was using a Mid 2011 MBA with OS X 10.8.X.
    I don't know what I did but the column widths in the Finder started to self-adjust to the longest filename.
    Now I have migrated my user account from this MBA to a new MBP running OS X 10.9.1.
    But the Finder in this account still has the same affliction, I can adjust column widths to where I want them but as soon as I click on a file or folder, the column widths readjust to the length of the longest file/folder name.
    How can I stop the Finder from doing that automatically?
    Thanks for your help and Happy Holidays!

    Dear William Lloyd:
    I actually learnt how to do this from another post in this community just a few hours ago.
    You adjust column wisth in Finder by placing your curser at the column edge and while holding Option key down, move column edge to the width you desire.
    This will make a "sticky" change i.e., column widths will stay where you set until you chanage them.
    I would like to to attribute this to the poster I learnt from but I am not able to find that post again.
    Cheers.
    rdfNaresh

  • Setting the jTable column width

    Coming from VB6 to Java is hard for me. Syntax is so much different.
    Below is what I am doing to populate the jTable and the values are coming from MySQL. My problem is setting the column width but I am having difficult understanding how to do it. I looked on the website and downloaded some examples and clearly because I am new and I simply do not understand it. I was wonder if someone is willing to modify the codes below on how I should do it. Thanks
    private void populate_grid(){
    Vector dataVector = new Vector();
    Vector columnVector = new Vector();
    columnVector.add("ID#");
    columnVector.add("Account Description");
    columnVector.add("Contact");
    columnVector.add("State");
    while (myResult.next()) {
    Vector rowVector = new Vector();
    System.out.println(myResult.getString("acct_name"));
    rowVector.add(myResult.getString("cust_id"));
    rowVector.add(myResult.getString("acct_name"));
    rowVector.add(myResult.getString("main_contact"));
    rowVector.add(myResult.getString("main_state"));
    dataVector.add(rowVector);
    jTable1.setModel(new javax.swing.table.DefaultTableModel(dataVector, columnVector));

        int rows = 3;
        int cols = 3;
        JTable table = new JTable(rows, cols);
        // Disable auto resizing
        table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        // Set the first visible column to 100 pixels wide
        int vColIndex = 0;
        TableColumn col = table.getColumnModel().getColumn(vColIndex);
        int width = 100;
        col.setPreferredWidth(width);

  • Setting the CheckBoxGroup column width

    Hello guys
    I'm using the IWDCheckBoxGroup UI element to display a list of items in my WD application.
    It is working fine, but the project designer asked me, to set it width to 100%, to fill all the screen width ( that is inside a EP IView )
    My problem is: I'm using 3 columns and it does'nt respect the proportion (33%,33%,33%). Put all the columns agrouped in the left ( or center ) is not an option
    Is there any way to set the columns width in the CheckboxGroup?
    Thanks

    Tks for your answer, but it didn't solve my problem.
    I need to use 100% becouse my checkboxgroup MUST to fill all the page width. My problem as I said is that I don't know how to set the width of the columns. I'm using 3 columns in my checkboxgroup and its widht becomes diferent in runtime.
    To create proportional widths I think that I need to set it own width, not the width of the group.
    Is it possible? I read the API and didn't find any references about this
    Tks again

  • How to increase size of individual column width in the filter screen of WAD

    Hello all ,
    Have a web application built in WAD. I have ran it  in portal and want to put the filter on material.When the filter screen displayed , I selected the filter value on material and added it to selections.  I am not able to see the full description of the material due to the width of the column is less which is hided to drag. Do we have any option to increase the individual column width in filter screen?
    Request you to respond .
    Regards,
    Lakshmi.

    Hi Vijay,
    Iam doing fine .Thank you.
    We tried different options in WAD . still it is not working . once the filter screen displayed in your report result (Portal) ,it will show you two tabs screen , will select and transfer the selections from left had side to right hand side.iam able to drag the left tab but not the right one due to iam not able to see the full description of info object.By dragging we can increase the full screen size but not the individual tab size.
    Regards,
    Lakshmi.

  • Setting exact    jtable column width

    I need to set each column width in table 200. Columns are added dynamically. And after one column added the previous one width is become small(about 75).
    There is test code. Please, help, here is last place I can find the answer.
    package visual.jtable;
    import javax.swing.*;
    import javax.swing.filechooser.FileSystemView;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableColumnModel;
    import javax.swing.table.DefaultTableCellRenderer;
    import java.awt.*;
    import java.io.File;
    import java.util.Arrays;
    import java.util.List;
    import com.sun.java.swing.plaf.windows.WindowsLookAndFeel;
    public class TestFrame extends JFrame
        public JTable table;
        public TestFrame()
            super("Test frame");
            createGUI();
        public void createGUI()
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JPanel panel = new JPanel();
            panel.setLayout(new BorderLayout());
            table = new JTable();
            table.setBounds(400, 400, 700, 300);
            JScrollPane pane = new JScrollPane(table);
            System.out.println(pane.getLayout().getClass().toString());
            pane.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
            pane.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
            table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
            panel.add(pane, BorderLayout.CENTER);
            getContentPane().add(panel);
        static int lastCol = -1;
        static int lastRow = -1;
        static int visibleRows = 13;
        public static void addFile(JTable table, File file)
            DefaultTableModel tableModel = (DefaultTableModel) table.getModel();
            if (lastRow == visibleRows - 1 || lastCol == -1)
                TableColumnModel cm = table.getColumnModel();
                table.getTableHeader().setResizingAllowed(false);
                table.setAutoscrolls(true);
                table.setMaximumSize(new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE));
                tableModel.addColumn(String.valueOf(lastCol + 1), new File[visibleRows]);
                int index = tableModel.findColumn(String.valueOf(lastCol + 1));
                cm.getColumn(index).setMinWidth(200);
                cm.getColumn(index).setMaxWidth(200);
                cm.getColumn(index).setWidth(200);
                cm.getColumn(index).setPreferredWidth(200);
                cm.getColumn(index).setResizable(false);
                System.out.println("width = " + cm.getColumn(index).getWidth());
                System.out.println(table.getAutoResizeMode());
                lastCol++;
                lastRow = -1;
            lastRow++;
            tableModel.setValueAt(file, lastRow, lastCol);
        public static void main(String[] args) throws Exception
            JFrame.setDefaultLookAndFeelDecorated(true);
            try
                UIManager.setLookAndFeel(new WindowsLookAndFeel());
            catch (Exception e)
            TestFrame frame = new TestFrame();
            frame.pack();
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
            List<File> f = Arrays.asList(FileSystemView.getFileSystemView().getFiles(new File("C:\\Documents and Settings\\Admin\\&#1056;&#1072;&#1073;&#1086;&#1095;&#1080;&#1081; &#1089;&#1090;&#1086;&#1083;"), false));
            for (File file : f)
                addFile(frame.table, file);
                Thread.sleep(100);
                addFile(frame.table, file);
                Thread.sleep(100);
                addFile(frame.table, file);
                Thread.sleep(100);
                addFile(frame.table, file);
                Thread.sleep(100);
                addFile(frame.table, file);
                Thread.sleep(100);
                addFile(frame.table, file);
                Thread.sleep(100);
                addFile(frame.table, file);
                Thread.sleep(100);
    class ListViewTableCellRenderer2 extends DefaultTableCellRenderer
       // public ListViewTableCellRenderer(){}
        // implements javax.swing.table.TableCellRenderer
        public Component getTableCellRendererComponent(
                JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
            Component component = super.getTableCellRendererComponent(
                    table, value, isSelected, hasFocus, row, column);
            File file = (File) value;
            JLabel label = (JLabel) component;
            label.setMinimumSize(new Dimension(200, label.getHeight()));
            label.setMaximumSize(new Dimension(200, label.getHeight()));
            label.setPreferredSize(new Dimension(200, label.getHeight()));
            label.setSize(200, label.getHeight());
            label.setMinimumSize(new Dimension(200, label.getHeight()));
            label.setText("<table width=\"200\">" +
                    "  <tr>" +
                    "    <td>Month</td>" +
                    "  </tr>" +
                    "</table>");
            if(file == null)
                label.setIcon(null);
                return label;
            //label.setIcon(ViewManager.getCachedIcon(file));
              label.setIcon(FileSystemView.getFileSystemView().getSystemIcon(file));
            if(file.isHidden())
               label.setText("<html><font color = \"red\">" + file.getName() + "</font></html>");
            label.setText(file.getName());
            label.setText("<table width=\"200\">" +
                    "  <tr>" +
                    "    <td>Month</th>" +
                    "  </tr>" +
                    "</table>");
            return label;
    }

    And after one column added the previous one width is become small(about 75).The model.addColumn() method causes a fireTableStructureChanged event to be generated which causes the TableColumns to be recreated and therefore they default back to their default sizes.
    So you need to prevent the columns from being recreated. You do this by adding:
    JTable table = new JTable(....);
    table.setAutoCreateColumnsFromModel(false);But now you are responsible for adding table columns to the table manually. So your code would be something like;
    int index = model.getColumnCount();
    model.addColumn(...);
    TableColumn tc = new TableColumn(index);
    tc.setHeaderValue("" + index);
    table.addColumn( tc );

  • How do I set the finder column view to always display the "thin" column edges?

    Sometimes finder switches to display thick column edges. These screen shots were taken 5 min apart, after a restart.  I would love to know to to make sure it always displays the thin version.
    Side note: does anyone know how to open new columns that automatically resize to fit the largest file name.....?    Having to constantly resize columns is really irritating.

    it can not display what has not been downloaded, for them to be the same I assume you have chosen to leave messages on the server.
    Date: is set by the sender and has nothing to do with a delivery date in Thunderbird. If Thunderbird is displaying the date the message arrived in Thunderbird, what is in the date: header?
    Received: is a series of transmission points and following the instructions below will display the latest.
    * Select Tools/Options from the main menu.
    * Click Config Editor.
    * If a warning displays, click “I’ll be careful, I promise!”.
    * Locate the mailnews.customDBHeaders preference, e.g. by typing “dbh” in the Filter field. Double click it, or select and press Enter.
    * If the preference was not set previously, type “Received” and click OK. If some extension has already populated the preference, add “ Received” to the end of the list of headers, separating it with space.
    * Close the Config Editor and restart Thunderbird.

  • How can I  set  a view columns labels

    Hi,
    I would like to set the column titles in a table based on a view. (For internationalization purpose )
    In a Swing - ADF - 10g application
    regards,
    Lucian.

    You can set the Control hints in the BC4J layer.
    1. Open your ViewObject.
    2. On the left hand side, expand the Attribute node.
    3. Highlight the attribute for which you'd like to change the title
    4. On the right hand side select the Control Hints tab
    5. "Label Text" should be the title and "Tooltip test" should be the text which pops up if you hover your mouse over an item.
    ~Rob Lundeen

  • Strange Behaviour setting column width & height programmatically

    I'm trying to set the height and width of an image by storing the image, height and width in the database at the row level.
    OATableBean table = (OATableBean)webBean.findIndexedChildRecursive("QuoteLinesRN");
    OAImageBean lineImageBean = (OAImageBean)table.findIndexedChildRecursive("ImageItem");
    //Next 4 lines set the image file name from the data in Segment1 - they work as expected
    FixedBoundValue imageDirectory = new FixedBoundValue(APPS_MEDIA_DIRECTORY);
    OADataBoundValueViewObject statusBinding = new OADataBoundValueViewObject(lineImageBean, "Segment1");
    ConcatBoundValue statusCBV = new ConcatBoundValue(new BoundValue[] {imageDirectory, statusBinding});
    lineImageBean.setAttributeValue(SOURCE_ATTR, statusCBV);
    //Now here is the funny part -
    OAMessageStyledTextBean heightBean = (OAMessageStyledTextBean)webBean.findIndexedChildRecursive("Segment2");
    OAMessageStyledTextBean widthBean = (OAMessageStyledTextBean)webBean.findIndexedChildRecursive("Segment3");
    String height = (String)heightBean.getValue(pageContext);
    String width = (String)widthBean.getValue(pageContext);
    lineImageBean.setHeight(height);
    //Setting the width doesn't do anything if I set the height. And the image displays miraculously at the dimensions set in the actual physical file itself, for both height and width.
    //The values I have in the table to get the height and width are completely irrelevant.
    //Except I need to make a string out of the OAMessageStyleTextBean or the value for height and width will be as I specify ie. if I instead use: String height = "300" the height will be 300.
    //But why is the height and width not using the values I specify in the table as Segment2 and Segment3?
    //Is it because I'm not explicity setting the same index when creating the OAMessageStyledTextBeans as I used for my OAImageBean?

    I found some issues.
    http://javafx-jira.kenai.com/browse/RT-24636
    http://javafx-jira.kenai.com/browse/RT-22728
    http://javafx-jira.kenai.com/browse/RT-23517
    On my mind, these are the same.

  • How could i listen to the column width changed event of a tableview

    I really want to do some painting when the column is resized manually.
    but it seems that there's not a column reszie event in javafx, is there?

    TableColumn dateCol = new TableColumn("Date");
    dateCol.setCellValueFactory(new PropertyValueFactory("longrowid"));
    dateCol.widthProperty().addListener(new ChangeListener(){
            @Override public void changed(ObservableValue o,Object oldVal,
                     Object newVal){
                 System.out.println("Width property has changed!");
          });

  • UITableView - How do you set datasource and delegate? Please help

    I've been looking through documentation, code examples, and searching online but I can't seem to find out how to use a UITableView that I've have placed inside of my view using Interface Builder.
    In my UIViewController class for the view I have a UITableView *tblView linked to my table view in Interface Builder. All I want to do now is be able to implement numberOfRowsInSection, and cellForRowAtIndexPath so that I can populate my table view.
    I've read that I have to set the datasource and delegate to be able to populate the table view and process events. How do I do this properly so that I can implement the methods for the UITableView in my view controller class?
    Any help would be greatly appreciated. Thanks!

    Hi, if you'Re using interface builder than you just have to control-drag (click on hold the left mousebutton while pressing the control-key) from the tableView to the viewController. You need to do this two times (delegate and dataSource each in one step).

Maybe you are looking for