Straddled FM Table Cells Not Merged in WebHelp

Using TCS2 on Win XP, generating WebHelp — my straddled table cells in FM are not merged in WebHelp.
Is this a known problem, or is there a way to make this work?
Thanks!

Hi Mike,
I'm confused to where you applied the vertical alignment. Normally, I would set this for the table cells and not the table.
CSS has indeed an order in rendering: There is a point system for determining the CSS to apply. See http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-understanding-css-specific ity/ for a short introduction.
And as an extra to the point system, the place where the styling is present, also determines the styling. Browsers use the following hierarchy (in descending order)
User style sheet defined in the browser.
Inline styling.
Style block in page.
External style sheet
You can overwrite styling from a lower order using the !important declaration. You can use this to make sure that inline styling will not be able to overwrite styles from your style sheet. (Unless the inline styles use !important themselves.) Example:
table.mytable td {
     vertical-align: middle !important;
This will make all the content of table cells in the table with the class mytable to be vertically centered.
Greet,
Willam

Similar Messages

  • Can I force Straddle for table cells in the EDD ?

    This is a question for the techies:
    In my structured EDD, I have created hazard statements according to the ANSI Z535.6 standard, using a table format - with the table heading showing the hazard category (notice, caution, warning, danger) and the rows showing the individual messages. In the individual messages I have an icon to the left and the message text next to it. Visually, it is better to separate the two cells with a thin line. But in the header there is no icon to the left and I would like to remove the thin line. Yes, I am a perfectionist, I know
    Here is what it looks like now:
    As far as I can tell, there is no way to tell Frame to suppress the column separator line in the heading without also removing it in the body rows. And if I do remove the line, there is still a thin white line visible, as the heading cells are filled with an image covering its entire area (but that image does not cross over the invisible line, at least not in the PDF). Another option would be to use straddle on the heading cells, but I need to be able to do everything from the structured EDD and paragraph plus table formats. Is there a way to do this ?
    Thanks in advance
    Jang

    Hi Michael,
    Oh, well. I had already figured out that this is not an option. I did remove the line between the rows, as it does not add any thing to the clarity of the message panels in my hazard statement table. But FM cannot handle two adjacent cells with graphic frames without adding a single hairline between them, even if I told the program that the border should be None. Something about the importance of frames for FM, I guess. I have only been able to remove the extra unwanted and uncalled-for hairline by straddling the cells (manually). Of course I will have to adapt the EDD to allow straddled cells in the header, but that is peanuts compared to the stuff I have been doing to make this design work in the first place.
    As I will have to create a small script to perform a series of necessary steps before a book can be published, and my hazard statement tables all have the exact same small problem, I will probably include a script that goes through the whole book and applies a straddle to any cells in the heading row of any hazard table. Being a perfectionist, writing that script before handing my stuff over to my customer will make me happier than not doing it and saving some time by delivering a solution that does not make me perfectly happy.
    When all the hard work for my current projects is done, I will try to publish an article on how to implement ANSI Z535 compliant hazard statements in structured FM documents. Might be useful for others, too. I will show you my solution at the tcworld fair, if you have some time for that.
    Ciao
    Jang

  • Vertical alignment in table cells not working in generated output

    Using RH9 WebHelp. I have created a simple table style. Because I could not find out how to make cell vertical alignment (top, center, bottom)  part of the style definition, I have been applying it manually to individual whole tables using the cell alignment properties.
    This worked fine for a while, but at some point I noticed that even though the tables look right in Design view, with top-aligned cells contents, it gets hosed in generating output and all tables now come with vertically centred cell contents even through the in-line formatting for top alignment is still there in the code.
    Any ideas?

    Hi Mike,
    I'm confused to where you applied the vertical alignment. Normally, I would set this for the table cells and not the table.
    CSS has indeed an order in rendering: There is a point system for determining the CSS to apply. See http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-understanding-css-specific ity/ for a short introduction.
    And as an extra to the point system, the place where the styling is present, also determines the styling. Browsers use the following hierarchy (in descending order)
    User style sheet defined in the browser.
    Inline styling.
    Style block in page.
    External style sheet
    You can overwrite styling from a lower order using the !important declaration. You can use this to make sure that inline styling will not be able to overwrite styles from your style sheet. (Unless the inline styles use !important themselves.) Example:
    table.mytable td {
         vertical-align: middle !important;
    This will make all the content of table cells in the table with the class mytable to be vertically centered.
    Greet,
    Willam

  • 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.

  • VALIGN in table cells not responding

    I'm trying to change the vertical alignment of content in a table within a fluid grid layout. Before putting the table into the fluid grid (I made it in a separate html5 document), the alignment was fine, but when I copied it in, VALIGN had no effect, and all content defaults to the top of the cell. Is there any way I can change this? I've tried resetting the VALIGN after copying it into the fluid grid, and the table's code reflects that it should be aligned to the bottom, but it still appears at the top, both in Dreamweaver, and every browser I've tested it in.
    Thanks in advance.

    Hi guy -
    I am afraid you are using such obsolete layout methods, you're in for a heap of problems.
    Take a look at the "errors" reported by the W3C validator
    http://validator.w3.org/check?uri=http%3A%2F%2Fwvadmin.dns-systems.net%2FtestHome.html&cha rset=%28detect+automatically%29&doctype=Inline&group=0
    I would put your logo and header text in the same container, and left float the image.

  • "Referenced" Table Cells not copying formatting of the source table

    Hi-
    I have one sheet that has a rental inventory table that is quite large.  On another page, I have a "printable" version that has filtering applied to hide certain columns.
    What I did orginally was duplicate the table on the inventory page, cut it, then go to my printable sheet, and paste it.  I now have a duplicate version of the original.  Then I go and select all cells, hit delete and all the contents disappear leaving me with the correct formating.
    At this point I can type in cells and see that the formating is intact (certain cells are in Bold for example).
    I delete the test contents, then reference the first cell (a1) to the source table, then copy the references across that entire printable table.  Once I've done that, all of the contents of the source table now appear in the "printable" table. 
    The problem is, that once I reference the source table, the formatting goes away.  The data shows up correctly:  ie, =Equip List :: B2, but the specific cell formating is gone.
    What am i doing wrong here?
    Thanks
    Matt

    "I delete the test contents, then reference the first cell (a1) to the source table, then copy the references across that entire printable table."
    If you do this by selecting and Copying the first cell containing the formula, that "copy" includes the formatting of the copied cell. If you then Paste, the Paste includes that format setting. You could try Edit > Paste and Match format.
    If that doesn't work, you could try this:
    Enter, then fill the formula as you've done, then set the format of each cell or group of cells to include the attributes you want at that location.
    Regards,
    Barry

  • Restricting data in the table cell

    Hi,
    I want to know how to restrict the data entereed in the table cell not more than 10 characters. How can i handle this.

    You need to supply your own cell editor instead of using the default one. Create a subclass of JTextField that consumes the keyPressed event when the text length is 10 characters, and call:
    theTableColumn.setCellEditor(new DefaultCellEditor(theTextField));

  • In SSRS , after exporting report in excel,wrap text property for cell and freeze column for SSRS table header not working in Excel

    I am working no one SSRS my table headers are freeze cangrow property is false and my report is working perfect while rendering data on RDL and i want same report after exporting in Excel also , i want my table header to be freeze and wrap text property
    to work after exporting in my report in excel but its not working ,is there any solution ? any patch ? any other XML code for different rendering ? 

    Hi Amol,
    According to your description, you find the wrap text property and fix column is not working after exporting into Excel. Right?
    In Reporting Services, when exporting to excel file, it has limitation for textbox.
    Text boxes are rendered within one Excel cell. Font size, font face, decoration, and font style are the only formatting that is supported on individual text within an Excel cell.
    Excel adds a default padding of approximately 3.75 points to the left and right sides of cells. If a text box’s padding settings are less than 3.75 points and is just barely wide enough to accommodate the text, the text may wrap in Excel.
    In this scenario, it supposed to be wrap text unless you merge cells. If cells are merged, word-wrap does not work correctly. If any merged cells exist on a row where a text box is rendered with the
    AutoSize property, autosize will not work. For the Fix Data Property, it can't be working in Excel. These are features when exporting to Excel. We can't change it because it's by design.
    Reference:
    Exporting to Microsoft Excel (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • InDesign crashes in time of table editing (cell's merge)

    InDesign crashes in time of table editing (cell's merge). Not always, but 1 out of 3 times.

    What version of ID? Is it fully patched? What operating system.

  • Table cells - Problem with merged cells

    Hi
    I was experiencing very weird behavior with my tables until I realized that it was caused by merged cells
    My script gives a dialog which allows the user to choose from which column to start and from which row.
    As the script iterates through the cells in the selection I was getting weird results
    Through using .select() function I was able to see that depending on the column, some times row 5 could be which seems to be row 3!
    The reason was because of merged cells in that row
    I.e., when some cells are merged together, only the first column of those merged cells is recognized - the others are not
    so it comes out that when merging cells from column 3 to 5, column 3 has a cell in that row, columns 4 and 5 do not, and column 6 does!
    Is there a way to get around this behavior?
    Thanks
    Davey

    I don't understand the point of your post.
    If you're trying to report a problem or "bug" with Pages, that is not the purpose of this user-to-user forum. You should leave feedback for the Pages team on this page.
    I've not had a problem opening Word files with tables in Pages. If you're saying Word can't handle tables with merged cells, then don't use merged cells in files you are going to export as Word. Word & Pages must handle merged table cells differently, as I know both can do that. As far as RTF, Pages can open & export as RTF. Again, if you are going to export as RTF, don't use tables. Neither of these is a fault of Pages, just limitations of the formats/programs.

  • Merging Table Cells

    It seem you can add and delete cells in a table. But, can you
    merge them? I haven't been able to find a merge command in any of
    the menus.

    quote:
    I'll pass this on to the engineering team.
    To add to that,
    I think it would also be go to be able to split single cells
    into 2 cells, not to add a row or column but to say, have 1 row
    have 2 columns, but the right-most column would have 2 rows built
    into it. Let me know if I am being unclear.
    Great product.

  • Table cell renderer works with any L&F, but not with Windows

    Hi,
    I created a table cell renderer / editor for a combobox in a table cell. This works all as expected, but if the Look&Feel is com.sun.java.swing.plaf.windows.WindowsLookAndFeel, which is the system L&F on Vista, the selected values in the combobox are not shown in the cell after loosing focus. Metal LF and Motif LF work, and a third party one "TinyLF" works as well.
    Can anyone imagine why, and what needs to be changed to get a cross platform consistency without Metal LF?
    A compilable demo:
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.io.IOException;
    import java.security.NoSuchAlgorithmException;
    import javax.swing.DefaultCellEditor;
    import javax.swing.DefaultComboBoxModel;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JTable;
    import javax.swing.UIManager;
    import javax.swing.UnsupportedLookAndFeelException;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableCellRenderer;
    import javax.swing.table.TableColumn;
    import javax.swing.table.TableModel;
    public class Test {
        static class CellRendererWithComboBox extends JLabel implements TableCellRenderer {
            JLabel label = new JLabel();
             * Set this renderer to the given column
             * @param column
             * @param r
             * @param editable
            public void setRendererTo(JTable table, int column, boolean editable) {
                TableColumn col = table.getColumnModel().getColumn(column);
                JComboBox xc = new JComboBox(new DefaultComboBoxModel(new Object[]{1, 2, 3, 4, 5, 6, 7}));
                col.setCellEditor(new ComboBoxEditor(xc));
                col.setCellRenderer(this);
                xc.setEditable(editable);
            @Override
            public Component getTableCellRendererComponent(JTable table, Object value,
                    boolean isSelected, boolean hasFocus, int row, int column) {
                if (hasFocus && isSelected) {
                    if (isSelected) {
                        label.setForeground(table.getSelectionForeground());
                        label.setBackground(table.getSelectionBackground());
                    } else {
                        label.setForeground(table.getForeground());
                        label.setBackground(table.getBackground());
                    label.setText((value == null) ? "" : value.toString());
                    return label;
                } else {
                    label.setText((value == null) ? "" : value.toString());
                    return label;
            class ComboBoxEditor extends DefaultCellEditor {
                private final JComboBox box;
                private boolean fire = true;
                public ComboBoxEditor(JComboBox b) {
                    super(b);
                    this.box = b;
                    b.setLightWeightPopupEnabled(false);
                @Override
                public boolean stopCellEditing() {
                    if (fire) {
                        super.stopCellEditing();
                    return true;
                public void stopCellEditingSilent() {
                    fire = false;
                    stopCellEditing();
                    fire = true;
        public static void main(String... aArgs) throws NoSuchAlgorithmException, IOException {
            try {
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            } catch (ClassNotFoundException classNotFoundException) {
            } catch (InstantiationException instantiationException) {
            } catch (IllegalAccessException illegalAccessException) {
            } catch (UnsupportedLookAndFeelException unsupportedLookAndFeelException) {
            JFrame p = new JFrame();
            JTable t = new JTable();
            TableModel m = new DefaultTableModel(new Object[][]{
                        new Object[]{1, 2, 3, 4, 5, 6, 7},
                        new Object[]{1, 2, 3, 4, 5, 6, 7},
                        new Object[]{1, 2, 3, 4, 5, 6, 7},
                        new Object[]{1, 2, 3, 4, 5, 6, 7},
                        new Object[]{1, 2, 3, 4, 5, 6, 7}},
                    new Object[]{1, 2, 3, 4, 5, 6, 7});
            t.setModel(m);
            Test.CellRendererWithComboBox f = new CellRendererWithComboBox();
            f.setRendererTo(t, 1, true);
            p.setLayout(new BorderLayout());
            p.add(t, BorderLayout.CENTER);
            p.pack();
            p.setVisible(true);
    }

    1) Your custom cell renderer does nothing extra, so you can depend on default renderer.
    2) Instead of extending JLabel and implementing TableCellReneder, you should extend DefaultTableCellRenderer and override its get renderer method because DefaultTableCellRenderer itself extends JLabel and aditionally it does some optimizations etc., which you can miss if you implement your own renderer.
    3) If you set foreground and background color in last else statement also, then you can see the values correctly in windows L&F as well.
    Thanks!

  • Lines in shaded table cells do not render properly in pdf created in Word 2010

    When creating a pdf with shaded table cells using MS Word 2010; the black lines in the shaded table cells do not show up when looking at the page at a fit page view (anything under  around 60%). They print, they are there when I zoom in, but will not show up if you zoom out.
    I read a forum post in Adobe here which gave some really logical suggestions, but they didn't seem to work for everyone or the level of effort was not what i can put into it. I also tried some of those and variations of those; but they didn't seem to work.
    http://forums.adobe.com/thread/305508
    Did anyone come up with a solution? Some people were saying it's a bug in pdf software, if that is the case, has anyone heard of a resolution?
    I'm using Windows 7 and word 2010 btw, to create the pdf.
    Thanks!!

    Just as a test, have you tried the MS plugin for PDF creation? I have found with other versions of WORD and Acrobat that PDF Maker and the MS plugin can both fill in dots and dashes on vector graphics (basically what the border is) and yet it comes out correctly with printing to the Adobe PDF printer. Unfortunately I do not have a solution. In my case, it seemed to be related to the vector graphic itself (I could import it to InkScape or other vector graphic tool and save to EMF and it then worked fine. It may be something that MS themselves have messed up in OFFICE 2013. Good luck.

  • IPhone UISwitch not appearing correctly in table cells

    I have a table cell with a UISwitch attached to it.
    When you click the switch it works (but not without a bit of code to make it switch when the word 'on' and 'off' are actually clicked) but when the table cell itself is clicked the switch distorts like shown here:
    http://img35.imageshack.us/img35/6510/picture1df.png
    what is the correct way to make a table cell with a UISwitch?

    The code you posted looks like it should work on 3.0 just fine.
    I've tried a custom table cell and it did the same thing
    Assuming your custom subclass was built and used correctly, the above tells me something is definitely wrong in the cell's environment.
    Perhaps it's something to do with the selecting of the row method?
    Well that's certainly the first place to look. The delegate method you posted looks kinky. I would comment out that method, then go back to the solutions that didn't work in the past and see if your tableView:didSelectRowAtIndexPath: hasn't been the problem all along.
    In any case I would get rid of the deselect message in tableView:didSelectRowAtIndexPath:. What are you trying to accomplish there? If you simply want to disable all selections, you can just code tableView.allowsSelection=NO during setup. If you want to know the user's selection but don't want the cell to actually become selected, try something like this in the delegate:
    - (NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    return nil;
    If you want the cell to actually become selected, but don't want its appearance to change, try cell.selectionStyle=UITableViewCellSelectionStyleNone in tableView:cellForRowAtIndexPath:.
    If tableView:didSelectRowAtIndexPath: turns out not to have been the problem, we'll need to look at the rest of your table view code. I've found the kind of problem you described is easily isolated once you have faith in some assumptions. In this case you just need to believe that both the subclass solution and the code in UICatalog will allow a UISwitch to display and operate perfectly. Once you believe that, you'll pay more attention to the rest of you code.
    One excellent way to gain faith in the basic structure is to start a fresh testbed and, for example, use code similar to UICatalog to bring up a table view with a UISwitch in one or more cells. Once you see how easy it is to make that work, you can start backing in some of your more creative init, delegate and/or data source methods until you break the testbed.
    - Ray

  • Want Flash movie to scale with table cell. NOT WORKING!

    Greetings;
    I have authored a Flash movie and it is working fine. When I
    use the html page output by Flash it scales fine but when I cut and
    paste this code into a table cell the movie will not scale (in
    Firefox) and not showup at all in IE 7.
    Help appreciated. Here is the html page output by Flash:
    http://www.howardbakerphotography.com/gallery/bakerGallery.html
    (Scaling fine)
    Here is the content placed inside a simple table cell:
    http://www.howardbakerphotography.com/gallery/index3.php
    (Only shows up small not scaling)
    Help appreciated.
    Rip

    Found the solution myself! It appears the problem was in the
    document type I was declaring:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    *The above was preventing my Flash from scaling when placed
    in a table cell. When I changed it to:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN" >
    It worked fine.
    I'd be curious to know a little more about this problem if
    anyone else has some insight ...
    Is this document type I've gone to now an older one and going
    to eventually go away?
    Rip

Maybe you are looking for

  • ActiveDocument indesign version (cs4 or cs5.5)

    Hi how can we get whether the active document is cs4 or cs5.5. I need to remove pasteboard items. But i have 2 different codes for indesign cs4 and cs5.5. Please help. Thanks, Sangeetha M

  • MSI GT70 2OD eSATA Port

    I might be asking a stupid question here but where is the eSATA port on the MSI GT70 2OD? On the MSI website under specification it states (sorry can't seem to post a hyperlink): eSATA                          1 eSATA/USB  Combo     1 If it is one of

  • Adobe Flash professional

    Hallo zusammen, ich hoffe mir kann jemand mit meinem Problem helfen. Ich bin schon seit längerer zeit am überlegen, ob ich mir Adobe flash Professional mit Dreamweaver etc. zu holen. Jetzt würde ich gerne wissen ob man so sachen auf die Internetseite

  • Error in WEBi

    Hello, Has anyone got this below error message while trying to refresh WEBi report . I am directly accessing BEx queries in WEBi. It was running fine earlier and today i am getting this error message . After i tried refreshing for two times, the thir

  • Lightroom: LR4 won't open - Unexpected error opening catalog

    I cannot open LR4. I get an, "Unexpected error opening catalog. The catalog could not be opened due to an unexpected error." This occurred after a WIN7 update failed.  It restored the system to an earlier version.  In doing so, it also reverted LR4.2