HI, I need some help on this, I am trying to create unordered list which has an image with nested li's,the problem is that when the image is unresolved in the url the nested li's will not properly align in the box or the nested li's will go up...I want that when the image is invisible the neted li's will properly align in its box or it's in proper position can you please help me on this...

Thank you in advance.

HTML Code:
 <!DOCTYPE html>
    <title>Menu image</title>
    <style type="text/css">

            width: 100%;

        ul.pictest li{
            list-style: none;
            margin-right: 5px;
            height: 25px;

        .pictest ul{
          width: 170px;
          border: solid 1px red;
        overflow: hidden;
        position: relative;
        top: -121px;
        text-align: left;
        padding: 0;
        margin: 0;


        .pictest ul li {
            padding: 0;
            width: 150px;
            display: none;


        .pictest   li:hover li {
            display: block;
            background-color: yellow;

   <ul class="pictest">
        <li><img src="img1.png"/>
            <li><a href="#">ABC</a></li>
            <li><a href="#">EFG</a></li>
            <li><a href="#">HIJ</a></li>
       <li><img src="img2.png" >
               <li><a href="#">check</a></li>
               <li><a href="#">graphics</a></li>
               <li><a href="#">design</a></li>
       <li><img src="img3.png"></li>