Hi,
 
I'm trying to create an unordered list for a tree menu which has 190x35
background images (which are changed on hover)
 
I'm setting the following:
 
#menu ul li {margin:0;padding:0;}
#menu ul li a
{display:block:width:160px;height:25px;background-image:url(image.gif);b
ackground-repeat:no-repeat;padding:10px 0 0 30px;}
#menu ul li a:hover {background-image:url(changeout.gif);}
 
I have two questions:
 
1. Is this the best way to do it, for cross browser compatibility?
2. IE5.5/6 seems to screw up the height and width as if the left padding
is not being taken into account. voice-family hack does not fix.
 
Hope you can help!
 
 
Martin Paton
Developer

Tel: +44 (0)870 240 1700
E-Mail: [EMAIL PROTECTED]
Web: www.amaze.com <http://www.amaze.com/> <http://www.amaze.com/>  
AMAZE: BUSINESS DRIVEN TECHNOLOGY SOLUTIONS

Amaze Limited, Registered in England and Wales Number 2878582
Registered Office: Kings Court, Manor Farm Road, Nr Runcorn, Cheshire,
WA7 1HR. 

This communication contains information which is confidential and may
also be privileged. It is for the exclusive use of the addressee(s). If
you are not a named addressee please note that any distribution,
reproduction, copying, publication or use of this communication or the
information in it is prohibited. If you have received this communication
in error, please contact the sender immediately, and also delete the
communication from your computer. Amaze scan all outgoing mail for virus
infection. Any attachment with this message should be checked for
viruses before it is opened. Amaze Ltd cannot be held responsible for
any failure by the recipient to test for viruses before opening any
attachments
 


This message has been scanned for malware by SurfControl plc. 
www.surfcontrol.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to