Browser based css wrap

It does need a bit of clean up but shows a potential way of resolving the issue, please test.