mardi 21 avril 2015

Firefox not showing span over a div

am making a text box with a prefix of currency. i use the following css

.currencyInput {
     position: relative;
 .currencyInput input {
     padding-left: 25px;
 .currencyInput:before {
     position: absolute;
     top: 0;
     left: 5px;
        border:1px solid #31BAF9;
        width:-webkit-calc(95% - 11px);
        width:calc(95% - 11px);
        padding:0 5px;
        margin:5px auto;
<span class="currencyInput">
        <input type="text" class="text-box1" placeholder="Price" value="35750.00"name="price"/>

this code works good in chrome. but when it comes to Firefox the span data is not shown. any idea?!

Aucun commentaire:

Enregistrer un commentaire