Hi,everyone! I’ve already done this but there is something to do, can’t center some elements:ul and li tags and the quotation. Please help me, I suppose I have to add a div element above ul and some properties but I can’t figure out which one?
Tried to add to ul (without adding div) display:block; margin:0 auto and added text-center class to ul, didn’t help,I read about these ways here on the forum.
Here’s my tribute page:http://prntscr.com/gr0rfu
Here’s a code:
<h3 class="text-center">Here's a timeline of Nikola Tesla's life:</h3> <ul> <li><strong>1856</strong> - Born in Smiljan,Austrian Empire</li> <li><strong>1875</strong> - Tesla Enrolls At Austrian Polytechnic</li> </ul> <p class="text-center"style="margin-top:20px;">"I don't care that they stole my idea... I care that they don't have any of their own" </p> <p class="text-center" style="color:#000; font-size:15px;">― Nikola Tesla</p>