5

The secret to cross-browser compatibility is just wrapping every single element in an extra div, just for good measure.

Comments
  • 0
    *safari* breaks
    *IE* breaks like shit
  • 2
    @Minion Wrong way around. Fuck Safari. Just fuck it.
  • 1
    Sometimes, markup validation is helpful because not every element is actually allowed within every other element.
  • 2
    If every div had a mandatory 1px solid border we wouldnt habe this problem.
  • 1
    @Fast-Nop

    You mean like buttons inside a, but vice-versa is allowed?
  • 0
    @kescherRant A button in an a tag and vice versa is both total nonsense because it's nothing like semantic HTML.

    Either you want to initiate some change within the same page or a submit or so, in which case a button is the right thing, OR you want to point to another resource or anchor, in which case a an a tag is correct.
  • 1
    @Fast-Nop of course it is nonsense, but too many websites do this shit now.
  • 1
    @kescherRant well yeah it seems even to be common to make a div with an onclick handler that changes the window URL. WTF. As if people couldn't style links to look any way they want.
  • 1
    @Fast-Nop What is CSS again? Let's just use j Q u e r y
  • 1
    @kescherRant Oh fuck yeah, we could have butter smooth sub-pixel animations if only people decided to animate translateX/Y. But nooo, either they animate top/left or use some jQuery shit.
Add Comment