I am using CSS Friendly Adapters and have a menu in which the menu items include a background image. It seems as though the only way I can affect the height of the menu items, without losing the background images, is to adjust the font size. When I set
the font-size of my links to "small", the background image shrinks down too, leaving approximately 1px on top and 1px below where all I see is the background color of the menu row. If I set the height of the menu ul to the height of my background images,
the row height increases but the background images disappear. I've tried adjusting the heights of every element (row height, link height, cell height, etc.) through both the ASP code and the CSS code and I can't find a work around.
Does anyone know how to adjust the font size and still keep the full background image height?
Thanks!
Sean Westerfield
Web, Application, and Database Developer/I.S. Consultant
Using Visual Studio 2008 Standard, VB code behind, ASP.net 2.0, .Net 3.5
Member
313 Points
140 Posts
Problem with menu item height
Aug 11, 2008 06:55 PM|gyclone|LINK
Hi,
I am using CSS Friendly Adapters and have a menu in which the menu items include a background image. It seems as though the only way I can affect the height of the menu items, without losing the background images, is to adjust the font size. When I set the font-size of my links to "small", the background image shrinks down too, leaving approximately 1px on top and 1px below where all I see is the background color of the menu row. If I set the height of the menu ul to the height of my background images, the row height increases but the background images disappear. I've tried adjusting the heights of every element (row height, link height, cell height, etc.) through both the ASP code and the CSS code and I can't find a work around.
Does anyone know how to adjust the font size and still keep the full background image height?
Thanks!
Web, Application, and Database Developer/I.S. Consultant
Using Visual Studio 2008 Standard, VB code behind, ASP.net 2.0, .Net 3.5
Member
313 Points
140 Posts
Re: Problem with menu item height
Aug 17, 2008 07:26 PM|gyclone|LINK
Web, Application, and Database Developer/I.S. Consultant
Using Visual Studio 2008 Standard, VB code behind, ASP.net 2.0, .Net 3.5