- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 25 Jan 2011 10:15:26 -0800
- To: Bruno <bruno5544@gmail.com>
- Cc: www-style@w3.org
On Tue, Jan 25, 2011 at 10:14 AM, Bruno <bruno5544@gmail.com> wrote: > Then this is the problem. But then why margin and padding works, with > those you can achieve what you would do with height&width for a:hover, > maybe it won't look nice, but with padding under a:hover you can do > same thing instead of using height or width. > Then why not placing "proper" rule to have actual width and height under :hover. That's just how 'inline' elements work. If you want 'width' and 'height' to work on them, but have them otherwise act mostly like inline element, make them "display:inline-block".
Received on Tuesday, 25 January 2011 18:16:18 UTC