Log in

View Full Version : Static Slide Menu 6.5



Gary
09-20-2005, 03:04 AM
Some visitors to my website have complained that the menu won't fully collapse and that some of the menu text is cut off. I determined their problem is that they changed their browser's default text size to larger or largest (In Internet Explorer: View > Text Size).

Does anyone know a way I can set the menu and menu text so that it is unaffected by browser preferences?

jscheuer1
09-20-2005, 04:56 AM
This will only work in IE, other browsers do not allow this type of control for page designers and generally it is a bad idea. But, with this menu, it really does mess things up when folks change the text size on you. For that reason alone, I would never use it in a professional design. Anyways, since IE is the most widely used browser and the one you are reporting this problem for, here is a fairly simple solution, change the style section on this menu's page to include these added selectors, properties and values (all in red):

<style type="text/css">
<!--
A.ssmItems:link {color:black;text-decoration:none;font-size:14px;}
A.ssmItems:active {color:black;text-decoration:none;font-size:14px;}
A.ssmItems:visited {color:black;text-decoration:none;font-size:14px;}
A.ssmItems:hover {color:black;text-decoration:none;font-size:14px;}
#basessm font, td {font-size:14px;}
//-->
</style>14 is just what I thought looked good for this menu. You can use whatever value you like but, anything less than 12 is very hard for some people to read. You can also experiment with using one size for the first four (the links) and another size for the last entry (the menu headers and vertical text).