How do I layout my web page using CSS so that the right-hand column doesn't wrap?
On most of my web site (http://sellsbrothers.com), the right-hand column where I keep the search bar and the ads stays on the right-hand side as I intended. However, on some pages (http://www.sellsbrothers.com/Posts/Details/126开发者_JAVA百科70), it doesn't. How do I fix the ones that don't? Thanks!
Looks fine on my machine - generally though, I have this problem if the combined widths including padding and margins are too large. This can sometimes happen when the contents of a div forces it to be larger than you have specified, so you have to take this into account. Try experimenting with the padding/margin/width of each element.
I checked it with firefox 3.6.2 and was able to see both search box and the ads on both pages. You can check for yourself at Browsershots. It is very possible that on certain browser it might not behave it should.
Two Pages at Browsershot:
Result
精彩评论