Wordpress CSS programming

Discussion in 'Blogging' started by billyh7, Aug 7, 2010.

  1. billyh7

    billyh7 Junior Member

    Joined:
    Dec 18, 2008
    Messages:
    162
    Likes Received:
    2
    I had somebody update my CSS file using this coding. Can somebody please look it over and make sure there are no malicious coding. Thanks in advance..




    #navbar {width:920px; height:28px; font-size:11px;margin:0 auto 0;padding:0px;border-top:1px solid #800000;border-bottom:#800000;position:relative; z-index:100;border-right:1px solid #585752; font-family:arial, Tahoma, Verdana; color:#fff; font-weight:bold;background: #800000 url(images/navbar.gif);}


    #navbar ul {padding:0;margin:0;list-style-type:none;}
    #navbar ul ul {width:149px;}

    #navbar li {float:left;position:relative;margin:0;padding:0px;}

    #navbar a, #navbar a:visited {display:block;font-size:11px;text-decoration:none; color:#fff; height:28px; border-right:1px solid #b90102; border-left:1px solid #860202; padding:0px 19px 0px 17px;text-transform:uppercase; line-height:27px; font-weight:bold;}


    #navbar ul ul a.drop, #navbar ul ul a.drop:visited {background:#d4d8bd no-repeat 130px center;}

    #navbar ul ul a.drop:hover{background:#c9ba65 no-repeat 130px center;}
    #navbar ul ul :hover > a.drop {background:#c9ba65 no-repeat 130px center;}

    #navbar ul ul ul a, #navbar ul ul ul a:visited {background:#e2dfa8;}

    #navbar ul ul ul a:hover {background:#b2ab9b;}


    #navbar ul ul {visibility:hidden; position:absolute;height:0;top:28px;left:0; width:149px;border-top:1px solid #000;}


    #navbar ul ul ul{left:149px; top:-1px; width:149px;}


    #navbar ul ul ul.left {left:-149px;}



    #navbar ul ul a, #navbar ul ul a:visited {background:#e5e1d6; color:#000; height:auto; line-height:1em; padding:5px 10px; width:128px;border-width:0 1px 1px 1px;}


    #navbar a:hover, #navbar ul ul a:hover{color:#000; background:#fcd6a7;}
    #navbar :hover > a, #navbar ul ul :hover > a {color:#000; background:#fcd6a7;}


    #navbar ul li:hover ul,
    #navbar ul a:hover ul{visibility:visible;}

    #navbar ul :hover ul ul{visibility:hidden;}

    #navbar ul :hover ul :hover ul{ visibility:visible;}


    .current_page_item a, .current_page_item a:hover {
    background: #FFFFFF !important;
    color: #CC0000 !important;
    }
     
  2. rhino

    rhino Junior Member

    Joined:
    Jun 3, 2008
    Messages:
    128
    Likes Received:
    126
    Occupation:
    crazy netropeneur
    Location:
    Bronx Zoo, USA
    you can not place any 'malicious' code in css, as it only
    controls things like position, color, font, size, padding, etc

    R-
     
  3. iq465

    iq465 Regular Member

    Joined:
    Sep 12, 2009
    Messages:
    276
    Likes Received:
    58
    Occupation:
    Graphic Designer / Record Label
    Location:
    Chicago
    Rhino is correct, css only specifies style of your text and images, layout, etc. Who do you work with that you would expect malicious code...out of curiosity?