sircharlo Posted February 13, 2008 Share Posted February 13, 2008 Is there a way I can make the sub-menu on this page's Produits et services button the same length as the Produits et services button ?Thanks ! Link to comment Share on other sites More sharing options...
Synook Posted February 14, 2008 Share Posted February 14, 2008 Tried width:<width of PeS item>; ? Link to comment Share on other sites More sharing options...
jlhaslip Posted February 14, 2008 Share Posted February 14, 2008 #menu ul li:hover ul li a { background:url(images/img05.jpg) top; width: 130px; display:block; color:#D8D8D8;} adjust this width to suit Link to comment Share on other sites More sharing options...
sircharlo Posted February 14, 2008 Author Share Posted February 14, 2008 Yeah, but I don't want to use pixel values, as the actual width of the button changes from browser to browser (different font size, different fonts, etc.). I was thinking of maybe a percent (100%) ? How would that work ? Link to comment Share on other sites More sharing options...
jlhaslip Posted February 15, 2008 Share Posted February 15, 2008 try it an let us know...I have deleted my copy, so I can not check it. Link to comment Share on other sites More sharing options...
newseed Posted February 15, 2008 Share Posted February 15, 2008 Yeah, but I don't want to use pixel values, as the actual width of the button changes from browser to browser (different font size, different fonts, etc.). I was thinking of maybe a percent (100%) ? How would that work ?Use em instead. 1 em = 10px / 1.5 em = 15px etc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.