I have the following code that makes up my website - http://jsfiddle.net/XhgPk/
How would I be able to make it so that the different colored div
sections display inline with each other rather than jumping up and down because of the content?
--
Answer: http://jsfiddle.net/YpEuN/
Add vertical-align: top; to your .horizontal class.
高度问题...你可以编写一个小的jquery函数来调整li元素的高度,这个高度应该是ul的高度,这应该是最高的li元素的高度。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.