TriumphantOgre Posted December 24, 2009 Share Posted December 24, 2009 Here's a truncated version of a table that's causing problems: <table id="box"> <col width="360px" /> <col width="360px" /> <tr> <th id="banner" colspan="2">See more detailed practice guidance in the Procedural Handbook for understanding of potential risk or protective factors. See more detailed practice guidance in the Procedural Handbook for understanding of potential risk or protective factors. See more detailed practice guidance in the Procedural Handbook for understanding of potential risk or protective factors.</th> </tr> <tr> <th id="banner">Identified Protective Factor</th> <th id="banner">Identified Risks</th> </tr> <xsl:choose> <xsl:when test="QuestionSets/QuestionSetsRow[QuestionSetId='CACPSM01']/ Questions/QuestionsRow[QuestionText='The Child(ren)/Young Person(s) Developmental Needs']/Matrix/MatrixRow[RowNumber='1']/Answer"> <tr> <td id="box"><xsl:value-of select="QuestionSets/QuestionSetsRow[QuestionSetId='CACPSM01']/Questions/ QuestionsRow[QuestionText='The Child(ren)/Young Person(s) Developmental Needs']/Matrix/MatrixRow[RowNumber='1'][ColNumber='1']/Answer"/></td> <td id="box"><xsl:value-of select="QuestionSets/QuestionSetsRow[QuestionSetId='CACPSM01']/Questions/ QuestionsRow[QuestionText='The Child(ren)/Young Person(s) Developmental Needs']/Matrix/MatrixRow[RowNumber='1'][ColNumber='2']/Answer"/></td> </tr> </xsl:when> </xsl:choose> <tr> <td id="box" colspan="2"><xsl:choose> <xsl:when test="QuestionSets/QuestionSetsRow[QuestionSetId='CACPSM01']/ Questions/QuestionsRow[QuestionText='Overall Analysis:']/OtherQuestions/OtherQuestionsRow/Answer"> <xsl:value-of select="QuestionSets/QuestionSetsRow[QuestionSetId='CACPSM01']/ Questions/QuestionsRow[QuestionText='Overall Analysis:']/OtherQuestions/OtherQuestionsRow/Answer"/> </xsl:when> <xsl:otherwise> </xsl:otherwise> </xsl:choose></td> </tr></table> The first instance of <colspan> works fine, but the second lets some lines extend across two columns, and others are no longer than the width of one column.I've replaced the XSL:CHOOSE with straightforward text and the output is still random.FF displays the file as expected, but sadly the target audience can only view it on IE6. Link to comment Share on other sites More sharing options...
Guest FirefoxRocks Posted December 28, 2009 Share Posted December 28, 2009 I don't think IE6 supports <colspan>, or at least not very well. Try applying the width to the first cell of the column. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.