Set tab position relative to column/table cell width?

I'm creating a form that, not surprisingly, has lots of "blanks" for users to fill out, many of them with $ signs preceding them, like so:
Mortgage $ _________________
Credit cards $ _______________
Loans $ ___________________
So the traditional nice way of doing this is to set a right tab at the right edge of the column with an underscore for a tab leader. I've set up a paragraph style with the tab set like this, so all I have to do is '$'-tab to fill the space.
But other sections of this form use multiple columns, something like:
                    Applicant 1                    Applicant 2
Mortgage      $ _______________        $ _______________
Credit cards  $ _______________        $ _______________
Loans           $ _______________        $ _______________
So I put these into tables.
Problem is, these columns are a different width than the others; and I have other widths throughout the document. I'd prefer not to have to create a new paragraph style for each column width. What I really need is a way to set a tab not at a fixed location but "at the right edge of the column" or something similar.
Is there a way to do this in InDesign?
Thanks.

What you want is a "right indent" tab (Shift + Tab). These flaot with the column width, but becasue you don't set them in the tabs panel or the style definition, you can't easily apply a leader. You can however apply an underline to the tab itself, which a lot of us think is nicer, anyway. Use a character style to do that for efficiency (and you can do it in a nested style).

Similar Messages

  • Setting App Div relative to a Table

    Hi. I'd like to set an AppDiv relative to a specific Table cell. So its x-y coordinates are 'locked' witin that cell, but the cell - and its table - may float within  the page (for example, always in the center). How to?
    Thanks in advance...

    First you would insert a relatively positioned <div> container in the table <td> cell (see below)
    <td>
    <div id="holder" style="position: relative;">
    </div>
    </td>
    Then in the relatively positioned <div> container you would insert your absolutely positioned <div> (see below)
    <td>
    <div id="holder" style="position: relative;">
    <div id="positioned">This is an absolutely positioned container</div>
    </div>
    </td>
    Use some css to style and position the absolutely positioned <div>
    #positioned {
    position: absolute;
    left: 0;
    top: 100px;
    width: 250px;
    height: 200px;
    background-color: #FC3;

  • Setting a CellEditor on a single table cell

    I am trying to get a combo box of choices to display for single cell of a JTable. I currently implemented a 2 column table that contains a key in the first column and a value in the second column. What I want to do is set the second column for a particular "key" to use a combo box to display a list of choices. Is this possible??

    You can set the editor for a specific column, but if you want to set it for one specific cell, you probably have to subclass JTable and override getCellEditor(int, int).

  • Setting tab position and alignment in one shot

    Is there anyway to add a tab and set the position and alignment at once?
    myParagraph.tabStops.add().position = myTabPosition;
    The problem I am having is I don't know how to reference the tab to set
    its alignment.

    Hi Fred,
    It'll work on most add() operations--it's our attempt at adding the AppleScript "with properties" statement to JavaScript.:-)
    Thanks,
    Ole

  • How to paste tabbed data directly into FM7 table cells?

    <<<<on edit.... changed FM8 to FM7... I have FM7, not FM8>>>
    Hello
    I'm working on a documentation job that requires a pasting external data into existing table cells in FM7.
    I have tried several things but I can't find a way to paste the data directly into the table cells.  The source data can be delimited text, or spreadsheet cells. Neither can be pasted into an existing table.   The only way I can make this work is to first paste it into FM as text, then convert it to another table, and then copy/paste from that table into the existing one.  This is a lot of extra work and it seems there should be a way to paste external data directly across table cells.   I also tried "paste special" but that is not an option when I have table cells selected.
    Any ideas???
    It would be much appreciated!
    Thanks
    Gary Beckwith

    Gary, just had a thought -- I've worked on several projects where I used variables in tables that might work better for you.
    Basically the idea is to pre-populate the tables in your chapter with variables in the cells, and then import a minimalist MIF file that only contains the variable definitions for the pre-existing variables.  The minimalist MIF file can be made quite easily from a database or from an Excel CSV or TSV export by using various scripting utilities to convert comma-delimited text into the MIF syntax.
    I've created chapters that had hundreds of thousands of cells with variables in them, and updating the variables is incredibly quick.
    The best way to approach the variable naming is to come up with a convention that is easy to apply, I found .r1c1 etc to be a good starting point (the period so that the variables all sort in the same place in FM, the lower-case letters to make the variable's name as horizontally short as possible.

  • Automatically Sizing Table Cell Width Using CSS

    How can I get my CSS sheet to automatically size the width of
    the table cells where text is located?
    Example
    Page

    quote:
    Originally posted by:
    Newsgroup User
    That's how table cells work with no prompting from you, if
    they have no
    width assigned at all.
    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
    ==================
    "rmiman" <[email protected]> wrote in
    message
    news:ev0h1o$a4j$[email protected]..
    > How can I get my CSS sheet to automatically size the
    width of the table
    > cells where text is located?
    >
    >
    http://www.rminc.com/test_examples/test3.html
    I know but let's say I want to have a table with a width of
    600px and 5 columns, 2 of those colums have content and the other 3
    don't. I want those 2 columns with content to automatically size
    themselves but since my table has a width of 600px it won't
    work.

  • Locking Table Cell width/height

    Is there a way to lock a table size width or height?
    Thanks,
    Lorne

    > I'm open to suggestions for how to organize these
    galleries? We have
    > hundreds
    > of photos and we really are wanting to have ONE .html
    page per project.
    > Not
    > twelve or what not.
    >
    Go here -
    http://www.projectseven.com/
    Look at their slideshow extensions. You won't find better
    ones anywhere.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "lorne17" <[email protected]> wrote in
    message
    news:g4besi$dsh$[email protected]..
    > I'm trying to get an image gallery with thumbnails. But
    half our images
    > are
    > landscape the other half portrait. So it's hard to get
    them to be the
    > same
    > resolution. Some are panoramic too.
    >
    > So what I need is a way to have my images show up on the
    site without
    > disrupting the format the text.
    >
    > Look here: www.barleypfieffer.com Click
    portfolio/residential/any
    > project.
    > You'll see our current layout. The last web designer has
    each and every
    > image
    > a different webpage. So trying to add new projects and
    update current
    > just
    > takes entirely too long.
    >
    > I'm open to suggestions for how to organize these
    galleries? We have
    > hundreds
    > of photos and we really are wanting to have ONE .html
    page per project.
    > Not
    > twelve or what not.
    >
    > Thanks,
    > Lorne
    >

  • Table cell widths and images

    I am try to create a able that will have 4 columns in all but
    the the layout will be flexible.
    That is the text might span 3 columns and an image might be
    in the remaining 1 column. Or the timage will span 2 columns and
    the text in the remaining 2 columns. Sort of a flexible magazine
    layout that can combine text and photos. . you can see what I came
    up with at this URL
    http://www.historicchevychasedc.org/test/
    Even though the drawing of the house is much small than the 3
    columns it occupies it throws the whole layout off. When I removed
    the image or replace it with txt the layout looks fine. (When it
    looks fine the first paragraph starts to the immediate right of the
    small photo, there isn't that large gap of space. This paragraph
    spans 3 columns)
    Is there anyway to make tables behave? Or is there a solution
    sans table that is flexible enough to accommodate a variety of text
    and photo arrangements?
    Tom

    Hello,
    I agree with Malcom.
    Separate tables or nested tables if you must use tables, but
    don't merge
    cells as it can cause trouble, especially rowspans.
    The layout you built could also be built by placing all the
    text in a div
    and floating the images to the left or to the right.
    Here's some great info:
    http://css.maxdesign.com.au/floatutorial/
    Take care,
    Tim
    "Malcolm _" <[email protected]> wrote in message
    news:[email protected]..
    > On Mon, 25 Aug 2008 21:03:23 +0000 (UTC), "TSemmes"
    > <[email protected]> wrote:
    >
    >
    >>
    http://www.historicchevychasedc.org/test/
    >>
    >> Even though the drawing of the house is much small
    than the 3 columns it
    >>occupies it throws the whole layout off. When I
    removed the image or
    >>replace it
    >>with txt the layout looks fine. (When it looks fine
    the first paragraph
    >>starts
    >>to the immediate right of the small photo, there
    isn't that large gap of
    >>space.
    >>This paragraph spans 3 columns)
    >
    > If you want to use tables for this - I would not try to
    put all the
    > rows in one table, but would have a one table for each
    image - and
    > with a second row if you wanted a caption underneath.
    >
    >
    >>
    >> Is there anyway to make tables behave? Or is there a
    solution sans table
    >> that
    >>is flexible enough to accommodate a variety of text
    and photo
    >>arrangements?
    >>
    >
    > I gave up with tables for things like this some time ago
    - just used
    > CSS-P floats to contain images and floating text next to
    the images.
    > --
    >
    > ~Malcolm~*...
    > ~*

  • How to set different renderers to same column

    I am trying to set different renderer to same column.
    table.getColumn("columnname").setCellRenderer(
                   FirstCellRenderer);
    table.getColumn("columnname").setCellRenderer(SecondCellRenderer);
    I want both to work at the same time.
    It is taking the second renderer but not first.
    Can anyone please help me, how can i achive it.

    In my situation i need first renderer for all the columns in the table.
    Second renderer only for one column.(which shows thw column value as tooltip)
    Can you please tell me how can i do it.
    when i tried to consolidate in one renderer , it is showing me the same value to all the columns.

  • Table cells not editable in Contribute

    I have a date table (inside a CSS layout) which displays incorrectly in Contribute Edit mode.This is the URL http://www.greencs.co.uk/accreditations.html
    In Contribute Edit mode, the right hand column of the table (which contains the PDF certificates) is pushed far out to the right (beyond the rest of the layout) which makes it impossible for the cells in this column to be edited. This also happens in Dreamweaver; the table width is 598 pixels but the Display width (in parenthesis in Dreamweaver) is 1300 px. Does anyone know why the Display width, which I assume Contribute is using in Edit mode, is so wide..... and how I can constrain it.
    I have tried adding various table cell widths but to no avail. Help.....
    Many thanks

    This problem has been solved by placing the logo images in their own table cell instead of floating left. The float and adjacent text caused the problem. Thanks to Neil Gibson @cvwcreative who came up with the solution on Twitter.

  • "position:relative" in jsp

    I have a html file in which I have a scrolling table with a fixed header. I achieve this by CSS and adding the attribute "position:relative" for the table header. I open it in IE6 and I have my functionality with the table body scrolling and the header fixed.
    Now I have the same html code in my jsp and the whole table including the table header scrolls. it takes the value "overflow:auto" which allows scrolling, but it somehow doesnt take the value "position:relative" , which, results in my header to scroll.
    Why is my jsp not respecting the "position:relative" attribute?
    Raghav

    I have done this in my JSP. To freeze header you have to use the following code in your THEAD (css),
    top: expression(document.getElementById("mytable").scrollTop-1);
    z-index: 10;

  • Jtable cell width in JFileChooser

    I wonder if there is a way to adjust the table cell width in JFileChooser ?
    When I list the "My Computer" directory, I can see a list of drives in a JTable, such as "A:\", "C:\", "D:\", I've set it that way so that it displays the JTable view details as default. But the widths of the columns aren't the way I'd like to see, how can I adjust the cell widths of "Name", "Type","TotalSize" ...
    Thanks
    Frank

    uhmm yes, but i want to set automatically at run time,Then you need to calculate it at run time. Search the forum. There are many postings on this topic that give a solution. Basically you loop through all the rows in the column and invoke the prepareRenderer(...) method of the table and save the largest width and then set the TableColumn width.

  • CSS positioning within table cells

    Maybe I've just been staring at this too long but I'm stumped. I want to  position a table (could be a list) within a table by setting the parent  element to relative and the position of the child element to absolute.  The only problem is that I can't get my table cells to act as parent  elements so the smaller table (or list) positions itself relative to the  wrapper div which is also set to relative. Do I have to create divs  within the table cells? If so it sort of defeats the purpose of the  table. How can I do this using appropriate markup?
    Hope this makes sense. I think my brain has gone numb.
    Here's the page I'm trying to fix:
    http://www.kirstencassidy.com/_miniprints2.html
    Thanks in advance for your help.

    Lon Winters wrote:
    What I see is a table with red borders that contain images left justified. What do you want to position - the images? I think you could do all this in CSS without any tables.
    I think what the OP is trying to do is position some text to the right of the images?
    Obvious answer as the OP has used tables is to insert another 2 column table into each existing table cell, one for the image an one for the text.
    Alternative is to use css to float the images left, give the image a right margin and then the text will appear to the right of it in the table cell. Then just style the text with some css?

  • How do I position AP Div Tags relative to a Table?

    Hi!
    I know that it is possible to position an AP Div Tag relative to the header using a template in Dreamweaver. However, I am not able to position to relative when using a table so if you know how then help would be appreciated! Thank you! (I am using CS5 by the way)

    webdesigner3383 wrote:
    Hi!
    I know that it is possible to position an AP Div Tag relative to the header using a template in Dreamweaver. However, I am not able to position to relative when using a table so if you know how then help would be appreciated! Thank you! (I am using CS5 by the way)
    Not sure why you want to do this as it can be hit and miss.
    I would insert a <div> in a table cell and set its position to relative and then insert an absolutely positioned <div> inside of the relatively positioned one:
    <td>
    <div style="position: relative;">
    <div style="position: absolute; top: 50px; left: 40px;">Content goes here</div>
    </div>
    </td>
    I think that should work although I havent tried inserting <divs> inside a <td> cell for many moons.

  • Columns within table cells

    Is it possible to have more than one column within a table cell?

    You can create tabular columns within a table cell. You can type a tab character either by choosing Type > Insert Special Character > Other > Tab, or pressing Option+Tab (Mac). (I can't test this on Windows, but I think Alt-Tab is used to switch between applications, so you could set up a different keystroke in Edit  > Keyboard Shortcuts.) Then you can use the Tab panel to set tab stops within the cell, as if it were a text frame.

Maybe you are looking for

  • Can I use a single QuickTime Pro key on more than one computer?

    I would like to use QuickTime Pro at both home (Windows Vista) and at work (Windows XP). Can I do this using a single purchased key, or do I need to buy two separate keys, one for each machine? It's a rather stupid question, but I can't find an strai

  • Slow/fast/reverse problem

    sorry if this has been posted before. when i try to apply this effect it does one of multiple things. it either renders and then the clip turns black and won't play, it wont render at all, or the clip renders and then when i click to play it it plays

  • QI status in PO

    Dear sapients we have source inspection active in our system is it possible to bring the status of the inspection in purchase order. kantha

  • Rebuilding Library ??

    The situation is that I sold my Mac and copied my iTunes music folder onto a hard drive along with photos and movies etc. New Mac Pro has arrived and I will be using an ssd for boot & apps with all the data on, lets say hard drive A in bay #3. iPhoto

  • Help me in looping

    I want to print 1 23 345 4567 but I stopped at 1 21 312 4123 coz i don't know how to ++ to the next line. My code is for ( a = 1; a <= height; a++)     System.out.print(a);          for ( b =1; b <= a-1 ; b++)        System.out.print(b);        Syste