ami: css-button, border-top-color hat immer falsche farbe

Hallo

Ich möchte ganz einfach ein Textfeld mit CSS verändern und zwar so, dass es nur oben und unten eine Linie hat. dafür habe ich folgendes
CSS verwendet:

.formular{
font-family:Arial,Helvetica,sans-serif;
font-size:8pt;font-style:normal;line-height:normal;
font-weight: normal;font-variant:normal;font-color:#000000;
background-color:#ffffff;
border-top-color:#c4c5a9;
border-top-width:1px;
border-bottom-color:#c4c5a9;
border-bottom-width:1px;
border-left-width:0px;
border-right-width:0px;
border-color:#c4c5a9;
}

Die obere Linie ist aber immer schwarz, wiiiieeesoo????

  1. Hallo

    Ich möchte ganz einfach ein Textfeld mit CSS verändern und zwar so, dass es nur oben und unten eine Linie hat. dafür habe ich folgendes
    CSS verwendet:

    .formular{
    font-family:Arial,Helvetica,sans-serif;
    font-size:8pt;font-style:normal;line-height:normal;
    font-weight: normal;font-variant:normal;font-color:#000000;
    background-color:#ffffff;
    border-top-color:#c4c5a9;
    border-top-width:1px;
    border-bottom-color:#c4c5a9;
    border-bottom-width:1px;
    border-left-width:0px;
    border-right-width:0px;
    border-color:#c4c5a9;
    }

    Die obere Linie ist aber immer schwarz, wiiiieeesoo????

    probier's mal so:
    .formular{
     font-family:Arial,Helvetica,sans-serif;
     font-size:8pt;
     font-style:normal;
     line-height:normal;
     font-weight: normal;
     font-variant:normal;
     font-color:#000000;
     border-top : 1px solid #c4c5a9;
     border-bottom : 1px solid #c4c5a9;
     border-left-width : 0px;
     border-right-width : 0px;
    }

    1. Ja das funzt!

      Vielen Dank!