0

HTML

<ul style="padding-left:0;">
     <li>A journey in to  the digital</li>
     <li>Global thought leaders</li>
</ul>

HTML 浏览器支持这个 ul padding-left。所以浏览器没有问题。但在 Gmail 中,padding-left 样式不起作用。如何解决这个问题。

4

3 回答 3

0
<head>
<style type="text/css">
ul.c1 {padding-left:0;}
</style>
</head>
<body>
<ul class="c1">
<li>A journey in to the digital</li>
<li>Global thought leaders</li>
</ul>
</body>
于 2015-04-24T07:10:21.990 回答
0

尝试 Float:left 或给 margin-right: % 或 padding-right: %;

于 2015-04-24T06:29:56.447 回答
0

使用伪元素将每个项目符号包装在表格单元格中。 

ul{
  display: table;
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

li{
  display: table-row;
}
于 2015-04-24T06:38:12.843 回答