Is there a way to have the list items sit flush against the page like the rest of the text?


#1

Question

The list items we created are indented relative to the rest of the text on this page. Is there a way to have the list items sit flush against the page like the rest of the text?

Answer

Indeed there is a way! Most browsers use a default style sheet to apply some padding to the left of the <ul> and <ol> elements. Developers can overwrite this default padding by creating their own custom CSS style sheets.


FAQ: Learn HTML Elements - Intro to HTML - Unordered Lists