Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Centering Footer li text

Featured Replies

Hi

Please have a look at my files and help me!

I want the Sitemap: Links in the footer section - to be centered.

But i dont know how?

Prob gonna be a simple fix but i cant get it to work :(

 

Thanks

index.html

indexcss.css

Hi

Please have a look at my files and help me!

I want the Sitemap: Links in the footer section - to be centered.

But i dont know how?

Prob gonna be a simple fix but i cant get it to work :(

 

Thanks

 

Add #footer li {display: inline;} and

Add #footer ul {text-align:center;}

 

That should be it if I remember right.

  • Author
Add #footer li {display: inline;} and

Add #footer ul {text-align:center;}

 

That should be it if I remember right.

 

sorry it still isnt working?? what am i doing wrong??!!

Try this...

 

#footer ul {
list-style: none;
width: auto;
margin: 0 auto;
}

#footer ul li {
display: inline;
padding: 0 10px; /* space the list items a bit*/
}

  • Author

got it working. but not as i wanted !! :(

thanks tho guys

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.