Re: [css-d] Hover effect doesn't cover the whole background

2012-04-07 Thread Olle Risberg
Ah, using this method it works! Thank you! Olle Date: Fri, 6 Apr 2012 22:06:22 +0200 From: k-r...@t-online.de To: css-d@lists.css-discuss.org Subject: Re: [css-d] Hover effect doesn't cover the whole background Hi Olle, instead of setting float: left; for the li elements, give them

[css-d] Hover effect doesn't cover the whole background

2012-04-06 Thread Olle Risberg
Hi! I'm using Wordpress to make a website and I'm stuck on this one. When hovering above an item in my navigation bar (Home, About etc), I get a nice hover effect, the background is lit up. However, it doesn't do this all the way down, there is a little space at the

Re: [css-d] Hover effect doesn't cover the whole background

2012-04-06 Thread Christian Kirchhoff privat
Hi Olle, when I change the rule: #access ul { display: inline-block; } to #access ul { display: block; } the gap disappers (tested only in Firefox). There might be side effects, so the consequences of such a change have to be considered. When the ul is an inline-block, it surrounds the

Re: [css-d] Hover effect doesn't cover the whole background

2012-04-06 Thread Olle Risberg
@lists.css-discuss.org Subject: Re: [css-d] Hover effect doesn't cover the whole background Hi Olle, when I change the rule: #access ul { display: inline-block; } to #access ul { display: block; } the gap disappers (tested only in Firefox). There might be side effects, so

Re: [css-d] Hover effect doesn't cover the whole background

2012-04-06 Thread Olle Risberg
: k-r...@t-online.de To: css-d@lists.css-discuss.org Subject: Re: [css-d] Hover effect doesn't cover the whole background Hi Olle, when I change the rule: #access ul { display: inline-block; } to #access ul { display: block; } the gap disappers (tested

Re: [css-d] Hover effect doesn't cover the whole background

2012-04-06 Thread Christian Kirchhoff privat
To: css-d@lists.css-discuss.org Date: Fri, 6 Apr 2012 16:48:59 +0200 Subject: Re: [css-d] Hover effect doesn't cover the whole background Hi, thanks for your help and thorough explanation! :-) I managed to fix the problem in another way, by simply shrinking the bar a few pixels to get the hover

Re: [css-d] Hover effect doesn't cover the whole background

2012-04-06 Thread David Hucklesby
Am 06.04.2012 10:41, schrieb Olle Risberg: [...] I've tried to use Firebug to find relevant CSS-stuff but I can't find what to change. I'm currently using a Twenty Eleven childtheme I made/am making. You can see the site (which isn't at all finished, by the way) at