I am currently working on creating a mailing list and I am facing some challenges in setting the width of a table element in IE/Outlook.
Despite trying various solutions that I found in other inquiries, none of them seem to be effective.
The code snippet below showcases some of the attempts I have made. The div surrounding the table is necessary for additional styling purposes.
<!doctype html>
<html lang=en>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<style>
*{
margin:0;
padding:0;
}
body{
box-sizing: border-box;
}
table{
border-collapse: collapse;
border-spacing: 10px 5px;
}
</style>
</head>
<body>
<div style="margin:0 auto; width:1000px;">
<!--[if mso]>
<center>
<table><tr><td width="700">
<![endif]-->
<table cellpading="0" cellspacing="0" width=700 style="margin:0 auto; width: 700px">
<!--Multiple instances of <TR> -->
</table>
<!--[if mso]>
</td></tr></table>
</center>
![endif]-->
<div>
</body>
</html>