This is a very old post, from my old blog, but as people still visit it and some of them asked me to restore it, so here it is.
Using gradient over multiple objects usually generate very beautiful results, it is very easy to do, in case you don’t know how to, just follow these simple steps.
Now, select both objects, open Fill and Stroke window (right click -> Fill and Stroke) and choose linear gradient.
Choose any gradient of your choice and close this window, this would result in something like
Now select both objects and choose “Gradient Tool” from the left tool bar
Drag from corner of one object to the opposing corner of other object
Hurray! you have successfully created a gradient spanning multiple objects. You can use same technique on different type of and different number of objects. Have fun.