Jump to content

KaiAdrian

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About KaiAdrian

  • Rank
    Newbie
  1. KaiAdrian

    css inheritance

    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*/
  2. KaiAdrian

    css inheritance

    sorry... read this code please: <style> .Meni { display: inline-block; position:fixed; top:-2px; left:100px; } .Meni_vsebina{ display:block; position:relative; /*here i wanna stop relashionship */ } .Meni2{ display:inline-block; position: relative; top:-89px; left:100px; } .Meni2_vsebina{ position:absolute; left: 100px; display:none; } </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> <div class="Meni2" <span>Meni2 </span> <div class="Meni2-vsebina"> <a href="test5.html">Test5</a><br> <a href="test6.html">Test6</a><br> <a href="test7.html">Test7</a><br> <a href="test8.html">Test8</a><br> </div>
  3. KaiAdrian

    css inheritance

    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>
  4. Hi! Can someone suggest how to continue learning python, once finished W3Sc. tutorial? THANX!
×
×
  • Create New...