I have designed the following:
<div style="margin-top: 1.2em">
<i style="margin-right: 0.5em; color: #EEEEEE;" class="icon-home icon-4x"></i>
<i style="margin-right: 0.5em; color: #EEEEEE;" class="icon-th icon-4x"></i>
<i style="margin-right: 0.5em; color: #EEEEEE;" class="icon-cog icon-4x"></i>
</div>
Seeking guidance on how I can enable clicking on any of these icons or words below them to redirect me to a link.
I want the icons to be displayed as follows:
xxxxxx xxxxxx xxxxxx
xxxxxx xxxxxx xxxxxx
xxxxxx xxxxxx xxxxxx
Home Admin Setting
When clicking anywhere from the top of the icon to the bottom of the words, it should behave as if clicking on:
<a href="/home">Home</a>
<a href="/admin">Admin</a>
<a href="/setting">Setting</a>
This is where assistance may be needed using DIVs. The previous solutions tried resulted in vertical alignment of icons. Additionally, the second solution involving multiple hrefs for the same link might not be ideal. Looking for an alternative approach. Any suggestions are welcome.