HTML报纸专栏 [英] HTML newspaper columns
本文介绍了HTML报纸专栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图使用文本块创建报纸样式的列。我想让文本均匀分布在两列,这可以对文本中的长度变化做出反应。
这是可能使用HTML / CSS,如果不是
感谢
解决方案
/ p>
- 适用于打印介质的介质不适合显示介质。不得不向上滚动继续阅读似乎不是一个好主意。毕竟,网页的长度不受限制...
- 你不能用CSS2。我认为CSS3支持(不确定),我怀疑大多数浏览器都支持。
你的最好的选择,但它不会为那些禁用JS的用户工作。
I'm trying to create newspaper style columns using a block of text. I would like the text to be evenly spread out across 2 columns which could react to change of length in the text.
Is this possible using just HTML/CSS, if not could javascript be used?
Thanks
解决方案
Two notes:
- What works for a printed medium isn't good for a display medium. Having to scroll up to continue to read doesn't seem like a good idea for me. After all, Web pages aren't limited in length...
- You cannot do that with CSS2. I think that CSS3 has support for that (not sure), I doubt it is supported by most browsers.
So I suppose JS is your best bet, but it won't work for users with disabled JS, of course.
这篇关于HTML报纸专栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文