Worked...Thanx!
However, there is also an error in syntax in above code, i discovered later:
in part:
<div class=Meni2-vsebina> /*should be called Meni2_Vsebina*/
HI!
I d like to make Meni2_vsebina to be child of Meni2 (but both independent from Meni and Meni_vsebina)
as far as I change position of Meni everything change it. Here is the code:
<style>
.Meni > Meni_vsebina{
display: inline-block;
position:fixed;
top:-2px; left:100px;
}
.Meni_vsebina{
display:block;
position:relative;
}
.Meni2 > Meni2_vsebina{
display:block;
position: relative;
top:-100px; left:100px;
}
.Meni2_vsebina{
position:absolute;
left: 100px;
display:inline-flex;
}
</style>
<body>
<div class="Meni">
<span><i>Meni</i>
</span>
<div class="Meni_vsebina">
<a href="test1.html">Test1</a><br>
<a href="test2.html">Test2</a><br>
<a href="test3.html">Test3</a><br>
<a href="test4.html">Test4</a><br>
</div>