Problems with the cells in a table

Hello

Please tell me what I'm missing here.

Look at the page and see how the text in the cells are aligned not flush to the top, they still have the appropriate label.

http://WARDA.us/test.html

Thank you!!!

Esther

Hi Esther.

Your low right text is wrapped in paragraph tags

It is the cause of drop

Tags: Dreamweaver

Similar Questions

  • Problem with the cells in a table

    Hello

    in fact, I wanted to know that is possible

    so that I can show the contents of a cell of table in two pages, that is to say, half of the cell is in a single page and the other half of the cell on another page

    as my cell content is very large it do not fit in a single page.

    I use InDesign CS3

    Thank you

    You have exactly - to simulate the rupture.

    Split horizontal row - then copy the correct amount to the cell below.

    To be honest, it's ridiculous, to arrive at these crazy workaround solutions.

  • Problems with the sorting of a table with drop-down text cells

    I have 2 subjects (among a number of topics), and each section has a table.

    I followed Mr Grainge help to sort a table without an arrow and in heading 1, it does not work as expected. When I generate my WebHelp I can click on any one of my columns will sort the data. I can see the little black arrow head and black arrow head.

    I know absolutely nothing about HTML and basically followed the instructions for help and got to work.

    The second is a little different in that has 3 columns and rows about 375. The second column contains cells with the drop down text (but not all) as some have yet to be converted.

    The questions are:

    (1) a column will sort once only. So if I click on column 1, the head of black arrow appears. Subsequently, no amount of click will change the State of the data. I can sort the data on any of the 2 remaining columns, but I can never switch between ascendants and descendants of sequence on the same column.

    (2) in Design view, I see all the data in each cell. After that I generated my WebHelp, some of the cells that contain drop-down text fields are missing. Some are, and some are not. Those who are there, work perfectly when I click on the text and the text of the menu drop-down appears. Each drop-down text field has a bookmark.

    ((3) continuous on 2) above, if I use the combination of keys ctrl-w in design, some of the cells that contain text to menu drop-down are missing (probably all those lacking in the Webhelp) and oddly, some of the borders of the cells (I used light blue) are missing. However, they are there in the WebHelp. A sample is attached.

    Get my second table to work as I had hoped would be fantastic and worthwhile so far. However, I'm not quite there yet and need your help and suggestions.

    Please see the last item in the list under the Notes. I suspect this is the problem.

    See www.grainge.org for creating tips and RoboHelp

    Follow me @petergrainge

  • Problems with the cell in the table borders

    I'm trying to get a solid pt 2 on the left side of the first green column.  Even though I have selected the entire table and chose to not not for shots of the border, when I apply the 2pt stroke left side, there are white lines at the intersection of each cell in the row.  I am attaching the file and a screenshot (if the screenshots are here - I'm obviously new).  Thank you!

    Application View.jpg

    There is a 1 pt stroke applied to the horizontal. I had terrible luck, myself, with the formatting of the tables, but if you select the cell, and then select only the horizontal lines in the formatting options, you can set them to 0 and they will go far.

  • Having a problem with the addition of dynamic table in Dreamweaver CS6 with MySQL

    Hello, I am new get here. So my question is this:

    I have sccesfully has created a MySQL user table and a register and Login Page and the Page count of the user can update his information etc etc. But my problem is this, I created another table in MySQL, which the user can add his cars (brand, model and year of manufacture) and I've linked this table to the table user with a foreign key using user name as primary key for table use and as a foreign key to the table of cars. My question is how to display the data for each user so that each user will be able to see its records in this table. Every help is appreciated.

    Thank you for your time and help!

    I think it works, simply change to the highlighted

    $colname_CarUsers = "-1";

    If (isset($_SESSION['MM_Username'])) {}

    $colname_CarUsers = [["" UserID""]]; $row_User

    }

    @mysql_select_db ($database_MyCOnnection, $MyCOnnection);

    $query_CarUsers = sprintf ("" SELECT * FROM cars WHERE UserID = %s ORDER BY ASC CarBrand ", GetSQLValueString ($colname_CarUsers,"int")");

    $query_limit_CarUsers = sprintf ("%s LIMIT %d, %d", $query_CarUsers, $startRow_CarUsers, $maxRows_CarUsers);

    $CarUsers = mysql_query ($query_limit_CarUsers, $MyCOnnection) or die (mysql_error ());

    $row_CarUsers = mysql_fetch_assoc ($CarUsers);

  • Problem with the function 'length' for table column in a table (fn)

    Hello

    I have a piece of javascript code that sets all the values of a column in a table:

    function exemptAll (flag)
    {
    Alert (document.wwv_flow. F42. Length);
    for (var i = 0; i < document.wwv_flow.f42.length; i ++)
    {
    var curr_id = document.wwv_flow.f42user.user;
    If (flag == 'Y')
    {
    document.getElementById ("curr_id") .value = "Y";
    }
    on the other
    {
    document.getElementById (curr_id) .value = 'n';
    }
    }
    }


    It works very well to provide in the form of tables, there are multiple lines, if only one line is the "document.wwv_flow.f42.length" function returns false values - we had '2' and '3' returned to a form of the tab that contains a single row and subsequently code fails with an error "invalid argument".

    Is this a recognized bug because we cannot find similar reports of what is happening on the forums. Any help would be appreciated as we have to fake a work around using an element of the page containing the number of lines in the tabular presentation.

    Hello

    I think that "bug" is caused by the dynamic nature of Javascript.

    If there is more than one field called f42, any reference to it will return an array of fields. However, if there is only one instance of it, any reference to it will return the field itself! In the latter case, probably the length function returns the number of characters in the field.

    Therefore, you must check whether what you have is an array or not. Unfortunately, there is no such function only as "isArray" in JS! If you are looking on the net for "isArray" you will find a number of alternatives well...

    I hope this helps.
    Luis

  • Problems with the repeatable region in table

    Hello!

    I am using a table to display data from a MySQL database. I have two lines put in place. The first is a header row and the second contains the bindings for the info from database. When I select < tr > on the second line and add the reproducible region, it always includes the whole picture, so seen live, the header appears before every single line of text. If I try to select each block and add the reproducible region, it shoots just information horizontally rather than vertically. Any ideas on that?

    Thank you!

    You had to do a little research on Google for this one! I don't know why he always chose the entire table, no matter what I choose, but at least here is a way to manually code around it.

    Here's what the code was originally:

        
      
    1 2 3 4

    Here's what I had to take it:

      
    1 2 3 4
  • I have an iMac7, 1 with Intel Core 2 Duo 2.8 GHz, 2 GB memory, 500 GB storage, iOS10.6.8 and can update in 10.11.2.  must I do cela or are there problems with the upgrade?

    I have an iMac7, 1 with Intel Core 2 Duo 2.8 GHz, 2 GB memory, 500 GB storage, iOS10.6.8 and can update in 10.11.2.  must I do cela or are there problems with the upgrade?

    I don't know about other issues. There are always 'problems' with any upgrade. You weigh against the benefits. I know that you need more RAM. At least 4 GB, maybe more if you can. Don't forget that this system is produced at a time when most of the machines have + 8 GB RAM and when Apple said 'minimum' they really mean it.  I recently inherited a MacBook that has 2 GB of RAM and the Mavericks. When I checked the memory, the use of the system was using 1.95 GB = nothing to run applications!

  • problem with the help of the conditional formatting on a cell that is defined as the percentage

    Hi all

    I am facing a problem with the help of the conditional formatting on a cell that is defined as the percentage.

    I am using beaches for example:

    is equal to or greater than 10% - green color

    5%-10%-yellow

    less than or equal to 5%-color red


    the problem is that keeps the value 10% get yellow color when it should get green.


    i thought that is a rounding issue but when I change the definitions of the cell to learn more decimal places I see this part of the percentage 9.65% and some of them are 10.00% and they are both colored in yellow.

    I also tried to change the way range of 6 to 9%, but values between 9.65% or 5.5% are not colored.


    I really enjoy your help!

    You know the reason and the solution.

    change the format of the column and go or add a column more with decimal and opt for conditional and hide report.

    Thank you

    http://cool-bi.com

  • Problem with the compatible version of line lock tables

    I tested the effect of locking in the tables in activated version to assess restrictions workspace manager to update the records in different workspaces and I met a locking issue where I can't seem to update different registers of the same table in different sessions if these same records have already been updated and committed in a different workspace.

    I run the tests on 11.2.0.3.  I have ROW_LEVEL_LOCKING worth IT.

    Here's a simple test case (I have many other test cases that are not as well, but understand why it is a problem of blocking will help me understand the results of others my test case):

    -Alter tablespace names in accordance with the requirements

    create table t1 (id varchar2 (36) not null, name varchar2 (50) not null) tablespace XXX;

    ALTER table t1 add the key primary t1_pk (id) of constraint using index tablespace XXX;

    exec ('LIVE') dbms_wm.gotoworkspace;

    insert into t1 values ('1 ', 'name1');

    insert into t1 values ('2 ', 'name2');

    insert into t1 values ('3 ', 'name3');

    commit;

    exec dbms_wm.enableversioning ('t1');

    exec ('LIVE') dbms_wm.gotoworkspace;

    exec dbms_wm.createworkspace ('TESTWSM1');

    exec dbms_wm.gotoworkspace ('TESTWSM1');

    -Update 2 files in a workspace not LIVING for the update later in different workspaces

    Update t1 set name = name | ' changed ' where id in ('1 ', ' 2');

    commit;

    quit smoking;

    -Now in a separate session (called session 1 for this example), run the following without commit the changes:

    exec ('LIVE') dbms_wm.gotoworkspace;

    Update t1 set name = 'modified' where id = '1';

    -Now in another session (session 2) update a different record in the same table.  The update below is blocked waiting on the transaction in the session 1 to perform (by commit / rollback):

    exec ('LIVE') dbms_wm.gotoworkspace;

    Update t1 set name = 'modified' where id = '2';

    I am surprised, recordings of the different IDS cannot be updated in different sessions which is why is session 1 blocking the update of the 2 folder that is not being updated anywhere else.  I tried this using different workspaces not LIVING with similar results.  I tried to change the properties of the table for example, initrans with and always get a lock.  Changes made to the properties of the table are correctly propagated to _LT tables but not all tables in handler related workspace created for table T1 that precedes.  I don't know if that's the problem.

    Note an example of the query Manager space background likely to create the lock is something like:

    UPDATE TESTWSM. T1_LT SET LTLOCK = WMSYS.LT_CTX_PKG. CHECKNGETLOCK (: B6, LTLOCK, NEXTVER,: B3, 0, 'UPDATE', VERSION, DELSTATUS,: B5), NEXTVER = WMSYS.LT_CTX_PKG. GETNEXTVER (NEXTVER,: B4, VERSION,: B3: B2, 683) WHERE ROWID =: B1

    Any help with this will be appreciated.  Thanks in advance.

    Hello

    The reason for the block is actually the same as above.  The splits is registered at the level of the version/savepoint, not necessarily just the workspace.  In your example, workspaces TESTWSM1 and TESTWSM2 have a single version and the LIVE workspace has 3 versions.  A new version is always implicitly created during a CreateWorkspace operation if the most RECENT/current version has modified data.  The lines for the id = "1" and id = "2" are changed in each workspace to the child and before creating a workspace.  However, since the id = "3" LIVE online has changed after the creation of TESTWSM1, it is in a different version of those other 2 rows.  So when the updates for the id = "1" and id = "2" are executed, the line is attempted to be divided between TESTWSM1, TESTWSM2 and the latest version of LIVE.  No other line has been updated with this combination so we try to introduce a set of lines in the metadata table.  As this happens multiple sessions at the same time, one of them is obliged to block until the other transaction issues a commit or rollback.

    It is not a way to avoid these LMD.  The lock is acquired in this case is a short-lived transaction lock and they are required for the correct rows be returned for a particular workspace.

    Kind regards

    Ben

  • How do you return a blank in table 2, when there is no data in the cell related in table 1?

    I run a recreational League of golf and have been recording the scores of the players (50 + players in total) with the intention of maintaining a form of disability from the League.

    So far, I did most of the calculations manually in number. Recently, I have experimented using the Lookup function but have encountered a problem with the time where the player does not play this week.

    In table 1, where I do all scores record cel when they do not play is left blank. However, in table 2 than corresponding cel returns a 0... strikes completely out of whack handicaps.

    Here is what I used in table 2 for the information of table 1...  SEARCH (name, 2016 Stats::Table 1 $Last: $ name, 2016 Stats::Table 1::G44)

    I also tried to add an IF statement, but I have obviously not understood correctly as he said I tried to refer to a cel in the statement itself.

    Example of the disability Page in the table 2 list a 0 is returned in cel 6... which is then averaged in the cel of last second... namely the problem. The cel with the 6 in it is a formula that counts the number of moves played and see it 6 because it counts as a trick played 0. This shows the wrong average score of 65.666

    Them

    A

    78

    1

    78

    Me

    Me

    80

    75

    81

    0

    81

    77

    6

    65.6666666666667

    -10

    As it appears in table 1. indicating the total number of rounds played in 5 and returning the precise average score of 78.8

    Me

    Me

    80

    75

    81

    81

    77

    5

    78.8

    Hi pondball,

    (Could be my 'golf name' somedays)

    Formula in Handicap::B2 and filled to the bottom and right at Handicap::X4

    = IF (LOOKUP ($A, data: $A, Data::B)=0,"",LOOKUP($A,Data::$A,Data::B))))

    IF compared the results of the first SEARCH and if it is zero, returns an empty string. If the comparison returns FALSE, the second SEARCH is called, find and returns the result of zero. AVERAGE does not take into account all results of text, including the string NULL, a zero-length text value.

    COUNT (used in the column count the number of turns) also ignores the text values.

    4th place of disability shows one of the reasons for not using LOOKUP.

    SEARCH alwas accepts a "close fit" with the search value. 'near match' for RESEARCH is defined as 'the largest value equal or less than the value of the research', and for the values text, "less than or equal" can be described as "identical or come forward in a list of items of text in alphabetical order.»

    For us, the other two values in the name list are 'less' us and the most important is 'Them', the values for 'Them' are returned.

    For this reason, I tend to use VLOOKUP instead of RESEARCH in many cases.

    VLOOKUP present the disadvantage of requiring her research-where location which will be the first column of the lookup table (which is not a problem here, because the location of the research is one ot the column data table).

    But also has the advantage of af being able to require an "exact match" search value.

    Here's the same tables of two, with VLOOKUP replacing LOOKUP. Note that the VLOOKUP function has a different syntax than the LOOKUP function.

    Formula VLOOKUP in Handicap::B2, filled with verse down and right at Handicap::X4:

    = IF (VLOOKUP ($A, Data: $A:$ X, COLUMN (), FALSE) = 0,"", VLOOKUP ($A, Data: $A:$ X, COLUMN (), FALSE) ")

    Written as above, the formula works correctly in rows 2 and 3, but will just return the error in the 4th row triangles, since it will not find a match (exact n) for 'Us' in column A of data.

    After confirming that it produces no unexpected error, wrap the formula in function SIERREUR as shown below and repeat the filling down and the right filling operations above.

    SIERREUR function interrupt all errors, including those affecting the results without your knowledge if they occur. Always delay adding IFERROR until you know what are the errors he fools.

    =IFERROR (IF (VLOOKUP ($A, data: $A:$ X, COLUMN (), FALSE) = 0,' ", VLOOKUP ($A, data: $A:$ X, COLUMN (), F ALSE))," ")

    Y2: = COUNT (C2:X 2)

    Z2: = AVERAGE(C2:X2) (base form)

    Z2: = IF (Y = 0,' ", AVERAGE (C2:X 2)) (real form)

    The encapsulation of the AVERAGE function in the IF statement deletes the calculation if the number of items to the average value is zero, AVERAGE preventing from return to a division by zero error. The number of circles in the column there is NOT used in the calculation of the average (AVERAGE did his own count), but is used as a switch 'OK to calculate' leaving the calculation of the AVERAGE to move forward.

    Kind regards

    Barry

  • Problem with the numbers in the rows of cut and paste

    Hey,.

    I'm new to MAC and now have problems with the help of figures, I brought my windows Excel worksheets. On windows, I could cut a line and paste anywhere on this page and by practice that Excel would fill the void rank where I cut the content. but here on MAC it does not work, why?

    anyway I tried to live with it by cutting a line and for the collage, I used Insert > copied lines for paste swath and add a line for her. but last night I updated the numbers and now by the practice precedes the Windrow is stuck this time with a resized form, the line is resized to a big line.

    Why is this happening? If it can't be fixed, I can go back to a previous version of a number? This update of hate.

    Numbers is excellent NO then you should consider to guide your expectations.

    Cut number refers only to the content NOT the line, or cells.  Select when a row, and then use the cut command that you cut the contents of the cells.

    If you try to move a line from one place to another, you should try this method (which can work for you)...

    Select the line, then click and hold on the header line (up to the line "lift" on the table), the operation slide the line to the destination.

    Now drag the line:

    Now drop the line where you want to:

  • Value of the cell in a table cannot access

    Hello

    I'm not much more expert in oracle apex. Please help me with this problem.

    I use APEX 4.2.

    I have a master form (FORM1) where I have some text fields and a tabular presentation where the data in the child table to appear (product ID, product name). Each line has a check box.

    I added a new button in the region in a table. I want to make is that:

    Select a line in the form of tables (per box), and then click the button

    System must open a form (FORM2) with the ID and name pre-populated from the line selected tabular form (FORM1). In other words, I'm wearing on data from cells in the form of FORM1 to FORM2.

    I tried "with the value" which is one of the option Button in the apex, but in this case, it does not work. because the cells in a table of master / detail are not recognized as part of the page (meaning fields text beginning as P1_Details, P1_Total. etc, but the name of tabular form fields begins without page number as Product_ID, Product_Name)

    Sorry for the long haul. I tried to explain as much as I could. Please help me.

    Thank you

    Mohammad

    The easiest way is to change the boxes to use the links. You can format the column link to direct to a page with the values from the current row. It's about how master detail, you already have should work.

    If you must have check boxes, you will need the user to select more than one face. I would like to option buttons if you need to have the user select the line and then click on the button.

    To get the selected value, you'll need javascript or dynamic action and is very well the link Scott.

    Greg

  • Problem with the rendering of JProgressBar in JTable

    I have some problems with the rendering of JProgressBar in JTable. In the case of several lines, when a progress bar is updated, and its text is changing, then he painted all the progress bars in this column.

    Here is my code I used to create the table:
    --------------------------------------------------------------------------------------
    JTable convertTable = new JTable(convertTableModel) {
    
                public Component prepareRenderer(TableCellRenderer renderer,
                        int rowIndex, int vColIndex) {
                    Component c = null;
                    if (renderer != null) {
                        c = super.prepareRenderer(renderer, rowIndex, vColIndex);
    
                        if (vColIndex == INDEX_CONVERT_STATUS) {
                            //System.out.println("c = "+c.getClass());
                            if(c instanceof JProgressBar) {
                                //System.out.println("inside = ");
                                c.setBackground(Color.BLUE);
                            }
                        }
                    }
                    return c;
                }
    
                public boolean isCellEditable(int rowIndex, int mColIndex) {
                    if (mColIndex == INDEX_CONVERT_SELECT) {
                        return true;
                    } else if (mColIndex == INDEX_CONVERT_STATUS) {
                        return false;
                    } else {
                        return false;
                    }
                }
    
                /*
                 * JTable uses this method to determine the default renderer/
                 * editor for each cell.  If we didn't implement this method,
                 * then the last column would contain text ("true"/"false"),
                 * rather than a check box.
                 */
                public Class getColumnClass(int c) {
                    if (getValueAt(0, c) != null) {
                        return getValueAt(0, c).getClass();
                    }
                    return null;
                }
            };
    --------------------------------------------------------------------------------------

    Then I applied on this table rendering engine

    ---------------------------------------------------------------------------------------
    // Applying JProgressBar Renderer for convert table
            TableColumn col = convertTable.getColumnModel().getColumn(INDEX_CONVERT_STATUS);
            ProgressBarRenderer progressBarRenderer = new ProgressBarRenderer();
            col.setCellRenderer(progressBarRenderer);
    ---------------------------------------------------------------------------------------

    Class code ProgressBarRenderer is as follows:
    ---------------------------------------------------------------------------------------
    public class ProgressBarRenderer extends JProgressBar implements TableCellRenderer {
    
        private Hashtable ht = new Hashtable();
    
        public ProgressBarRenderer() {
            super(0);
            this.setMinimum(0);
            this.setMaximum(100);
            this.setStringPainted(true);
            this.setBorderPainted(true);
    
            UIDefaults defaults = UIManager.getDefaults();
            Font font = new Font("Arial", Font.BOLD, 12);
            defaults.put("ProgressBar.font", font);
        }
    
        public void setRowEnabled(int row, boolean enabled) {
            ht.put(row, enabled);
        }
    
        public void setForeground(Color c, int row) {
            //System.out.println("setString ht = " + ht.size() + "  row= " + row + "  Selected= " + (Boolean) ht.get(row) + " color= " + c);
            if (ht.isEmpty()) {
                this.setForeground(c);
            } else if (ht.size() == 1) {
                this.setForeground(c);
            } else if ((Boolean) ht.get(row)) {
                this.setForeground(c);            
            } else {
                this.setForeground(c);
            }
        }
    
        public void setString(String s, int row) {
    
            //System.out.println("setString ht = " + ht.size() + "  row= " + row + " text= " + s);
            if (ht.isEmpty()) {
                this.setString(s);
            } else if (ht.size() == 1) {
                this.setString(s);
            } else if ((Boolean) ht.get(row)) {
                this.setString(s);
            } else {
                this.setString(s);
            }
    
        }
    
        @Override
        public Component getTableCellRendererComponent(JTable table,
                Object value, boolean isSelected, boolean hasFocus, int row, int column) {
            
            //System.out.println("getTableCellRendererComponent = " + table);
            //System.out.println("Renderer ht = " + ht.size() + "  row= " + row + "  Selected= " + (Boolean) ht.get(row));
            
            if (ht.isEmpty()) {
                return this;
            } else if (ht.size() == 1) {
                return this;
            } else if ((Boolean) ht.get(row)) {
                return this;
            } else {
                return null;
            }
        }
    }
    ---------------------------------------------------------------------------------------

    I add the next line and rendered the progress column is follows:
       convertTableModel.addRow(new Vector());
       ((ProgressBarRenderer) convertTable.getCellRenderer(row, INDEX_CONVERT_STATUS)).setRowEnabled(row, false);
    ---------------------------------------------------------------------------------------

    When I add the first row, it works fine, but when I add the second row, he painted the entire column.

    Naturally, you will have problems if you set a string or a color of a table cell value when the class of the column is declared as integer. As I have already said, you need to spend some time with the tutorials.

    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Random;
    import javax.swing.*;
    import javax.swing.table.DefaultTableCellRenderer;
    import javax.swing.table.TableCellRenderer;
    
    public class ProgressBarTableCellRendererExample {
    
      Random random = new Random();
      JTable table;
    
      public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
    
          public void run() {
            new ProgressBarTableCellRendererExample().makeUI();
          }
        });
      }
    
      public void makeUI() {
        table = new JTable(10, 1) {
    
          @Override
          public boolean isCellEditable(int row, int column) {
            return false;
          }
        };
        for (int i = 0; i < table.getRowCount(); i++) {
          table.setValueAt(0, i, 0);
        }
        table.getColumnModel().getColumn(0).
                setCellRenderer(new ProgressBarTableCellRenderer());
    
        JButton button = new JButton("Increment");
        button.addActionListener(new ActionListener() {
    
          public void actionPerformed(ActionEvent e) {
            increment();
          }
        });
    
        JFrame frame = new JFrame();
        frame.add(new JScrollPane(table), BorderLayout.CENTER);
        frame.add(button, BorderLayout.SOUTH);
    
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(400, 400);
        frame.setLocationRelativeTo(null);
        frame.setVisible(true);
      }
    
      private void increment() {
        for (int i = 0; i < table.getRowCount(); i++) {
          Object value = table.getValueAt(i, 0);
          if (value instanceof Integer) {
            Integer oldValue = (Integer) table.getValueAt(i, 0);
            int newValue = Math.min(100, oldValue + random.nextInt(25));
            switch (newValue) {
              case 13: // and its multiples
              case 26:
              case 39:
              case 52:
              case 65:
              case 78:
              case 91:
                table.setValueAt("Failed", i, 0);
                break;
              case 100:
                table.setValueAt("Completed", i, 0);
                break;
              default:
                table.setValueAt(newValue, i, 0);
            }
          }
        }
      }
    
      private class ProgressBarTableCellRenderer
              extends JProgressBar implements TableCellRenderer {
    
        private TableCellRenderer stringRenderer =
                new DefaultTableCellRenderer();
    
        public Component getTableCellRendererComponent(JTable table,
                Object value, boolean isSelected, boolean hasFocus,
                int row, int column) {
          if (value instanceof Integer) {
            setValue((Integer) value);
            return this;
          } else {
            return stringRenderer.getTableCellRendererComponent(table,
                    value, isSelected, hasFocus, row, column);
          }
        }
        // Override void validate(), invalidate(), revalidate(), repaint()
        // and all overloads of firePropertyChange(...) as no-ops
        // for efficiency
      }
    }
    

    DB

  • Problems with the layouts and headers

    Hi I'm a newbie, trying to page layouts, I have 2 questions. I would be grateful for any help or pointers to tutorials.

    (1) I have problems with the links at the top of my page. They are text based and in a table of 2 rank. They have a huge ditch around them and no matter what I do I cannot resize the table or change the text to be less than a gap below it. Basically I have a huge gap between my links at the top of the page and the main logo and the main logo below. (and I think they are related as the h1 which I don't want that they're not really the header only links). Here's the code for that.

    <table width="740"  border="0" align="center" cellpadding="0" cellspacing="0" class="HeaderLogoButton">
          <tr align="center" valign="top">
            <td width="288" height="48"><h1><br /><br />
            </h1></td>
            <td width="452" height="25"><!-- TemplateBeginEditable name="HeaderLinks" --><span class="TextButtons"><a href="../index.html" class="TextButtons">Home</a>      <a href="../featured.html" class="TextButtons">Featured Company</a>      <a href="../youngpeople.html" class="TextButtons">Young People</a>      <a href="../andmore.html" class="TextButtons">And More</a>     </span><span class="TextButtons"> <a href="../blog.html" class="TextButtons">Blog  </a></span><!-- TemplateEndEditable --> </td>
          </tr>
          <tr>
            <th height="48" align="left"><a href="index.html" title="My Site Title"><img src="../images/My Site_logo.png" alt="My Site Logo" width="245" height="46" border="0" align="left" /></a></th>
            <td align="right" valign="top"><!-- TemplateBeginEditable name="HeaderButtons" --><img src="../images/facebook.png" alt="FaceBook Button" width="36" height="36" align="top" /> <img src="../images/twitter.png" alt="Twitter Button" width="36" height="36" align="top" /><img src="../images/blogbutton.png" alt="Blog Button" width="49" height="47" align="top" />  <!-- TemplateEndEditable --></td>
          </tr>
        </table>
    

    (2) my second question with headers in general. As you can see in the code I have a "My Site_logo.png', as the main logo for the site, what concerns me is pointing to it as the main h1 header so that when the spiders come to visit, either by the additional logo or html, they read that the site is called"My Site"the main header. How can I make the logo/title of the h1 of the code section? I'm afraid of making a mess of the code at this point, so any help is very appreciated!

    Thanks in advance

    evilJim wrote:

    Hi I'm a newbie, trying to page layouts, I have 2 questions. I would be grateful for any help or pointers to tutorials.

    (1) I have problems with the links at the top of my page. They are text based and in a table of 2 rank. They have a huge ditch around them and no matter what I do I cannot resize the table or change the text to be less than a gap below it. Basically I have a huge gap between my links at the top of the page and the main logo and the main logo below. (and I think they are related as the h1 which I don't want that they're not really the header only links). Here's the code for that.

    In the first cell of the table, you have a tag h1 (header tag) (see below), in this tag you inserted two break tags
    by pressing return on your keyboard twice. These breaks are reduced the height of the first row of the table, that's why you have all the space under your links.



            

    evilJim wrote:

    (2) my second question with headers in general. As you can see in the code I have a "My Site_logo.png', as the main logo for the site, what concerns me is pointing to it as the main h1 header so that when the spiders come to visit, either by the additional logo or html, they read that the site is called"My Site"the main header. How can I make the logo/title of the h1 of the code section? I'm afraid of making a mess of the code at this point, so any help is very appreciated!

    Thanks in advance

    At the moment you have nothing apart from 2
    tags in your h1 tag (see above answer to your first quetsion.

    Purposes of search engine, you can encapsulate your image in an h1 tag and provide an overview of more descriptive than "My Site Logo" for the images 'alt' tag

    My Site Logo

Maybe you are looking for