我们可以使用表来设计一个表单吗? [英] Can we use tables to design a form?
本文介绍了我们可以使用表来设计一个表单吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我设计一个表单时,我发现使用表格设计表单可以更容易,更简单,而不是使用CSS。
但是,这是一个很好的技术使用?
以后会影响网站的灵活性吗?
解决方案
While I was designing a form, I found that designing a form using tables can be much easier and simpler instead of using CSS.
But, is this a good technique to use?
Will it affect the flexibility of the website later?
解决方案
HTML is about structure, CSS about design. So if your form semantically is a table, because you have key/value pairs, like "name", "surname", "email", etc. along with the user entered value, simply use a table as structure and design it using CSS.
这篇关于我们可以使用表来设计一个表单吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文