Home › Forums › CSS › Fill in remaining space on each side of horisontal menu › Re: Fill in remaining space on each side of horisontal menu
After posting yesterday i added a <li> contaiing a <div> with a special class just for filler.
this works just fine, but i have to hardcode the width manually and i would prefer a solution that simply fill in reamaining width somehow. I was hoping that a width of 100% on the filler element would work, but it takes up a brand new line filling the page-wrap completely :(
Of course what you suggest (and i did) with manually adding an element before and after the list that is filling the gap with width set in px manually works, but the other solutions would be more dynamic should there be extra menu points ect :)