I have a sort of menu like this one, but how you can see the code is not so "well".
I'd like that margin between word and border is always 5px for example, for every word.
I know I should use List for this kind of stuff, but I don't know how to apply css style with cross-browser compatibility.
Can you give to me an example of that menu with List?
Space between the borders do this =
Put a border on the right side of the li and the second button put a border on the left side of the li.
Now add margin-left (or margin-right) and see it expand.
This worked in my case.
Good luck.
Check out Listmatic for examples of all the basic list layouts.
Looks like you want something like this one.
This is how I'd do it:
See: http://jsfiddle.net/thirtydot/554BT/3/
Try this...
fiddle:http://jsfiddle.net/anish/Laqqn/
This is the way I would do it, keeping it as easy (simple) as possible. It probably doesn't get any less complex than this:
HTML
CSS
DEMO: jsfiddle
A CSS3 example, not really cross browser as it uses CSS3 pseudo-selectors CSS3 List menu
This other example uses a pipe character to separate the links and is cross browser safe: CSS2 List menu