I am a new learner for Html designing email templates. I need to add text in front of a symbol and make sure the text remains aligned for the next line. I am using tag to properly align the text after the symbol. But for some reason it doesn’t seems to be working.
After adding the tag the text is not displaying, it disappears. if i remove
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Browser</title>
</head>
<div class="b opaf v" style=font-size:0;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%>
<table cellpadding=0 style=border:none;vertical-align:top width=100%>
<tr>
<td align=left class=x style=font-size:0;word-break:break-word>
<div style=text-align:left>
<p style=margin:0;text-align:left><span style=font-size:12px;font-family:Arial,sans-serif;font-weight:400;color:#54565b;line-height:14px><span style=color:inherit;font-weight:inherit;font-family:inherit;font-size:65%;vertical-align:4px;line-height:0>§</span><span><ul><li>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</li></ul></span>
</span>
</p>
</div>
</td>
</tr>
</table>
</div>
<script src="script.js"></script>
</body>
</html>
3
Answers
I was thinking some of basic HTML structure is not followed. I believe so this is excepted output.
please don’t use align and more info visit [https://bugzilla.mozilla.org/show_bug.cgi?id=221][1]
if you remove align from table data tag it may work.
It’s not actually missing.
ul
tag is a block level element meaning it should do a line break. Therefore text and bullet go to next line and It is not seen because of your styles.So, By adding this in your
<ul>
tagIt will show the text and the bullet.