8

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?

1 Answer 1

10

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;
  }
1
  • I did :) Sorry wouldn't let me earlier.!
    – omnix
    Aug 15, 2010 at 0:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.