Hi, I want to create a button with two solid borders around eachother, like this:
.--------.
|.------.|
||Button||
|'------'|
'--------'
Of course I can do it this way by wrapping the button into an evil, bandwidth-consuming <span>
:
<span class="outer-border">
<a class="button" href="http://www.example.com/">Button</a>
</span>
.outer-border { border: solid 1px red; } .button { border: solid 1px green; }
But isn't there a cleaner way than using too much HTML? Is there a way to add two borders to just one selector? Namely, I also want to do this with an XML file which can't be modified, of course.
Could anyone help me? Thanks.