When you put an inline list of items in a div with a fixed width a开发者_如何转开发nd set overflow to hidden, the elements stack vertically.
Anyone have any css hacks to get them to remain inline while hidden. Possibly using overflow:hidden without a width?
Thank you in advance!
There are many methods that can be used to making a horizontal list. The main ingredient is "display: inline", applied to the "LI" element.
Read this article for details:
http://css.maxdesign.com.au/listutorial/horizontal_master.htm
Fixed! Have to put elements in a container with a null "big" width so it won't wrap. =P
精彩评论