且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

用HTML表示舞台脚本的***方法是什么?

更新时间:2023-11-26 23:40:58

我第二次出现异端:-)

I second the heresy :-)

在使用表之前总是考虑CSS-但表确实确实是最合适的.在这种情况下看起来像这样.

Always good to consider CSS before resorting to tables - but often tables really are the best fit. It looks like it in this case.

唯一需要考虑的是可访问性.我听说表格使文本阅读器软件更难以处理表格,但是我不明白为什么会这样(如果您了解更多,请在此处随意评论).

The only additional consideration would be accessibility. I've heard that tables make it harder for text reader software to process tables, but I don't see why this would be the case (feel free to comment here if you know more).

另一件事-我想您会首先以其他某种格式保存原始数据-也许是数据库,xml或其他结构化文本?

One other thing - I presume you'd be holding the raw data in some other format first - perhaps a database, or xml or some other structured text?

在任何情况下,使用这些东西将其转换成xml格式并将其转换为html都可以相当解放.

In any case, getting it into an xml format and tranforming that to html with xslt can be quite liberating when it comes to playing with this stuff.