Merge style into query page