This forum is now read-only. Please use our new forums at

397 points
Submitted by
over 4 years ago

5/21 [resolved] Can't set border to 0

this is my code:

<!DOCTYPE html>
<head><style>body {background-size: cover;background-position: center center;background-repeat: no-repeat;background-attachment: fixed;text-align: center;background: url("");color: white;font-family: Helvetica;p {font-size: 24px;} input {border: 0;}}</style></head>
<img src="" height="250" width="250">
<p>Hi i'm learning to code and i'm 8 years old this is so cool</p>
<p>please submit your email</p>
<input type="email" placeholder="Your email">
<input type="submit">

what am I doing wrong ?

0 votes


Hi hatcat, it is really hard to see with your code all squished up like that, but your body selector is missing its } - it looks like you put it after your input selector.

3698 points
Submitted by
over 4 years ago


53888fa280ff3325790030a1_138435731 hatcat over 4 years ago

thank you, i will fix that

55df2afa95e3787b9200005e_359368177 Judy over 4 years ago

You're welcome.