Can't use border-radius with solid borders on mj-column
See original GitHub issueI’m trying to combine border-radius with a solid border, but it seems like these two features are mutually exclusive. I can get the background to respect the radius, but the solid border is always squared.
<mj-wrapper background-size="960px" background-repeat="no-repeat" background-color="#FF0000">
<mj-column border="1px solid #000000" border-radius="4px" width="512px" background-color="#FFFFFF">
<mj-text line-height="1.52" font-size="21px">
You received this email because of a signup from <b>{{USER_EMAIL}}</b> to try Scroll in beta.
</mj-text>
</mj-column>
</mj-wrapper>
Expected behavior: The solid border is rendered rounded, or documentation points out this is intentionally not supported.
Observed behavior: The rounded border only changes the background, not the solid border.
Screenshots and GIFs

MJML version: 3.3.5
Email clients the bug is seen on:
Debugging emails in web browser
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
css - border-radius not working - Stack Overflow
Sometimes you can apply border-radius to a wrapper container and it will work nicely. For example, I was trying to set border-radius to...
Read more >Email Editor - MJML
Create beautiful responsive email templates with the MJML Email Editor. No installation required, just give it a try online! With this online email...
Read more >border-radius - CSS: Cascading Style Sheets - MDN Web Docs
The border-radius CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, ......
Read more >Border radius - Vuetify
Use border utilities to quickly style the border-radius of any element. # Usage ...
Read more >Borders · Bootstrap v5.2
Use border utilities to quickly style the border and border-radius of an element. Great for images, buttons, or any other element.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I came across the same problem today and would like to share another option. However, I haven’t tested this solution across different email clients, but maybe it helps you further regardless.
The trick is to give your
mj-columnabackground-colorof your preferred border color and then to give it ainner-background-colorof your preferred background color. An example:That’s a really clever solution @PJUllrich 👍