Better Button Design


#1

Since we are designing a button, wouldn't it make more sense to put the "a" tags around the "div" tags instead of vice versa? It seems like we are creating a link on top of a background shape as opposed to a button.


#2

this wasn't allowed before html5, this course was released before html5

i would do it differently altogether, i would just give the a element a display: block


#3

Ah I see, thanks for clearing that up!


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.