Navigation Simple Vertical - problem and question
Posted: Fri Mar 16, 2007 5:47 pm
I am trying to put a 1px border all the way round my left hand navigation.
I have looked at the stylesheet and there is this
/* menu li block */
#menu_vert li {
list-style: none;
margin: 0;
border-bottom: 1px solid white;
display: block;
}
now here border-bottom puts a white line at bottom of the navigation, which is cool and that is what i want all the way round. If i change this from 'border-bottom' to 'border' then in Firefox i do get the border all the way round and it looks great.
However, and here is the problem, in IE6 by applying the border all the way changes the positioning of the links in the nav. It does create a border, but it doesnt cover all the links! I dont understand what is happening and as such dont know how to fix it!!
Would appreciate any ideas!
Here is a graphic of what happens after i change the 'border-bottom' to 'border'. What seems to happen is the addition of the outside border forces the 3 child links of the first parent to move down and hence outsode the border. Sadly my CSS isnt good enough to understand why this is!!
[gelöscht durch Administrator]
I have looked at the stylesheet and there is this
/* menu li block */
#menu_vert li {
list-style: none;
margin: 0;
border-bottom: 1px solid white;
display: block;
}
now here border-bottom puts a white line at bottom of the navigation, which is cool and that is what i want all the way round. If i change this from 'border-bottom' to 'border' then in Firefox i do get the border all the way round and it looks great.
However, and here is the problem, in IE6 by applying the border all the way changes the positioning of the links in the nav. It does create a border, but it doesnt cover all the links! I dont understand what is happening and as such dont know how to fix it!!
Would appreciate any ideas!
Here is a graphic of what happens after i change the 'border-bottom' to 'border'. What seems to happen is the addition of the outside border forces the 3 child links of the first parent to move down and hence outsode the border. Sadly my CSS isnt good enough to understand why this is!!
[gelöscht durch Administrator]