remove the space between the lines of tables

Hello

How can I get rid of the excess space between the lines in the attached table?  It looks nice and tight in DW, but extends more place in IE and Firefox.  I tried to adjust the height of the cell but no effect.

Thank you!  TTT

Try to add this CSS to your style sheets 1.  It will not change the cell height, but he's going to build your lists a little.

ul,li {line-height: 1; margin-top:0; margin-bottom:0}

Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
www.Alt-Web.com/
www.Twitter.com/ALTWEB
-------------------------
HTML Validator - http://validator.w3.org

CSS Validator - http://jigsaw.w3.org/css-validator/

Tutorials HTML & CSS - http://w3schools.com/

Tags: Dreamweaver

Similar Questions

  • remove the line spacing of a string

    In the attached VI, I expected my output to a long chain, but instead, it's a chain with what looks like inserted line breaks. This is my output looks like:

    xx xx xx xx xx xx xx xx

    xx xx xx xx xx xx xx xx

    xx xx xx xx xx xx xx xx

    and what I want is:

    xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx

    Is there an easy way to remove the line breaks?

    Thank you

    Just do a "find and replace String" with LF as search string, empty string (or probably a space if necessary) as string to replace and replace all instances set to true.

    Hope this helps

  • How remove the line by line by comparing to the first column?

    Hello!

    I have a problem - I need to remove the line by line, but the problem is, I know that the first COLUMN of the table is a PK.
    To retrieve the NAME of the COLUMN that I use:

    SELECT column_name, table_name FROM USER_TAB_COLUMNS WHERE column_id = 1 and table_name = c1.tmp_table_name;
    But it does not somehow.
    Below you can see my script (which has not worked for now):

    declare
    XXX varchar2 (100);
    Start
    C1 in (select table_name, tmp_tables tmp_table_name) loop
    IMMEDIATE EXECUTION
    ' SELECT column_name in ' | xxx | "USER_TAB_COLUMNS WHERE column_id = 1 AND table_name = ' |" ' || C1.tmp_table_name | " ' ;
    immediate execution
    "start."
    for c2 in (select * from ' | c1.tmp_table_name | start loop ')
    Insert into ' | C1.table_name | "values c2; delete from ' | C1.tmp_table_name | 'where ' | xxx |' = c2.' | xxx |'; exception: when other then null; end; end loop; end;';
    end loop;
    end;

    P.S. The Inserts work perfect. I have a problem with deleting lines that are in c1.table_name, of c1.tmp_table_name (the two tables have the same structure, PK, always), because I have the names of columns different another tables which are PK. (for example: K, ID, NS and so on) Please help me to write the correct script.
    For example this will be for the first line recovered as:
    Start
    C1 in (select table_name, tmp_tables tmp_table_name) loop
    immediate execution
    «Start for c2 in (select * from ' |)» C1.tmp_table_name | Start loop ')
    Insert into ' | C1.table_name | "values c2; delete from ' | C1.tmp_table_name: ' where K = c2. K; exception: when other then null; end; end loop; end;';
    end loop;
    end;
    This script works perfectly. But I have many other tables with different PK - K No.

    Solution with the logging of errors table

    -- create the error-logging table
    CREATE TABLE tbl_MergeErrors (
        Stamp       TIMESTAMP(3),
        TableName   VARCHAR2(30),
        KeyColumn   VARCHAR2(30),
        KeyValue    VARCHAR2(4000),
        ErrorCode   NUMBER(5),
        ErrorMsg    VARCHAR2(4000),
    
      CONSTRAINT pk_MergeErrors
          PRIMARY KEY (TableName, Stamp)
          USING INDEX
    )
    /
    
    -- procedure to insert errors
    CREATE OR REPLACE
    PROCEDURE LogMergeError (pTableName  IN VARCHAR2,
                             pKeyColumn  IN VARCHAR2,
                             pKeyValue   IN VARCHAR2)
    IS PRAGMA AUTONOMOUS_TRANSACTION;
    
        -- you couldn't insert SQLCODE or SQLERRM directly into a table (ORA-00984)
        nSQLCODE   NUMBER(5)      := SQLCODE;
        vcSQLERRM  VARCHAR2(4000) := SQLERRM;
    
    BEGIN
      INSERT INTO tbl_MergeErrors
             (Stamp, TableName, KeyColumn, KeyValue, ErrorCode, ErrorMsg)
          VALUES (SYSTIMESTAMP, RTrim( SubStr( pTableName, 1, 30)),
                  RTrim( SubStr( pKeyColumn, 1, 30)), SubStr( pKeyValue, 1, 4000),
                  nSQLCODE, vcSQLERRM);
      COMMIT WORK;
    
    -- if an error occured here, then just roll back the autonomous transaction
    EXCEPTION
      WHEN OTHERS THEN   ROLLBACK WORK;
    END LogMergeError;
    /
    
    -- create the tables and insert test-data
    CREATE TABLE TMP_TABLES (
        TABLE_NAME       VARCHAR2(200),
        TMP_TABLE_NAME   VARCHAR2(200),
      CONSTRAINT TMP_TABLES_X PRIMARY KEY (TABLE_NAME)
    )
    /
    CREATE TABLE TMP_KL002 (
        K   VARCHAR2(40),
        N   VARCHAR2(200)
    )
    /
    CREATE TABLE TMP_TABLE1 (
        NS   VARCHAR2(40),
        N    VARCHAR2(200)
    )
    /
    CREATE TABLE KL002 (
        K VARCHAR2(40),
        N VARCHAR2(200),
      CONSTRAINT PK_KL002 PRIMARY KEY (K)
    )
    /
    CREATE TABLE TABLE1 (
        NS   VARCHAR2(40),
        N    VARCHAR2(200),
      CONSTRAINT PK_TABLE1 PRIMARY KEY (NS)
    )
    / 
    
    INSERT INTO TMP_TABLES (TABLE_NAME, TMP_TABLE_NAME) VALUES ('kl002','tmp_kl002');
    INSERT INTO TMP_TABLES (TABLE_NAME, TMP_TABLE_NAME) VALUES ('table1','tmp_table1');
    INSERT INTO tmp_KL002 (K, N) VALUES ('00', 'none');
    INSERT INTO tmp_KL002 (K, N) VALUES ('07', 'exists');
    INSERT INTO tmp_KL002 (K, N) VALUES ('08', 'not assigned');
    INSERT INTO tmp_table1 (NS, N) VALUES ('2000', 'basic');
    INSERT INTO tmp_table1 (NS, N) VALUES ('3000', 'advanced');
    INSERT INTO tmp_table1 (NS, N) VALUES ('4000', 'custom');
    COMMIT WORK;
    
    -- to test, if it works correct when primary key values exists before
    INSERT INTO KL002 VALUES ('07', 'exists before');
    COMMIT WORK;
    
    -- check the data before execution
    SELECT * FROM TMP_KL002 ORDER BY K;
    SELECT * FROM KL002 ORDER BY K;
    SELECT * FROM TMP_TABLE1 ORDER BY NS;
    SELECT * FROM TABLE1 ORDER BY NS;
    
    -- empty the error-logging table
    TRUNCATE TABLE tbl_MergeErrors DROP STORAGE; 
    
    -- a solution
    DECLARE
    
        PLSQL_BLOCK  CONSTANT VARCHAR2(256) := '
    BEGIN
      FOR rec IN (SELECT * FROM <0>) LOOP
        BEGIN
          INSERT INTO <1> VALUES rec;
          DELETE FROM <0> t WHERE (t.<2> = rec.<2>);
        EXCEPTION
          WHEN OTHERS THEN
              LogMergeError( ''<1>'', ''<2>'', rec.<2>);
        END;
      END LOOP;
    END;';
    
    BEGIN
      FOR tabcol IN (SELECT t.Tmp_Table_Name, t.Table_Name, c.Column_Name
                     FROM Tmp_Tables t,
                          User_Tab_Columns c
                     WHERE     (c.Table_Name = Upper( t.Tmp_Table_Name))
                           AND (c.Column_ID = 1)
                ) LOOP
        EXECUTE IMMEDIATE Replace( Replace( Replace( PLSQL_BLOCK,
                                   '<0>', tabcol.Tmp_Table_Name),
                                   '<1>', tabcol.Table_Name),
                                   '<2>', tabcol.Column_Name);
      END LOOP;
    END;
    / 
    
    -- check the data after execution ...
    SELECT * FROM TMP_KL002 ORDER BY K;
    SELECT * FROM KL002 ORDER BY K;
    SELECT * FROM TMP_TABLE1 ORDER BY NS;
    SELECT * FROM TABLE1 ORDER BY NS;
    
    -- ... and also the error-logging table
    SELECT * FROM tbl_MergeErrors ORDER BY Stamp, TableName;
    
    -- of couse you must issue an COMMIT (the ROLLBACK is only for testing
    ROLLBACK WORK;
    
    -- drop the test-tables
    DROP TABLE TABLE1 PURGE;
    DROP TABLE KL002 PURGE;
    DROP TABLE TMP_TABLE1 PURGE;
    DROP TABLE TMP_KL002 PURGE;
    DROP TABLE TMP_TABLES PURGE;
    
    -- you shouldn't drop the error-logging table, but I use it to free up my db
    DROP TABLE tbl_MergeErrors PURGE;
    

    Greetings, Niels

  • I need script to remove the line with 2 points, another script to remove next lines

    I need script to remove the line with 2 points, another script to remove next lines of two scripts needed help please

    Thanks in advance

    Concerning

    Lakshmiganth

    Scroll through each pathitem and look at the length of his pathPoints group.  If the length is equal to 2 and then use the remove() method to remove it.  For example (this is rough, off the top of my head):

    var lines = new Array();

    for (i = 0;  I have< app.activedocument.pathitems.length; ="" i++)="">

    If (app.activeDocument.pathItems [i].pathPoints.length == 2) {}

    Lines.push (App.activeDocument.pathItems [i]);

    }

    }

    for (i = 0;  I have< lines.length; ="" i++)="">

    Lines [i]. Remove();

    }

  • remove the line in dataGrid + button

    Hello

    I try to add a button in a DataGrid and give it a value from the dataProvider in Flex

    For example, I have a dataGrid that displays my data and I added a button 'delete' that, once selected needs to get the ID of the selected line in order to remove the line of correct dataGrid / selected etc...

    I've included the button in the DataGrid as a component which is fine, but I'm unable to assign the key a value etc.

    < mx:DataGrid id = "testDG" dataProvider = "..." ">

    < mx:columns >
    < mx:DataGridColumn dataField = "a" headerText = "B" / >
    < mx:DataGridColumn dataField = "b" headerText = "B" / >
    < mx:DataGridColumn dataField = "c" headerText = "C" / >

    < mx:DataGridColumn id = "deleteButtonCol" >
    < mx:itemRenderer >
    < mx:Component >
    < mx:Button label = click on 'Remove' = "must call a function here and pass the row ID" / >
    < / mx:Component >
    < / mx:itemRenderer >
    < / mx:DataGridColumn >

    < / mx:DataGrid >

    It is in a component object I think he cannot communicate with scripts outside this component...? It has something to do with 'flex coupling components' allowing them to communicate.

    Can someone give me one advises on how to on this subject?

    Thank you
    Jon.

    Yes, the code inside an element is in its own local scope. If you need get within reach of the DataGrid (at a higher level), use the property of the component "outerDocument". Some info here:

    http://livedocs.Macromedia.com/Flex/2/langref/MXML/component.html

  • How can I remove a space between the tables?

    In dreamweaver, there seems to be no space, and the page is fine, but when I go into

    Internet explore there is a gap between the tables.  I want my image to be

    at the bottom of my table, based on the footer.

    I tried for hours to solve this problem and I can not, there is always a space between my image of HR helpline and my footer.

    I put all the borders and spacing between cells to 0, but nothing seems to work.
    I have not yet my web site online, so can not tell you what the URL, but when I view source in internet Explorer this is the code:
    < td bgcolor="#FFFFFF"> </td>

    <td width="430" height="200" align="center" valign="bottom" bgcolor="#FFFFFF"> <!-InstanceBeginEditable name = "EditRegion2"->
    < p > <img src=".. "" / frustrated helpline.jpg ' alt="HR helpline" width="331" height="282" border="0" longdesc="" "http://HR telephone helpline" / ><! - InstanceEndEditable - >< /td>
    </ tr >
    </ table >

    < table width="900" border="0" align="center" cellpadding="0" cellspacing='0'>
    < tr bgcolor="#FFFFFF">
    < td valign="top"> <img src="images/Core HR foot 900.jpg Web" width="900" height="81" alt="london surrey berkshire kingston" longdesc="""http://footer"" " / > < /td>
    </ tr >

    </ table >

    Thanks if anyone can help, I'm really new to this.
    Helen

    Add the CSS rule to remove the border from the image

    IMG
    {border-style: none;}
    }

  • A table does not remove the lines

    I created a tabular presentation. I select one or more lines with the line selector. I click the button Delete and you get a warning/confirmation message. I select OK, then refresh the page. I selected the lines are always present.

    I edited the multi-rang button - remove and found that Action of database has been set no Action database, so I changed it to Action SQL DELETE.

    Still not delete.

    What Miss me?

    Hi mdwyer,.

    I edited the multi-rang button - remove and found that Action of database has been set no Action database, so I changed it to Action SQL DELETE.

    No need for the modification of database SQL DELETE action Action, it is correct with no Action from the database.

    I created a tabular presentation. I select one or more lines with the line selector. I click the button Delete and you get a warning/confirmation message. I select OK, then refresh the page. I selected the lines are always present.

    1. check that the request after clicking on delete...

    For example

    JavaScript:apex.confirm (htmldb_delete_message, 'MULTI_ROW_DELETE');

    Here MULTI_ROW_DELETE is passing as request.

    2. change your ApplyMRD process and check the status

    When you press the button: no condition button

    Condition type: request = Expression1

    Expression 1: MULTI_ROW_DELETE

    Check the request that you place the button Delete is same as a condition of the terms of the Expression 1 or not.

    Or better, you can create examples on apex.oracle.com, which helps the user to study and solved the problem.

    If your problem still persists, then try to recreate the form of tables and check.

    Hope this helps you,

    Reg

  • How to reduce the space between two lines in a panelformlayout who is lain in the panelbox?

    Mr President.

    I have a panelbox in which I put a panelformlayout which have two rows as below

    panelformspace.png

    I want to reduce the space between inputfield first and second inputfield.

    Thus, this second inputfield closer to the first inputfield

    Respect of

    You can define simple = true in the first entry field (name), sorround who on the ground with panelLabelAndMessage and add the second inputField (address) about to end of panelLabelAndMessage.

    In fact, you can add more or less space with spacer between them and panelGroupLayout with horizontal layout as a facet of the end child

  • Remove the line with alert button

    Hello

    I have a table which can add and delete rows dynamically. An alert must be added to the button delete what I've done.  The works warning, but when you select OK on the alert line is not deleted.

    It would be the right way to accomplish this?

    I'm not a programmer and now wondering if my edit code is wrong or there is an alternative solution.

    Thank you

    Capture.PNG

    This is the code I have for the button Delete.

    Form1. FSE_1.Pre_EX. Buttons. Remove::click - (JavaScript, both)

    CMSG var = "continues with the action underway will remove all entries in cell in this row.

    CMSG += ' \n\nDo you want to continue?

    var nRtn = app.alert (GSMC, 1, 1, 'Question Alert Box');

    if(nRtn == 4)

    {If (Table1._Item.count > 1)

    Table1._item.removeInstance (Table1._Item.count - 1);

    Console.println ("the answer is Yes");

    }

    Another yew (nRtn is 3)

    {/ / No answer}

    Console.println ("the answer is no");

    }

    on the other

    {//Unknown response

    Console.println ("the response was something other than yes/no:"+ nRtn ");

    }

    ------------------------------------------------------------------------------------------ ----------------------------------

    This is the code I have for the button Delete before adding the alert that worked.

    Form1. FSE_1.Day_1.buttons.Remove::click - (JavaScript, both)

    If (Table1._Item.count > 1)

    Table1._item.removeInstance (Table1._Item.count - 1);

    The way I understand how it works at the moment, is that you remove the last line of the table... If you want to delete the line where is the button Delete, you should be removing the instance itself with its index...

    rather than use the following line

    Table1._item.removeInstance (Table1._Item.count - 1);

    You should have something like this

    'this' being button and tell me that you have a subform to remove and add the button

    Table1._item.removeInstance (this.parent.parent.index); the first parent is the subform and the second parent is the line

    I hope this helps!

  • Dynamically apply the color to the lines of Table

    Hello

    I use JDeveloper - 11.1.1.6.0 version

    I have a requirement to apply the background color for rows in the table dynamically.

    In the table, I have a few lines with a checkbox.

    When I select the checkbox of the line, the line selected as well as lines before and after the selected line should be displayed with a background color.

    Please let me know of inputs for this question.

    Thank you
    Ravi

    Hello

    You can do this by surrounding components of the cell (outputText, inputText, checkBox etc) with for example a panelLabelAndMessage component. Then on this property of component inlineStyle use EL to refer to a property of the managed bean. The managed bean property can now assess the State of checkbox selection. The part of thing in your question is to say during the rendering of the previous and next row that the checkbox in the line between has been selected. You must find a way to say this. An option would be to apply the logic as below

    JUCtrlHierNodeBinding currentRenderedAdfRow = ... use facesContext --> getApplication --> getExpressionFactory --> createValueExpression to create a handle to the #{row} expression
    Row rw = currentRenderedAdfRow.getRow();
    
    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingEntries();
    
    DCIteratorBinding dciterator = (DCIteratorBinding ) bindings.get("Name of iterator used by table ");
    RowSetIterator rsIterator = dciterator .getRowSetIterator();
    
    Row prevRow = rsIterator.setCurrentRow(rw);
    int currRowIndex = rsIterator.getCurrentRowIndex();
    
    Row prevRow = getRowAtRangeIndex(currRowIndex-1);
    Row nextRow = getRowAtRangeIndex(currRowIndex-1);  
    
    //return CSS that colors the background if the following conditions are true
    
    if ( ((DataType) rw.getAttribute("checkBoxAttr")) ||  ((DataType) prevRow .getAttribute("checkBoxAttr")) |  ((DataType) nextRow .getAttribute("checkBoxAttr"))){
    
      //color background returning CSS
    
    }
    
    else{
      return empty string
    }
    

    I wrote this code to the top of my head, to ensure you are looking for null pointers (for example if there is no such thing as a prev-line). Also consider caching the calculation so that it doesn't have to be performed for each cell in a row, but only once per line. For example you can save the color and the line key in a bean managed in scope view and then compare the key with this bean managed before performing the calculation

    Frank

  • Help - Add line and remove the line does not!

    Not able to understand why the button "Add and Remove row" do not work.

    Thanks in advance

    Hello

    To remove the specified line, use the function

    Table1._Row1.removeInstance (IND);

    where ind is the index of the line.

    You should put the button Delete in each row of the table and write onClic script:

    Table1._Row1.removeInstance (this.parent.index);

    BR,

    Paul Butenko

  • I want a user to be able to set day/remove the lines that they inserted

    Hi guys,.

    I have a table 2 inserting users. They can also change/remove lines in the table. However, I don't want them to be able to set day/remove other ranks of users. I just want that they have update/remove at the level of the line.

    How can this be achieved?

    Thank you

    I don't think that Oracle Label Security would be as good as opions as just using row-level security, RLS, also say Fine Gain Access Control, FGAC, just in this case. Private virtual database, CAE, has been mentioned, but Oracle defines EVP as RLS more Oracle contexts so use, technically, all that is necessary if only the user column pseudo-device is used to apply the predicate checking is RLS. From a practical point of view, there is no real difference, but Oracle made the distinction in the manual.

    IMHO - Mark D Powell-

  • How to eliminate or remove the zeros of table 1 d

    How to remove or delete the zeros of table 1 d. Let's say I table 1 d with following elements

    "0 0 0 0 0 4 0 0 9 0 0 1 4 0 0 0 0 0 0 0 0 10 9 0 0.

    So after deletion or removal of zeros, it will become as follows

    "4 9 1 4 10 9.

    So any body can guide me how I can do? See picture attached for more details.

    Thank you

    JK

    I do not know this post might help you.

  • How to get the line object table View

    Hello

    I use Jdev 11.1.1.7

    My requirement is, there are two ways I can get lines in my logic, you're based getFilteredRows (RowQualifier) and vo.executeQuery () - on a specific condition or I should consider first or later...

    getFilteredRows() returns the line [], I need to find a way to make [Row] of the View object properly after ececuteQuery() on the VO... When I use vo.getAllRowsInRange () which returns only a single line, but what iterate the VO even, I see that there is more than one line... How can he get all the range of the VO table?

    Thank you

    You can set the size of the field-1?

    ViewObjectImpl (Oracle ADF model and Business 10.1.2 API components reference)before calling getAllrowsinRange?

  • To remove the line on click of a button

    Hi friends,

    I use JDeveloper 11.1.1.5.0.

    I have a table full of 10 lines. I have a delete button. Click on the button I want to delete the selected line.

    The method works well, but compared to the level of the page it will not be deleted immediately.

    If I refresh the page, then it shows that the line is deleted.

    Please help me.

    Thank you

    $@M$

    Add the following two lines in your code before the return of rt;

    this.getEmployeeDetailsVO1().clearCache() ;
    this.getEmployeeDetailsVO1().executeQuery() ;
    

    as for your code below

    ExternalContext ectx =
    FacesContext.getCurrentInstance().getExternalContext();
    HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
    HttpSession SessionId = (HttpSession)ectx.getSession(true);
    String Id = (String)SessionId.getAttribute("Id");
    

    You can simply use

    String Id = (String)ADFContext.getCurrent().getSessionScope().get("Id");
    

    And the value in use of session

    ADFContext.getCurrent().getSessionScope().put("Id","YOUR_VALUE");
    

    Let me know if it works for you :)

Maybe you are looking for