0
1 행 3 열의 테이블이 있습니다. 그러나 기둥이 제대로 정렬되지 않았습니다. 다음과 같이 표시됩니다 :표의 셀 서식을 문제가 있습니다.
Table _tbRequiredDocFormat = new Table();
TableRow row_requiredDocCount = new TableRow();
TableCell cellLabel = new TableCell();
TableCell cellFileInput = new TableCell();
TableCell cellBtn = new TableCell();
//add label, RadAsyncUpload and Button to cells.//
//formatting as below::
this._tbRequiredDocFormat.Rows[requiredDocCount].Cells[0].Width = Unit.Percentage(30);
this._tbRequiredDocFormat.Rows[requiredDocCount].Cells[0].HorizontalAlign = HorizontalAlign.Right;
this._tbRequiredDocFormat.Rows[requiredDocCount].Cells[0].VerticalAlign = VerticalAlign.Middle;
this._tbRequiredDocFormat.Rows[requiredDocCount].Cells[1].HorizontalAlign = HorizontalAlign.Left;
this._tbRequiredDocFormat.Rows[requiredDocCount].Cells[1].VerticalAlign = VerticalAlign.Middle;
this._tbRequiredDocFormat.Rows[requiredDocCount].Cells[2].HorizontalAlign = HorizontalAlign.Left;
this._tbRequiredDocFormat.Rows[requiredDocCount].Cells[2].VerticalAlign = VerticalAlign.Middle;
모든 시도에도 불구하고, 나는 가까운 세포를 가지고 캔트. 나는 센터의 테이블과 셀을 서로 가깝게하여 더 잘 보일 수있게합니다. 해결책을 제안하십시오.
_tbRequiredDocFormat.CssClass = "CenterTable";
있는 테이블이 스타일을 추가 정렬하려면묻는거야? 어떤 라이브러리, 도구 또는 네임 스페이스에서? – Plutonix
이 테이블이 표시 될 컨테이너의 html을 게시합니다. – Mairaj