email-bugs
email-bugs copied to clipboard
SFR adds `margin:auto` to all tags
The desktop webmail of SFR has annoying default styles applying to all html tags without .userSignature
class inside <div id="read-content-block">
. So, basically, all the elements :). It applies an horizontal center alignment to these elements. Here are the incriminating styles:
div.read-content-block *:not(.userSignature *) {
font: 100% "Helvetica Neue",Helvetica,Arial,sans-serif;
margin: auto;
padding: 0;
}
The styles can be found in SFR's main.css file.
We can add a CSS reset at the top of the document targeting the desired elements:
table {
margin:0px;
}