Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Max Width?
#3
(04-03-2019, 09:10 AM)Alexandre Machado Wrote: 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.

Thanks for the advice, but it doesn't seem to be working. I've added the style sheet, and it does appear to be referenced, but to no effect.

I suspect it is being overridden by the javascript that IW is generating to align the various elements on the form
Reply


Messages In This Thread
Max Width? - by SWTwo6 - 04-01-2019, 09:39 AM
RE: Max Width? - by Alexandre Machado - 04-03-2019, 09:10 AM
RE: Max Width? - by SWTwo6 - 04-04-2019, 02:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)