Page 1 of 1
Negative Padding.
Posted: Thu Oct 19, 2023 3:43 pm
by Nicetalleuropean
Hello, am new to the forum. On the application I have negative padding but this does not translate to the published site. As a result there is too much spacing on some of my elements. Is there a working way to achieve less spacing?
Thanks.
In Editor:
Published Site:
https://virtualpinball.com/VertigoNXT.html
Re: Negative Padding.
Posted: Thu Oct 19, 2023 3:50 pm
by Pablo
HTML does not support negative padding. However, in some cases you can use negative margin.
But, in your example I do not see why you would need negative padding. If there is too much spacing then you may need to change this elsewhere.
If you need further assistance, then please provide a DEMO project.
Re: Negative Padding.
Posted: Fri Oct 20, 2023 7:43 pm
by Nicetalleuropean
Pablo, thanks for the quick reply.
Here is the file for the site
------------
You mentioned I may need to change this elsewhere, can you elaborate on that?
Thanks.
Re: Negative Padding.
Posted: Sat Oct 21, 2023 7:01 am
by Pablo
You mentioned I may need to change this elsewhere, can you elaborate on that?
In the layout grid (LayoutGrid16), you have set the padding to 25.
So, instead of using a negative padding on the text (which is not valid), you should reduce the padding of the layout grid.