CSS: espaço em branco: o nowrap parece não funcionar no IE
Aqui está ojsfiddle
do código abaixo.http: //jsfiddle.net/ux4DD/2. O que eu quero é o nomeHarry Pham
estar em uma linha, então eu faço a largura muito pequena e façowhite-space:nowrap
. Funciona no Firefox, mas não no IE. Ajuda por favo
ABAIXO É A RESPOSTA. VEJA JSFIDDLE ACIMA DE VER COMO PARECE
<html>
<head>
<style type="text/css">
.linkColor{
white-space: nowrap;
}
</style>
</head>
<body>
<table cellpadding="0" cellspacing="0" style="width: 450px;">
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="width:20px;border-top:1px solid gray;">
<span class="linkColor">Harry Pham</span>
</td>
<td style="height:15px;background:url('images/line.png') no-repeat;width:28px;" width="35px"></td>
<td style="border-bottom:1px solid gray;" width="auto"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>