Log in

View Full Version : New code and reply on css menu



DK71
01-13-2010, 03:32 PM
I made some chance to the kode, but the function a.menu:active, dont work in firefox ??? hmmm ???
----------------------------------------
a.menu:hover,a.menu:active

font-family:verdana,arial,sans-serif;
text-decoration:none;
background:#000;
font-weight:700;
font-size:14px;
display:block; <<<< this line make it look the same in ie and firfox !!!
height:18px;
color:#CCC;
----------------------------------------

And to the java script reply, I can only say, many people dont use java script function i the browser.

Best design worldwide will allways be clean HTML, CSS and pictures.

Best regards

DK71

gurmeet
01-18-2010, 06:58 AM
use javascript instead to switch the code for both IE and Firefox

tpravioti
01-18-2010, 02:32 PM
if "menu" is a class try this:

----------------------------


a.menu:hover,a.menu:active

font-family:Verdana, Arial, sans-serif;
font-size:10pt;
font-weight:700;
color:#CCC;
background:#000;
text-decoration:none;

----------------------------