News for hackers. Stuff that matters.
Re:Are We Taking CSS Too Far? by uxp on Thursday August 19, 2010 @05:29PM (#1618727)
I was thinking more along the lines of:

    <a href="#"><div class="mybutton">Button</div></a>

    .mybutton {
        padding: 10px 5px;
        border: 1px solid black;
        background: red;
        width: 100px;
        text-align: center;
    }
Instead of a gradient background and rounded corners, which is still trivial to write by hand.

There are no comments on this comment yet.