0

HTML

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

HTML browser support this ul padding-left. So there is no issue in browser. But in Gmail that padding-left style not working. How to fix that issue.

Gert Arnold
  • 105,341
  • 31
  • 202
  • 291
Naveen
  • 757
  • 3
  • 17
  • 41

3 Answers3

0

try Float:left or give margin-right: % or padding-right: %;

Akhila Prakash
  • 481
  • 4
  • 17
0

Wrap each bullet in a table-cell using a pseudo element. 

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

li{
  display: table-row;
}
Kurenai Kunai
  • 1,842
  • 2
  • 12
  • 22
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>
0m3r
  • 12,286
  • 15
  • 35
  • 71