Results 1 to 3 of 3

Thread: New code and reply on css menu

  1. #1
    Join Date
    Jan 2010
    Posts
    1
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Angry New code and reply on css menu

    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
    Last edited by DK71; 01-19-2010 at 10:00 PM. Reason: please use code tags

  2. #2
    Join Date
    Feb 2009
    Posts
    156
    Thanks
    0
    Thanked 4 Times in 3 Posts

    Default

    use javascript instead to switch the code for both IE and Firefox

  3. The Following User Says Thank You to gurmeet For This Useful Post:

    DK71 (01-19-2010)

  4. #3
    Join Date
    Oct 2009
    Posts
    38
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default

    if "menu" is a class try this:

    ----------------------------
    Code:
    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;
    ----------------------------

  5. The Following User Says Thank You to tpravioti For This Useful Post:

    DK71 (01-19-2010)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •