2014-09-05 4 views
0

테이블 데이터 안에 테이블을 만들고 싶습니다. 하지만 내가 원하는 바깥 테이블과 내부 테이블 사이의 차이를보고 있습니다. 나는 이미지를 첨부 할 수없는 오전CSS의 두 테두리 공간이없는 테이블 안의 테이블

내 코드 :

<table class="clearfix sureIQTable scanoTable borderGray TableBottomBorder" id="softTissue"> 

    <tr> 
    <th nowrap="nowrap" style= "width:1px; background-color: #88A4BB;"></th> 
    <th nowrap="nowrap" style="width:87px; background-color: #88A4BB;"></th> 
    <th class="textLeft" style="font-size:12px" colspan="17"> 
    <span class="textLeft"><xsl:value-of select="ScanModeParam/comment"/></span> 
    </th> 
    </tr> 
    <tr> 
    <th class="textLeft" colspan="3" style="background-color: #88A4BB;vertical-align:top;font-size:15px;font-weight:normal; white-space: nowrap;"><img src="images/GG_Helical.png" alt=""/><br></br>                

     <td> 
     <table width="100%"> 
     <tr > 
     <th class="textCenter width30px" style="font-size:14px;font-weight:bold">Start</th> 
     <th class="textCenter width100px" style="font-size:14px;font-weight:bold"><xsl:value-of select="ScanModeParam/StartTime/@DisplayName"/></th> 
     <th class="textCenter width100px" style="font-size:14px;font-weight:bold"><xsl:value-of select="ScanModeParam/WaitTime/@DisplayName"/></th> 
    <th class="textCenter width100px" style="font-size:14px;font-weight:bold">Start Position(mm)</th> 
    <th class="textCenter width100px" style="font-size:14px;font-weight:bold"><xsl:value-of select="ScanModeParam/Range/@DisplayName"/></th> 
    </tr> 
    </table> 
    </td> 
    </tr> 
    </table> 

사람이 나에게

감사

당신이 그것을 시도 할 수
+1

나약 CSS를하시기 바랍니다에 대한

? –

+0

정의 코드/jsfiddle 필요. –

+1

실제로 문제를 보여주는 HTML 코드 (생성을위한 XSL 코드가 아님)와 CSS 코드를 게시하십시오. –

답변

0
<table width="100%" border="0" cellpadding="0" cellspacing="0"> 
+0

나는 작동하지 않는 bt를 시도했다. 그러나 position : absolute를 사용하면 틈이 없지만 오른쪽에서 너비가 압착됩니다. 어떤 도움이 필요합니까? –

+0

귀하의 css 코드와 html 코드 –

+0

안녕하세요 Samuele, 코드 기반이 매우 깁니다. 나는 커스텀 코드를 게시 할 것이다. 하지만 내 질문은 간단합니다. 아래 행과 같이 테이블을 만듭니다.

\t \t \t \t \t
\t \t \t \t \t \t \t \t \t \t
\t
기본적으로 CSS 규칙은 내부 테이블과 외부 행 사이에 간격이 있음을 나타냅니다. 내 요구 사항은이 차이를 원하지 않는다. –

0

를 도와 주 시겠어요?

셀 사이에 공백을 만들려면 테두리 붕괴 사용 : 축소; CSS

table{ 
    border-collapse: collapse; 
    border-spacing: 0px; //It is for IE 
} 
+0

나는 작동하지 않는 bt를 시도했다. 그러나 position : absolute를 사용하면 틈이 없지만 오른쪽에서 너비가 압착됩니다. 어떤 도움이 필요합니까? –

+0

당신은 지금 당신의 o/p라고 말할 수 있습니까? 그리고 y/y는 예상 된 o/p입니까? –