1. A computer-implemented method for displaying a plurality of gadgets on a web page, comprising: determining priority levels for the plurality of gadgets according to one or more hierarchy policies for the web page, wherein the gadgets are arranged in a grid on the web page; generating master-slave relationships between a first one of the gadgets and one or more other gadgets having at least one priority level lower than a priority level of the first one of the gadgets, wherein the master-slave relationships are generated based on at least a proximity of the one or more other gadgets to the first one of the gadgets; determining one or more style policies that specify a modification of the one or more other gadgets according to the master-slave relationships, wherein the modification to at least one of the one or more gadgets is a change in style, but not a change in content, that conforms to a style of the first one of the gadgets that has a higher priority level; and outputting the one or more other gadgets according to the style policies.