As the OP is asking about both Avast! free and paid, it should be mentioned that the paid verslons of Avast! have a Sandbox you can virtualise your browser(s) with. So if a drive-by download is not detected by Avast!, it will be isolated in the Sandbox and can not harm your real system 
Greetz, Red.