CSS displaying elements vertically down instead of hortizontal straight

Aredosheedo

New Member
I have elements which are wrapped inside a div . The elements are displayed in a horizontal direction inside the div.The problem is , I can't figure out how to display the elements vertically down direction.I done some research and one solution was to use vertical-align but it doesn't seem to work.Here an example of what I"m trying to accomplishhttp://s9.postimg.org/6i34jzazz/save.jpgMy CSS\[code\] .container {height:500px; width: 700px; background-color:#00B358}\[/code\]My HTML\[code\] <html> <head><meta charset="utf-8" /><link rel="stylesheet" href="http://stackoverflow.com/questions/15825118/css/navigation.css"> </head> <div class="container "> <img border="0" src="http://stackoverflow.com/questions/15825118/download.jpg" alt="Pulpit rock" width="304" height="228"> <img border="0" src="http://stackoverflow.com/questions/15825118/1.jpg" alt="Pulpit rock" width="304" height="228"> <img border="0" src="http://stackoverflow.com/questions/15825118/2.jpg" alt="Pulpit rock" width="304" height="228"> </div>\[/code\]
 
Back
Top