Setting the row height of the table with CSS

I'm trying something for a project I'm working on. I created a table that resembles the creation mode, but when I see him live or in a browser, the elements are spaced too far. It seems that the height of the table, it is not this design point of view shows that it is. How can I change the attributes of tables to adjust the height for items will be close together and whitespace not so? Here's what I did:

MONDAY

Take advantage of our 2 for 1 special dinner in the entire menu (up to $8.95 discount)

TUESDAY

House margaritas or any kind of beer for only $2.95!

WEDNESDAY

Enjoy 2 dinners for $20.00 from our special menu
(This special offer cannot be combined with any other offer)

THURSDAY

Ladies Night! For only $5.00 martinis

FRIDAY

Happy Hour at the bar alone 4-7 PM

MARIACHI BAND SUNDAY LIVE!

I'm sure I'm missing something stupid, but any help will be appreciated. Here's the real link in my browser:

http://ymimusic.com/delete.html

Thank you very much!

It's the abbreviation CSS.  Rather than express margins and padding with 8 lines of code like this:

{#divName}

top of the margin: 12px;

padding-top: 12px;

right margin: 12px;

padding-right: 12px;

margin-bottom: 0px;

padding-bottom: 0px;

left margin: 12px;

padding-left: 12px

}

You can get exactly the same thing with just 2 lines of CSS code shortcut.

{#divName}

margin: 12px 12px 0 12px;

Padding: 12px 12px 0 12px;

}

Nancy O.

Tags: Dreamweaver

Similar Questions

  • Set the table using CSS: table, tr, th

    I'm looking to define a table using CSS format.  By browsing items in the school of W3 and google, I defined the next element in the CSS nickname:

    {table. Members}
    do-family: Arial, Helvetica, without serif.
    do-size: 11px;
    make-style: normal;
    make-weight: bold;
    Color: #000000;
    text-align: left;
    padding: 2px;
    vertical-align: top;
    white-space: normal;
    }

    {Th.Members}
    Color: #000000;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    padding: 3px;
    background-color: #808080;
    make-weight: bolder;
    }

    {TR. Members}
    Padding: 6px;
    Color: #000000;
    do-size: 11px;
    border: 1px solid #000000;

    }

    The name of my table is 'members' and I attribute the code of the 'members' class to the table.  The CSS for table.members seems to be inferred correctly page.  However, the tr.members th.members and the definition header line are not.

    Can someone comment on what I need to fix?  Here is a link to the web page.

    http://aosweb.org/Membershipx/bbmember_list.php

    Thank you.

    What follows instead... Note the new line of code in red and the comment beside her

    {table. Members}
    do-family: Arial, Helvetica, without serif.
    do-size: 11px;
    make-style: normal;
    make-weight: bold;
    Color: #000000;
    text-align: left;
    padding: 2px;
    vertical-align: top;
    white-space: normal;
    border-collapse: collapse;  / * This is what prevents the double border on cells * /.
    }

    different th {}
    Color: #000000;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    padding: 3px;
    background-color: #808080;
    make-weight: bolder;
    }

    / * apply the style to thenot the*/

    different td {}
    Padding: 6px;
    color: #0000CC;
    do-size: 11px;
    border: 1px solid #000000;
    }

    The above should work.  I have here an example of an example of worksheet:

    http://www.DreamweaverResources.com/tutorials/TableCellBorders.htm

  • Need help to replace the tables with CSS

    Having trouble finding how to recreate these stacked boxes:

    http://96.0.181.107/_report-containers.html

    like div using only CSS, keeping the same look/padding.

    I want to close the space between the containers by a few pixels, that I can't do with tables and use the simplest code possible.

    Thank you!

    Try this (view source to see the code)

    http://ALT-Web.com/test/boxes.html

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • implementation of the table with the scroll bar. (data scrolling)

    Hello

    I want to show the web service data in the table with scroll bar using java script or html or css .actuall I want only a part of the screen is not whole screen scrollable. can you suggest how it is possible.any suggestion? I used phone gap technology. I used iscroll but it does not work in blackberry data are not displayed in the Simulator... Help, please

    Thank you

    ravi1989 wrote:

    Hello

    I want to show the web service data in the table with scroll bar using java script or html or css .actuall I want only a part of the screen is not whole screen scrollable. can you suggest how it is possible.any suggestion? I used phone gap technology. I used iscroll but it does not work in blackberry data are not displayed in the Simulator... Help, please

    According to devices/operating systems that you want to support, you could give bbUI.js a change. It works really well in most of the cases, and I think there are a lot of things you don't need to worry more because bbUI.js is just for you.

    Look more at the scrollPanel example that does exactly what it takes, a part only of the entire screen of scrolling you can configure a height in the HTML source code directly.

  • How to set the table at the bottom of the Page

    Hi all

    I was working with Oracle apps r12 and Oracle 10 g BI report.

    I was working with customer appraisal report. I have the table used for aging bucket. This table should set at the bottom of the page.

    We have the personalized message to the footer before this fotter message that this table must get fixed.

    Thanks and greetings

    Srikkanth

    Hello

    I tried, but useless, don't is there another way to set the table at the bottom of the table.

    Concerning

    Srikkanth.M

  • Identify the tables with data or not

    Hello

    I want to find the tables with data and containing not data without checking each table. Is there a possible way?

    Like this?

    select
      table_name,
        to_number(
          extractvalue(
            xmltype(
     dbms_xmlgen.getxml('select count(*) c from '||table_name))
            ,'/ROWSET/ROW/C')) count
      from user_tables;
    

    Or may be

    select
      table_name,
       CASE WHEN
           to_number(
              extractvalue(
                xmltype(
         dbms_xmlgen.getxml('select count(*) c from '||table_name))
                ,'/ROWSET/ROW/C'))>0 THEN 'Table Has Data'
        ELSE 'Table is Empty'
        END
      from user_tables;
    
  • 'For' loop with a different number of iterations. Second, the auto-indexation of the tables with different sizes is done. It can affect the performance of the Vi?

    Hello

    I have a loop 'for' which can take different number of iterations according to the number of measures that the user wants to do.

    Inside this loop, I'm auto-indexation four different 1 d arrays. This means that the size of the tables will be different in the different phases of the execution of the program (the size will equal the number of measures).

    My question is: the auto-indexation of the tables with different sizes will affect the performance of the program? I think it slows down my Vi...

    Thank you very much.

    My first thought is that the compiler to the LabVIEW actually removes the Matlab node because the outputs are not used.  Once you son upward, LabVIEW must then call Matlab and wait for it to run.  I know from experience, the call of Matlab to run the script is SLOW.  I also recommend to do the math in native LabVIEW.

  • Can fill us transitional attribute in the table with no serial like 1,2,3, etc.? And how?

    Mr President.

    Can fill us transitional attribute in the table with no serial like 1,2,3, etc.? And how?

    Concerning

    You want to show serial No. on the page for all the lines?

    Check once-

    Blog of Ashish Awasthi (Jdev/ADF): Add the serial number to the table of the ADF, column to auto-increment in the table to the ADF

    Actually transitional attribute loses its value when page refreshes or viewObject is not appropriate in this case if your use case is different, so please tell us

    Ashish

  • I want to change the table with the expression of dangerousness of the virtual columns with her, need advice

    Hi all

    Here is the structure of the table with two expression of virtual columns associated highlighted, now I want to delete these expressions with virtual columns (but must keep my VIRTUAL columns as it is).

    Is it possible the alter or I need to raise the table, make a new structure and copy content back to newly structured table... Pleae help!

    CREATE TABLE TEST_COL)

    SAGE_TRADE_TYPE VARCHAR2 (50 BYTE),

    LOCAL_TZ VARCHAR2 (20 BYTE),

    ACE GMT_CONV_ENTERED_DT_TS (SAGEDBO. FN_CONVERT_TIMEZONE (LOCAL_TZ, ENTERED_DT_TS)) VIRTUAL,.

    ACE GMT_CONV_EXECUTION_DT_TS (SAGEDBO. FN_CONVERT_TIMEZONE (LOCAL_TZ, UPSTREAM_EXECUTION_TS)) VIRTUAL,.

    EOD_IND VARCHAR2 (10 BYTE)

    );

    Thank you very much

    Arpit

    Try this

    ALTER table test_col change gmt_conv_entered_dt_ts (0) virtual;

    ALTER table test_col change gmt_conv_execution_dt_ts (1) virtual;

  • How to export data from the table with the colouring of cells according to value.

    Hi all

    I use jdeveloper 11.1.1.6

    I want to export data from the table with a lot of formatting. as for color cells based on value and so much. How to do this?

    You can find us apache POI-http://poi.apache.org/

    See this http://www.techartifact.com/blogs/2013/08/generate-excel-file-in-oracle-adf-using-apache-poi.html

  • How the values to insert into the table with the command insertion

    Dear all
    can someone tell me how the values to insert into the table with the command insert, I want to say I always use command insert behind my forms on what shutter release button press the button of my save, but today I had a form of 6i, where controls (textbox, combo, etc.) are delineated with directly the table with I guess than the Properties Windows , I created 3 columns in tand 3 text on forms fields, now kindly tell me how to do this fields to fill and do not insert command, I mean directly defined with table column



    Please help me its urgent

    Hello

    If the block is based on your database table, just committed the shape, then changes will be applied to the database.

    François

  • Creating the table with time stamp

    I need to create the table with the data inside buffer

    Can you help me pls

    If it works today,

    create the table test_04NOV2010 in select * from product where product_code = '101'

    If executed tmrw,

    create the table test_05NOV2010 in select * from product where product_code = '101'
    declare
    
    v_date varchar2(25);
    v_sql  varchar2(20);
    
    begin
    
    select to_char(sysdate,'DDMONYYYY') into v_date from dual;
    
     v_sql := ' create table ' ||TEST||'_'||'v_date'|| 
                 ' as '
                 ' select * from Product where product_code = '101'
              
     EXECUTE IMMEDIATE v_sql;
    
    end;
    can is it you pls let me know how to use it in PL SQL

    Can you help me pls

    Thank you very much
    declare
    
    v_date varchar2(25);
    v_sql  varchar2(2000); --Noted this. this was also small.
    
    begin
    
    select to_char(sysdate,'DDMONYYYY') into v_date from dual;
    
     v_sql := ' create table TEST_'||v_date||
                 ' as select * from Product where product_code = ''101''';
    
     EXECUTE IMMEDIATE v_sql;
    
    end;
    

    You can use the Q operator also.

    DECLARE
    
    v_date varchar2(25);
    v_sql  varchar2(2000);
    
    BEGIN
    
    select to_char(sysdate,'DDMONYYYY') into v_date from dual;
    
     v_sql := ' create table TEST_'||v_date||
                Q'[ as select * from Product where product_code = '101']';
    
     EXECUTE IMMEDIATE v_sql;
    
    END;
    

    Published by: mohamed on November 4, 2010 05:32

  • Fill the table with random values

    Another thing I've come across is this:
    the table name is LOR, who has 3 fields NUMBER, DATA, TEXT with number, date and varchar2 data type.
    On a page, I have a text field where if I write 3, then it would add 3 lines to the table with predefined values ("number, something like 2222, for 12 January 09, and for text, something like" Lorem ipsum dolor sit amet, 195kgs adipisicing elit"). So basically, with the number that I give, it populates the table with lines... How can I do this? Thanks for helping me
    INSERT INTO LOR
    SELECT 222
    , sysdate
    , 'you string'
    FROM dual
    CONNECT BY level <= :Pxx_
    
  • Hide or show rows in the table with AppleScript?

    I have a large table number, and I sometimes want to display the entire table and sometimes select a group of lines to hide or show, to make the display of data more convenient.

    By selecting many rows to hide is tedious (there are many, and they are not contiguous).  So I would use AppleScript to do this.  But in the numbers AppleScript dictionary, I don't see any way to apply an attribute "hidden" in rows, columns or beaches.  Y at - it a trick I'm missing?  Or it simply not exist in the current implementation?

    Thank you

    AFAIK, you can't hide a line or set a height of 0 using AppleScript, although I suggested that any time via numbers of > provide comments numbers in the menu.

    What you could do is filter the table to hide the lines, probably by adding a column filter designating the lines that you want to see (or, conversely, hide).  This filter can be turned on and off via AppleScript using the filtered table property, although it would probably be easier to do via the integrated interface.

    SG

  • How to set the table rows spacing and line changing automatically if is limit

    Greetings,

    I use JDeveloper 11.1.2.4. By default, if you set (or not) the table width and the line is its width, it will create a scroll down bar.

    Is what I want to do, if the text inside each row its greatest width, to change the line inside his line. TO

    more to explain it, I'll demonstrate a small table below:

    MESSAGE ID

    1 Hello Philip

    2 Hello Philip

    3 How are yo

    u today?

    4 tries...

    This way, if the text in the column 'message' is the largest say width 40, to increase his height of line automatically if the text

    fits inside 1 row without creating a scroll bar.

    Thanks in advance for any help.

    Have you attempted to assign noWrap = "false" on af:column?

    Dario

Maybe you are looking for

  • Try to disable the animation on the tab bar

    I used to use Firefox 3.6 and finally upgraded to version 7.0.1. I like 30 + tabs open and something REALLY unpleasant notes in my Firefox. I don't think remember 3.6 having this problem as well, but at the time I was able to Google it and turn off n

  • merger of the FP of the children

    Hello, I just discovered lvoop a try to use it I wonder to know how to share front vi of mother with children, that is to say: I have a form of class mother instrument: manufacturer, series,... children calibration date can add, for example, correcti

  • Problem with floppy drive 3 1/2 (a :))

    When I try to copy a file (excel, laptop etc.) on a diskette in the drive (A :), the system restarts due to a blue screen error.)  He said that the problem is caused by a device or driver.  The solutions are to install the latest updates, search for

  • How do I share media between a100 tab (Clear.fi), Windows Vista Acer and Samsung series 6 tv?

    I have a Samsung series 6 tv DLNA, an Acer a100 (Android Honeycomb 3.2) with Clear.fi Tablet and a Dell WIndows Vista laptop.  I am not technically savvy... How can I set something to the top, so I can use my laptop or tablet to show movies, pictures

  • Display has stopped working on printer Envy 110

    LCD display went blank. He has done this twice in the past and was able to reset by connecting the power cable. Does not work now. Any suggestions for how to get to work, OR is it possible to have the screen controls appears on your desktop, so it ca