Or visibility: hidden instead of display: none and visibility: visible instead of display: inline if we don't want the actual layout to change (probably a good idea not to recompute the layout every time someone hovers over something :) ).