First I want to warn you, I am pretty new to HTML so forgive me in advance if I am asking stupid questions ! I have started this class where we need to create our own website and they teach us how to create a simple images gallery but only horizontally. However, in order to create a better design for my website, I'd like to create an image gallery but vertically. How can I do? I have seen few answers elsewhere but we haven't learnt any complicated stuffs yet so I did not understand a thing ! Here is what I wrote on my HTML document:
<head>
<script src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="http://media.mq.edu.au/mas240/js/gallery.js"></script>
</head>
<section>
<img src="images/th-dancestudio2.jpg" class="gallery" href="images/dancestudio2.jpg" />
<img src="images/th-dancestudio3.jpg" class="gallery" href="images/dancestudio3.jpg" />
<img src="images/th-dancestudio4.jpg" class="gallery" href="images/dancestudio4.jpg" />
<img src="images/th-dancestudio5.jpg" class="gallery" href="images/dancestudio5.jpg" />
</section>
Here is what I wrote on my CSS document:
.gallery {
float: center;
margin-top: 30px;
margin-bottom: 20px;
border: 5px solid black;
border-radius: 15px;
}