Good day to all. I ask for help in a pretty simple task, but I cannot find the answer myself.
I use the fixed jq menu , everything is fine, everything works, but I need to use pictures in the menu along with the text. Logically, I'm trying to do this:
<li> <a href="#s1"><img src="img/menu1.png"><br>Программа</a> </li> <li> <a href="#s2"><img src="img/menu2.png"><br>Поиск</a> </li> <li> <a href="#s3"><img src="img/menu3.png"><br>Контакты</a> </li>
I use the usual <br> to make the text under the picture, everything would be fine, but the menu starts to go vertically. Those. Without menu pictures, the menu is horizontal, as soon as I start to write <br> after each picture - the menu becomes vertical.
Why it happens? I'm using for <li> display: inline;
I will be glad to any help, thanks!