javamonkey79 javamonkey79 - 9 months ago 72
HTML Question

HTML\CSS Coupon Script

Does anyone know how to create a coupon (printable is even better) with HTML & CSS? Forgive the horribly simple question, I don't do much of any web development :)

Thanks in advance.

EDIT: EDIT: Seth posted his answer again, which I accepted, thus I removed the answer from here (it was just a copy of his original deleted post).


I'm guessing you want

.coupon {
   width: 250px;
   padding: 10px;
   text-align: center;
   border: 3px dashed #ccc; }

  <div class="coupon">15 points for your reputation</div>

around a div? Or something more involved?

I stole it from here.