I am currently working on a project to familiarize myself with Japanese Hiagana. I plan to incorporate more images and eventually sound into the post. To reduce the number of images used, I attempted to replace empty .pngs with a div element. However, I am having difficulty aligning it with the rest of the images. I suspect there may be an issue in my code, but I am unsure how to correct it or if there is an alternative approach I should consider. Any assistance you can provide would be greatly appreciated!
You can view the page here:
<style>
.container {
position: relative;
width: 645px;
margin: 0 auto;
text-align:center;
}
.miniature {
width: 6%;
border: 1px solid grey;
margin: 5px;
}
.miniaturex {
height: 42px;
width: 6%;
border: 1px solid red;
margin: 5px;
}
</style>
The miniaturex element is the red square on the linked page, and I am aiming to align it with the other images if possible.
Below is an example of my current code:
<div class="container">
<img class="miniature" src="https://lh5.googleusercontent.com/-rMwJbjg8x6I/VRdR9hUt5nI/AAAAAAAACJg/6gs2p1iOtm8/w60-h65-no/ha.png" />
<img class="miniature" src="https://lh5.googleusercontent.com/-EyXbRIMgfVI/VRdSBv9N-HI/AAAAAAAACJM/4QC48pQlpvo/w60-h65-no/na.png" />
<img class="miniature" src="https://lh5.googleusercontent.com/-vz3-ygDqmb0/VRdSFV5Qx4I/AAAAAAAACH0/td8fZFhbqsY/w60-h65-no/ta.png" />
<img class="miniature" src="https://lh5.googleusercontent.com/-ptiyMClrHPY/VRdSD0q7PxI/AAAAAAAACHU/HG8bUV5D6yQ/w60-h65-no/sa.png" />
<img class="miniature" src="https://lh5.googleusercontent.com/-RIuFcb3hvoE/VRdR-br6qFI/AAAAAAAACE4/7y1pcIHMuWU/w60-h65-no/ka.png" />
<img class="miniature" src="https://lh3.googleusercontent.com/-5hjR44OOz5c/VRdR9QG_maI/AAAAAAAACJg/FI8wRCLD1iI/w60-h65-no/a.png" />
<img class="miniature" src="https://lh3.googleusercontent.com/-TWp0rlJ4zXw/VRioHhaQw_I/AAAAAAAACJ8/AUWtqm8hpcU/w60-h65-no/x.png" />
</div>
<div class="miniaturex"></div>
Thank you in advance for any assistance or suggestions you can provide.