N00b question - Setting Table Heights

I have a table inside a layer, i want to set that table to
have lets say 10 columns and i want the entire table height to be
100 px.
What happens is that the table doesn't change its size, what
happens is that the table is larger then the div itself in the
page.
So how do i change it and limit the table height as I wish?

Shrinking a container will not force the contents to also
shrink. A table's
height is determined by its contents, no matter what the
height of the
table's container is.
Just for the record, table height is invalid HTML (always has
been), and
will be ignored by modern browsers on pages that have valid
and complete
doctypes.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"AirParker" <[email protected]> wrote in
message
news:[email protected]...
>
http://38.113.149.34/Untitled-2.html
>
> notice the left table, its inside a layer, if i set the
layer height to
> auto
> the table is expending the layer like it should in
perfect size, but, when
> i
> try to make the layer smaller so the table will get
small too u can see
> the
> result in the link above.
> I've tried to set it by giving the table an height too
like that:
>
> <table width="225" height="250" align="center"
> class="teams_fixture_table" >
>
> Didnt really do much, guess its not supporting that
option in a table...
>
> as u can see its easy to make the table bigger, then the
layer is
> expending as
> well, but how do i make the table smaller, without
removing columns?
>
>
>
>
> Originally posted by: Newsgroup User
> perhaps an url would render other suggestions?
>
>
> "AirParker" <[email protected]> wrote
in message
> news:[email protected]...
> >I have a table inside a layer, i want to set that
table to have lets say
> >10
> > columns and i want the entire table height to be
100 px.
> > What happens is that the table doesn't change its
size, what happens is
> > that
> > the table is larger then the div itself in the
page.
> >
> > So how do i change it and limit the table height as
I wish?
> >
> >
> >
>
>
>
>
>
>

Similar Messages

  • Setting table height to fill browser window

    I am trying to create a table that fills the browser window
    it is in. See
    http://www.hopkinsandporter.com/about/careers.shtml
    for an example. I applied a height of 100% to the table. Doesn't
    work. I also used CSS to create a style
    .table {height: 100%}
    but this doesn't work either. Any suggestions?
    Tom

    http://www.apptools.com/examples/tableheight.php
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "TSemmes" <[email protected]> wrote in
    message
    news:e4vpep$76h$[email protected]..
    >I am trying to create a table that fills the browser
    window it is in. See
    ><a
    > target=_blank class=ftalternatingbarlinklarge
    > href="
    http://www.hopkinsandporter.com/about/careers.shtml">http://www.hopkinsand
    > porter.com/about/careers.shtml</a> for an example.
    I applied a height of
    > 100%
    > to the table. Doesn't work. I also used CSS to create a
    style
    > .table {height: 100%}
    > but this doesn't work either. Any suggestions?
    >
    > Tom
    >

  • ADD a Parameter fixed height from "NI_Word.lvclass:Word Set Table Dimension.ni"

    I would add a parameter to fixed or no the dimension height of the row.
    It can add a parameter form the Generation Report from "NI_Word.lvclass:Word Set Table Dimension.ni".
    Thank you
    Jérôme

    I would add a parameter to fixed or no the dimension height of the row.
    It can add a parameter form the Generation Report from "NI_Word.lvclass:Word Set Table Dimension.ni".
    Thank you
    Jérôme

  • Dynamic table height for Printed PO Report

    I have created a RTF template for Printed Purchase Order report using Microsoft Word. The template has Header and Line information. I have two questions.
    1) Lines are printed in Table format. I also print header level notes in Line Section.
    If the header notes are blank, I want the line information (line #, Item Number, Description, quantity etc) to be moved to line1. How do I acheive this?
    I want to dynamically adjust the Table height based on the information printing in the line section. The table has two rows. One for Header notes and one for Line information.
    2) Header notes field is placed in Description column of Line Table (MS word). Currently Header notes are printing within the Description column as wrapped text. I want to print Header notes in one line. How do I expand this field to print in one line?
    Thanks,

    Hi,
    Even I faced the same problem, however I have found a workaround to come out of this problem.
    My PO design template has 16 lines, I am counting the number of lines with data and subtracting the same from 16 and inserting that many empty rows to increase the table height.
    I am pasting the code so that it will be useful for others.
    Paste this code before LINES_ROW for-each loop. This will give the number of lines present.
    <xsl:variable name="_XDOFOTOTAL" select="count(.//LINES_ROW)"/>
    Paste this code at the end of the for-each loop.
    <!-- 16 is the maximum number of rows which fits in my page.-->
    <xsl:variable name="_cnt" select="16-$_XDOFOTOTAL"/>
    <xsl:call-template name="countdown">
    <xsl:with-param name="countdown" select="16-$_XDOFOTOTAL"/>
    </xsl:call-template>
    This function you can put it at the end.
    <xsl:template name="countdown">
    <!-- Instead of for loop. -->
    <xsl:param name="countdown"/>
         <xsl:if test="$countdown">
              <fo:table-row keep-together="always">
              <fo:table-cell/>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell xdofo:use-attribute-sets="c_33 c_35">
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell xdofo:use-attribute-sets="c_33 c_35">
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell/>
              </fo:table-row>
              <!-- Call the template again -->
              <!-- The below code is like x=x-1 -->
              <xsl:call-template name="countdown">
                   <xsl:with-param name="countdown" select="$countdown - 1"/>
              </xsl:call-template>
         </xsl:if>
    </xsl:template>
    If some one is having a better solution, please share.
    Regards,
    SURESH KUMAR M R

  • Table height in Smart Forms

    Hi all
    I am using a table in smartforms main window and set its pattern as per the requirement.And i have given the minimum height of table as that of main window.
    If there is only one line item the height of the table is not growing to that of the main window.I cann't use Template as the contents will increase.
    My Only Question is how can we fix the size of the table to that of main window irrespective of the table contents.
    Quick Response is appriciated
    and rewarded.
    Regards
    Pavan

    That is not possible. The table height will be adjusted to the amount of data that is there in the table.
    The minimum height for a table is used for a different purpose. If there is not enough space on the current window for the table to be printed as specified by Minimum height, then the table will be printed on the next page.
    Please mark points if the solution was useful.
    Regards,
    Manoj

  • AS: setting table properties in ID CS3 invokes odd error message

    I'm converting an InDesign CS2 script to CS3 and am having the strangest error. This code used to work in ID CS2 for the selected text frame:
    >tell parent story of insertion point 1 of selection
    >set theTable to make table with properties {width:gridColumnWidth, body row count:totalGridRows, header row count:0, footer row count:0, column count:totalGridColumns, height:gridRowHeight, left border stroke weight:gridBorderWeight, right border stroke weight:gridBorderWeight, top border stroke weight:gridBorderWeight, bottom border stroke weight:gridBorderWeight, left border stroke type:"Solid", right border stroke type:"Solid", top border stroke type:"Solid", bottom border stroke type:"Solid", space after:0, space before:0}
    >end tell
    But now it chokes and gives me this strange error:
    >Adobe InDesign CS3 got an error: Invalid value for set property 'height'. Expected number or string, but received 21.80909090909093.
    Huh? That obviously has to be a number or string, so what's going on? What's even weirder is if I delete all the table properties except for weight and height, the script doesn't give the error. I know I can do this with a table style, but I'd like to understand what the problem is before I take that step.

    Shane:
    I was completely distracted by another project and am just getting back to addressing this problem. Sorry about that.
    Anyway, your suggestion was a sound one: I set the width and height in the first statement, added everything else in a second statement, and it worked perfectly. Thanks! Any idea why I needed to do so?

  • Using JDAPI to set the height of the Forms Canvas to it's default value

    Hi,
    I've been trying for a while to use the JDAPI to set the height of the Oracle Form Canvas to it's default value.
    Can anyone advice how to do this ?
    Can the currCanvas.inheritProperty(arg0) be used in this case ?
    Thanks in advance,
    regards

    Hi David,
    Note that I used a Footer Row in my Table. Headers and Footers have special properties. (A poster in the last couple of weeks asked for a summary of Header and Footer properties - somewhat frustrated that he couldn't find a succinct description in the User Guide. Well, there isn't one and the answer is so complicated that nobody has taken on the project. Now we have a new version of Numbers and the answer would need to change.)
    The way to avoid the error is to use a Footer Row and to use the shortcut cell reference notation: =SUMIF(C,TRUE,B). The columns are specified, but the row range is not. Footers are exempt in this notation, so no error is generated regarding a circular reference.
    Hope this clears it up.
    Jerry

  • How to set  row height  for  each row

    Hi
    i am trying to set rowheight of row in a JTable using setRowHeight(row,rowheight)
    it is not affecting on Table.but if i use setRowheight(rowheight) it applying
    entire table ,please help me to solve this problem
    after setRowHeight(row,rowheight), i am calling firechanged() method also ,i t will not affecting please hemp me
    how to set row height at runtime in a JTable

    Ok fine... do one thing... post ur code here let me check and tell u....
    Ciya.....

  • Set Table Location for Reports(Command Objects)

    Hi SAP Gems,
    I would like to thank TED,Merry,Jonathan, Shawn, and all the developers contributing to this community.
    I would really appreciate any help on following question:
    1. I have a report designed in CR 2008 against DB2(JDBC Connectivity).
    2. The report is working fine in the designer.
    3. There are five sub reports in the main report.
    4. The main report doesnt have any command object however every child/sub report has command object with paramaters.
    5. Every subreport is linked.
    6. I would like to change runtime datasource location for this report using CRJ 2.0 SDK'S.( from AIX to Windows BOX)
    7. Both BOX's have same database schema.
    8. I am able to view the report in the jsp page using SDK's, however "set table location doesnt works and prompts me the error:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
    *There is no problem with the code because the sample code is taken from sdn.sap as it is and it works for other report without subreport and command objects.
    I tried using the following code piece but again same problem.
    if(table instanceof com.crystaldecisions.sdk.occa.report.data.CommandTable)
                        IProcedure command = (IProcedure)table;
                        ParameterField commandParam = (ParameterField) command.getParameters().get(0);
                        Values values = new Values();
                        ParameterFieldDiscreteValue pfdv = new ParameterFieldDiscreteValue();
                        pfdv.setValue("ANTON");
                        values.add(pfdv);
                        commandParam.setCurrentValues(values);
    I would like to know if I dont want to set the command level param using:
    ParameterField commandParam = (ParameterField) command.getParameters().get(0);
                        Values values = new Values();
                        ParameterFieldDiscreteValue pfdv = new ParameterFieldDiscreteValue();
                        pfdv.setValue("ANTON");
                        values.add(pfdv);
                        commandParam.setCurrentValues(values);
    would the parameter would be prompted automatically?
    how do I find what paramaeter to set and how ?
    Regards,
    Jonathan Roy

    Hi ,
    Can any one help please?
    Ted !! I would really appreciate an answer from you.
    Regards,
    Jon

  • Set isolatedHtmlContainer height when displaying portal page

    Hi,
    I have a portal application which displays portal pages from the pcd in isolatedHtmlContainer.
    The page's content is dynamic so the height is not fixed and therefore in the page's properties the height's value set to 'Automatic'
    However, when working with isolatedHtmlContainer the height could be set in pixels or percentage only (I cannot set it to 'Automatic').
    p.s
    If the height was fixed I could get it by the profile of IPortalComponentContext, but if I will do that I'll get a string like 'Automatic' which doesn't help me...)
    Thanks,
    Omri

    Hi Martin,
    I read the blog but the javascript doesn't affect my IsolatedHtmlContainer.
    Let me rephrase my question:
    In the portal innerpage I display X IsolatedHtmlContainers (my application decides how many pages to display). Each container has dynamic content (a portal page from the pcd), therefore, I have a problem setting the height of the IsolatedHtmlContainers (too low - scrolling bar, too high - blank space).
    The properties of the portal pages from the pcd are set as follows:
    isolation method - URL
    height method: Automatic
    If I display the pages without the IsolatedHtmlContainers, the 'Automatic' feature works and the page's size is OK.
    So my question is:
    Is there a way for the IsolatedHtmlContainer adjust its size according to its content?
    Thanks,
    Omri

  • DW 8 - Table Height 100%

    What's the secret to get it to work?
    I have a table at the top of my site that contains a masthead
    graphic, below that - I have another table that I want to extend
    all the way down 100%. I have that table height set to 100% as I
    did when I had DW mx, but for some reason - it doesn't work now.
    I'm viewing the site on IE 7 and Firefox.
    Thanks

    Table height is not deprecated. It was never a part of the
    HMTL specs.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    ": Nadia : ** Adobe Community Expert **"
    <[email protected]> wrote in message
    news:[email protected]...
    > That's because DWMX didn't use a valid doctype, so that
    it rendered pages
    > on non compatible browsers in quirks mode. Table height
    is not valid,
    > it's deprecated, but it can be made to work with a
    correct doc type... see
    > if this helps:
    >
    >
    http://apptools.com/examples/tableheight.php
    >
    > --
    > Nadia
    > Adobe® Community Expert : Dreamweaver
    > ----------------------------------------
    > CSS Templates |Tutorials |SEO Articles
    >
    http://www.DreamweaverResources.com
    > ~ Customisation Service Available ~
    >
    http://www.csstemplates.com.au
    > ----------------------------------------------------
    > Spry Widget Examples
    >
    http://www.dreamweaverresources.com/spry-widgets/
    > ----------------------------------------------------
    > ~ Forum Posting Guidelines ~
    >
    http://www.adobe.com/support/forums/guidelines.html
    > CSS Tutorials for Dreamweaver:
    >
    http://www.adobe.com/devnet/dreamweaver/css.html
    >
    >
    >
    >
    >
    > "darone75" <[email protected]> wrote in
    message
    > news:[email protected]...
    >> What's the secret to get it to work?
    >>
    >> I have a table at the top of my site that contains a
    masthead graphic,
    >> below
    >> that - I have another table that I want to extend
    all the way down 100%.
    >> I have
    >> that table height set to 100% as I did when I had DW
    mx, but for some
    >> reason -
    >> it doesn't work now. I'm viewing the site on IE 7
    and Firefox.
    >>
    >> Thanks
    >>
    >
    >

  • Table height issue

    Hey,
    on my website below :
    http://www.scenekill.com/parkway/home.php
    just made a rough mock up of it to test everything, and this
    is probably something dead simple, but I have a big table with a
    bunch of smaller ones in it and the main one has a width of 670px
    and the height is set to 100% so even when this isn't enough
    content to stretch down to the bottom the border will still go all
    the way down, but as you can see from my site this isn't happening.
    Just wondered if anyone can see what i'm doing wrong?
    thanks in advance

    Here's the deal.
    A doctype on an HTML page tells the browser how to render the
    page. If
    there is no doctype, or if there is an invalid one, the page
    is rendered in
    quirks mode. If there is a valid doctype, the page is
    rendered in standards
    mode.
    DMX inserted a broken doctype on the page (i.e., functionally
    equivalent to
    no doctype). Earlier versions inserted NO doctype. Hence, all
    these pages
    are rendered in quirks mode.
    In quirks mode, the browser makes an attempt to render
    invalid HTML. Not
    all browsers attempt the same rendering - so you will see a
    variety of
    differences, comparing one browser to the next on the same
    page.
    In standards mode, the browsers all render the same (so they
    say - but in
    practice, while not true, it's much more uniform).
    Table height is invalid HTML. It always has been - it was
    never a part of
    HTML's specs.
    Browsers in quirks mode will try to render table heights.
    Browsers in
    standards mode willl not.
    Geddit?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Joso" <[email protected]> wrote in message
    news:[email protected]...
    > Hey,
    >
    > on my website below :
    >
    >
    http://www.scenekill.com/parkway/home.php
    >
    > just made a rough mock up of it to test everything, and
    this is probably
    > something dead simple, but I have a big table with a
    bunch of smaller ones
    > in
    > it and the main one has a width of 670px and the height
    is set to 100% so
    > even
    > when this isn't enough content to stretch down to the
    bottom the border
    > will
    > still go all the way down, but as you can see from my
    site this isn't
    > happening. Just wondered if anyone can see what i'm
    doing wrong?
    >
    > thanks in advance
    >

  • Contribute doesn't let us remove table HEIGHT value that IT PUT IN

    IE displays tables incorrectly when a "Height" value is set
    on a <table> tag, also this markup doesn't validate. So I
    need to give instructions to Contribute users I support for how to
    remove the table height values from the pages they created with
    Contribute... only CONTRIBUTE doesn't provide a way to do this!!!
    Try this:
    1. create a new document in Contribute with only one table
    with three rows and three columns and populate it with text
    table width: 600
    border: 1
    cellpadding & cellspacing: 0
    first col: 300 px
    second col: 150 px
    third col: 150 px
    2. Publish and view source code: no height tags.
    3. Open the document again for Editing in Contribute.
    Select the entire table (click inside the table, then Table
    > Select Table), then drag the lower edge to make it taller.
    This adds a heights value to the <table> tag. Confirm
    this by publishing and viewing source.
    4. Now TRY to remove that height value in Contribute. It is
    impossible.
    This doesn't work:
    Table > Select Table, Table > Table Cell Properties...
    , click "Row and Column" tab, click "Fit to Contents" radio button.
    This also doesn't work:
    Selecting the table and dragging it smaller.
    Maybe I am overlooking something?

    Hi Ibarim,
    verticalAlignment will not work for VBox when you have two or more children and which are direct children. When you have only one direct children for VBox then it will work. Normally we use verticalAlignment="middle" for HBox and not VBox. Since VBox lays out its children vertically this property won't work when you have more than 1 children.
    You can try this
    <mx:VBox id="vb1" width="400" height="100%" verticalAlign="middle">
    <mx:VBox id="vb2" width="200" height="50%">
    </mx:VBox>
    </mx:VBox>
    <mx:VBox id="vb1" width="400" height="100%" verticalAlign="middle">
         <mx:CheckBox id="chk" label="My CheckBox"/>
    </mx:VBox>
    The above two combinations work correctly as you have only one immediate children....But if you see the below case...
    <mx:VBox id="vb1" width="400" height="100%" verticalAlign="middle">
         <mx:VBox id="vb2" width="200" height="50%" backgroundColor="yellow" verticalAlign="middle">
              <mx:CheckBox label="Check Box"/>
             <mx:VBox id="vb3" width="200" height="50%" backgroundColor="blue">
              </mx:VBox>
         </mx:VBox>
    </mx:VBox>
    Now in the above case you can see that VBox vb2 is vertically aligned middle in the VBox vb1 as vb2 is the only one direct child of VBox vb1. Whereas now in the VBox vb2 Check Box and VBox vb3 are not vertically aligned in the VBOx vb2 as because now VBox vb2 contains two children.
    Hope this is clear and make you understand the problem.
    Thanks,
    Bhasker

  • Fixed Table Height for PO Report

    Hi,
    We have a problem in adjusting the height of the table for Purchase order Report.We are displaying lines and shipment information in the table.
    But the shipments data is varying for each line due to which the table height is also varying on each page.
    We tried fixing this by counting lines but this didn't help.
    Cant we fix the table height so that it runs throughout the page irrespective of the number of lines it contains and gets attached to the footer information at the Bottom of the page.
    Urgent help required.
    Thanks in advance.

    My suggestion would be to figure out the maximum number of lines the layout can handle and fix that number. Then modify the program that generates the XML output to create that many lines i.e. if the max number is 50 and your PO contains 2 lines, create 48 additional dummy blank lines so that the layout is always satisfied. For overflows, i.e PO contains 52 lines, make sure the program handles it.
    Just my suggestion. I've used it for AP checks, where the layout is stub over check and it works great.

  • Simple question about table structure and HR in BW

    i need to following data from HR:
    current FTE, employee number, cost place
    i dont think the current FTE is stored per employee. Therefor is would need a list that contains:
    mutation start date, mutation end date, FTE, employee, cost place
    i think cost place is a custom field.
    my question : what tables names and field names do i need?
    Thanks in advanced

    Hi,
    For Head Count you can use 0HR_PA_0 datasource and the other Employee details like start date and end date you can get them from employee master data and FTE can be calculated from the Emloyee Master Data and Head count data.
    Hope this helps...
    Thanks,

Maybe you are looking for