Shares in Spain's Telefonica SA  rose on Monday to post the only strong gains on an otherwise almost entirely red Madrid index, after the company confirmed it was in talks with billionaire John Malone's Liberty Global Plc  over a possible merger of their respective businesses in Britain.
