I am struggling to properly position a border within a specific div id. The border doesn't seem to correspond correctly with the text content inside the div.
Here is a snippet of my HTML code:
<div id="menu-left-top">
<ul class="menu-left-top">
<li><a href="auktioner.php">Categories</a></li>
</div>
<div id="menu-left">
<ul class="menu-left">
<li><a href="lamper.php">Lamps</a></li>
<li><a href="mobler.php">Furniture</a></li>
<li><a href="kunst.php">Art</a></li>
<li><a href="design.php">Design</a></li>
</div>
This is the CSS I have applied:
#menu-left-top {
width:195px;
height:1em;
margin-top:5px;
border-top-style:solid;
border-width:thin;
border-color: #999;
}
ul.menu-left-top {
list-style-type: none;
height:1em;
}
ul.menu-left-top li{
}
ul.menu-left-top li a{
color:#000;
font-size:12px;
text-decoration:none;
font-family: "Gill Sans Light";
}
ul.menu-left-top li a:hover{
color:#cf0036;
font-size:12px;
text-decoration:none;
font-family:"Gill Sans Light";
font-weight:300;
}
#menu-left {
width:195px;
max-height:4em;
margin-top:5px;
border-top-style:solid;
border-bottom-style:solid;
border-width:thin;
border-color: #999;
}
ul.menu-left {
list-style-type: none;
}
ul.menu-left li{
}
ul.menu-left li a{
color:#000;
font-size:12px;
text-decoration:none;
font-family: "Gill Sans Light";
}
ul.menu-left li a:hover{
color:#cf0036;
font-size:12px;
text-decoration:none;
font-family:"Gill Sans Light";
font-weight:300;
}
To see the current output, please visit this link. My main issue is with the navigation on the left side. Additionally, there appear to be faults with the floating div on the right side, but I'm unsure if it is related to my initial problem.