Firefox 5 has it built in, just go to the preferences, set up an account and then either get the mobil app for your idevice and connect to the account or connect to the account the same way on any other computer.
For Safari I use MobileMe to sync my bookmarks, not sure if there are other ways, sorry.