kavita deshpande kavita deshpande - 9 months ago 19
CSS Question

How to force a list to be vertical using html css

I have a list i want to add to a

. Each listitem contains a
which in turn contain an image and a text string. The list must be vertical. I ve tried putting
for the
but the list is flowing left to right horizontally. How do I make the list vertical?


Try putting display: block in the <li> tags instead of the <ul>