Re: menu Q

From: Date: Fri, 17 Feb 2006 08:20:28 +0000
Subject: Re: menu Q
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-230622@lists.php.net to get a copy of this message
"http://www.css-discuss.org/ :-)" I tried that also :) Had to put this to stylesheet to get it 'fire' select.menu {} But it didn't solve the problem... thanks for the effort anyway. -Will "Kim Christensen" <kim.christensen@gmail.com> kirjoitti viestissä:634759080602162330t66fb691bjd2ff8a19a8c97fcf@mail.gmail.com... On 2/17/06, William Stokes <kalles@operamail.com> wrote: > I have a <select> menu on a header bar on my page. The header bar is 20px > high. The menu, code and style below, works ok on Opera but not in Ie6 or > Firefox. In these browsers the menu 'streches' the bar height so that the > bg > image starts repeating itself. (looks nasty) It's almost like the menu > prints one 'invisble' or empty row beneath the menu so that the header bar > becomes about 30 or 35px high. Any ideas? Try using defining the style as a class instead of ID, since ID makes every child element inside the parent inheriting the style - seems that different browsers handle this differently, but my guess is that this is the case. So, remove the # in the style sheet and call upon the style by using class="menu" instead of id="menu". > This might not be a PHP related issue. I don't know. But this one is > really > bothering me. http://www.css-discuss.org/ :-) -- Kim Christensen kim.christensen@gmail.com

« previous php.general (#230622) next »