2016-10-26 64 views
0

我對電子郵件中的HTML代碼:大量和2016年

<html> 
<head> 
<meta charset="utf-8"> 
</head> 
<body> 
<table> 
<tbody> 
<tr> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 

<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
<th>AAAAA</th> 
<th>BBBBB</th> 
<th>CCCCC</th> 
<th>DDDDD</th> 
<th>EEEEE</th> 
<th>FFFFF</th> 
<th>GGGGG</th> 
<th>HHHHH</th> 
</tr> 
</tbody> 
</table> 
<style> 
</style> 
</body> 
</html> 

在Outlook 2016年,文本將被截斷,在展望2013,他們在破碎至幾行。 展望2016: enter image description here 展望2013: enter image description here 有什麼辦法可以解決這個問題嗎?我想在一行看到整個文本,並且頭部彼此相鄰。我嘗試table-layout,width:auto和許多其他的東西,但迄今沒有任何幫助。

回答

0

Outlook支持white-space:nowrap;,所以如果你內聯到每個<th>應該強制每個細胞不換:

<th style="white-space: nowrap;>AAAAA</th> 
<th style="white-space: nowrap;>BBBBB</th> 
<th style="white-space: nowrap;>CCCCC</th> 

.... 

<th style="white-space: nowrap;>FFFFF</th> 
+0

不,它並不能幫助。仍然是一樣的。 –

相關問題