Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SFR adds margin:auto to all tags #122

Open
tdefossezbadsender opened this issue Nov 21, 2022 · 0 comments
Open

SFR adds margin:auto to all tags #122

tdefossezbadsender opened this issue Nov 21, 2022 · 0 comments
Labels
Other clients Samsung, SFR, Orange, T-Online, Onet, …

Comments

@tdefossezbadsender
Copy link

tdefossezbadsender commented Nov 21, 2022

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;
}
@tdefossezbadsender tdefossezbadsender changed the title SFR adds "margin:auto" to all tags SFR adds margin:auto to all tags Nov 21, 2022
@hteumeuleu hteumeuleu added the Other clients Samsung, SFR, Orange, T-Online, Onet, … label Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Other clients Samsung, SFR, Orange, T-Online, Onet, …
Projects
None yet
Development

No branches or pull requests

2 participants