Forum Discussion
Vanessa Martin
Jan 04, 2019Copper Contributor
SP Classic Mode: how do I add padding and vertical-align to list web part with CSS
Hi Folks, A list web parts renders with the text aligned to the middle vertically and with no padding in the columns. What CSS code do I need so that the text is aligned to the top of the cell and t...
NotAlex
Jan 11, 2019Iron Contributor
I am pretty sure your selector is incorrect.
It should be
#MSOZoneCell_WebPartWPQ1 td{}
Try using google chromes developer tools
- Right click the cell -> inspect
This will let you see styles already applied, so you may have to use !important to override it