I basically have a question in relation to this topic → Extend the last li to the remaining ul width? I was not sure that I should respond or make a new thread and refer to it.
Anyway, I have a navigation menu using ul and li, as shown below. My first goal was that the last li used 100% of the remaining ul space, which I managed to do.
Original
-------------------------------------------------------------------------------
| | | |
| Item 1 | Item 2 | Search Box |
| | | |
-------------------------------------------------------------------------------
Using the link above, I managed to do so. So far so good.
-------------------------------------------------------------------------------
| | | |
| Item 1 | Item 2 | Search Box |
| | | |
-------------------------------------------------------------------------------
, li , , .
li . text-align: right, .
li float: , float: none, 100%, .
, 100% .
-------------------------------------------------------------------------------
| | | |
| Item 1 | Item 2 | Search Box |
| | | |
-------------------------------------------------------------------------------
: http://jsfiddle.net/K7w9j/