@surger13 said in reduce bottom margin:
/* height of the module with maximum lines possible */
That line looks familiar. ;)
The CSS for the body looks right: 100% - (2 x margin).
So what you see is probably an issue with the height of the newsfeed module. Keep in mind that:
- a module will occupy as much space in the region as it needs (and stay at the bottom)
- if you set a height, it will occupy the specific space as set (and fill up that space from top, leaving space at the bottom, if it needs less than set)
It’s probably just that 100px is more than the module needs so there is some space at the bottom. But: In the thread where you got that line from, it was the desired effect that the top of the module and the text within it stay at the same place with space at the bottom to fill in case the text needs more lines.
So these two wishes contradict here. You have to look at your module filled to the max (maximum possible lines) and then figure out the height it needs (maybe less than 100px). Or you remove the height and accept that the module sometimes needs more and its top moves up a bit.
Hopefully I was able to make this somewhat comprehensible.