04-03-2019, 09:10 AM
If you want the max-width to be applied to the whole page you need to create a style sheet file and add the style to the body tag there. like this:
body{
max-width: 1080px;
}
then you add this file to the form using ContentFiles property (or ServerController's if you want it to be in all forms). You just need to add the file name to the ContentFiles property (e.g. styles.css) and add the styles.css file to your wwwroot folder.
It will work as expected.
body{
max-width: 1080px;
}
then you add this file to the form using ContentFiles property (or ServerController's if you want it to be in all forms). You just need to add the file name to the ContentFiles property (e.g. styles.css) and add the styles.css file to your wwwroot folder.
It will work as expected.