Yes, Spiderman set records. Dark Knight beat them.
In terms of box office receipts in the US, Spiderman 1 had US$403.7 million, while Dark Knight had US$533.4 million. That is a difference of 130m.
In terms of opening weekend, Spiderman had US$114m while Dark Knight had US$158m.
Now, when you go to world wide total, Spiderman had US$ 822 million, while Dark Knight had over US$ one billion.
Dark Knight beat out Spiderman 1, 2 and 3 (and SM3 did better than 1 anyways, but still loses to Dark Knight).