English 中文(简体)
html表中的冻结田地
原标题:Frozen fields in html tables

我花了整天的时间来研究这一问题,最后决定寻求帮助。

这确实像这里的许多人一样是一个非常相似的问题,但任何接受的答复都没有接近我所需要的。 如果我错了,我感谢一位正确方向的协调人。

我的问题是,我有一个20个行(最大)和18个列的表格。 该栏有各种内容类型:文字、选择、无线电台。

表中的宽度大大高于可以显示的水平,因此需要横向发展。 我需要始终看到头4栏,其余14栏需要滚动。

还有一个问题是,本表的最终使用者将把它放在一个框架中,而我对这些层面没有控制权。

I have found some, unfortunately unsuitable, pieces of code: www.shrutigupta.com/index.php/2005/12/12/how-to-create-table-with-first-column-frozen/ (the rows don t line up well)

acatalept.com/common/test/fixed-table.html (as best as I can tell, is 3 tables)

And, the one the looks most promising but without code: apex.oracle.com/pls/otn/f?p=11630:2:1883191096360711

不管怎样,如果你把窗户转成窗户,其高度低于桌子的高度,你必须把窗户推向底层,以便找到滚动条,使桌子横向滚动。

What we really need, and the only thing that we can really use is exactly the method used at: www.google.com/squared/search?q=world+leaders If you resize the window on this page, the scroll bar will show up at the bottom for just the columns that need it.

请帮助,该项目正在驱使我!

问题回答

use css scroll for overflow for which ever columns need to be scrolled and others be hidden

在干 the中填表或拖 the,申请过量

<table width="100%">
<tr>
<td id="200px">some fixed content</td>
<td>
      <table>
           create rows and table inside this table
      </table>
</td>
</tr>

</table>




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签