how to adjust this space around my table?
i have this table with text in a div, i have it in a div that puts a border around it and holds the title above it. there is some space around the table for some reason though, i didn't put any padding or margins to add it. how can i adjust it to make it smaller?
3 Replies
heres the code
if you're wondering why all of my css is inline, the website i'm making this for doesn't allow non-inline css
The
ul
element comes with a padding-left
by default. If you want to change it you need to apply rules to override that:
For further research https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Styling_lists
-# hint: many HTML elements come with default stylings – can be more than one ruleMDN Web Docs
Styling lists - Learn web development | MDN
Lists are relatively easy to get the hang of styling once you know a few associated basic principles and specific properties. In the next article, we'll move on to link styling techniques.
thanks, this worked