views:

83

answers:

1

Everything works fine in webkit browsers. But when i'm trying to use border-radius with input[type="url"] it doesn't work. Not even just using input. Nothing still works.

Css

 section.crypter input {
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  padding: 5px;
  }

HTML

<form>
    <input type="url" placeholder="Insert URL" />
    <input type="button" value="Crypt" />
  </form>

Why isn't Firefox letting me style the input?

+2  A: 

Looks like you need to style the border first :

input {
border:1px solid #666666;
  border-radius: 15px;
-moz-border-radius :15px;
  -webkit-border-radius: 15px;
  padding: 5px;
  }
darma
Oh wow! that did it. Thanks!
omnix
you're welcome :) (accept the answer?)
darma
I did :) Sorry wouldn't let me earlier.!
omnix