Hello, I have created a div for tag cloud. The CSS I use is: #TagCloud { margin: 0px; text-align: justify; width: 200px; background: #ffffff; } #TagCloud ul { list-style: none; } #TagCloud li { display: inline; } Were the list of tags are in: <div id="TagCloud"> <ul> <li>word_1</li> <li>word_2</li> ... <li>word_n</li> <ul> </div> For some reason, the text is not set as "inline" and the line is going out of the 200px div border. Does someone knows how that can be fixed? Thanks.
The code you posted isn't valid (typo?). You aren't closing the list. But we don't know if it's like this on your actual page. Coming out of the div, it shouldn't do unless you have white-space: nowrap; on it.