Quantcast
Viewing all articles
Browse latest Browse all 35

Answer by FoxInFlame for cannot create navigation menu with HTML/CSS and jQuery

I had a look at your code on the website.You have not set the position value.Position changes where it is going to display, and by default, it is set to relative. By changing it to absolute, the element does not get affected by the surrounding elements.

Try this code in the CSS file.

.servicesSubMenu {  font-family: seriff;  font-weight: bold;  color: #389803;  font-size: 17px;  margin-top: 10px;  position:absolute;}

Viewing all articles
Browse latest Browse all 35

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>