NetTalk Central

Author Topic: NT12 footer centered  (Read 3337 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
NT12 footer centered
« on: June 18, 2021, 04:51:55 AM »
Hi, I dont know why the footer fits this way.
The pagefooter in nt-centered
The table is 95%, so I think 95% of its container
But it keeps to the left.
plase see pic
How to solve this?
Thanks
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT12 footer centered
« Reply #1 on: June 18, 2021, 07:26:00 AM »
Firstly, I probably wouldn't use a Table for the footer layout.
Use Flex-box instead, and justify-content
https://css-tricks.com/snippets/css/a-guide-to-flexbox/

cheers
Bruce

DonnEdwards

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Insights and Rants
    • Email
Re: NT12 footer centered
« Reply #2 on: June 23, 2021, 11:57:21 AM »
If you have to use a table, try putting <center> before <table> and </center> after </table>. It looks like the text is centred within the table, but the table isn't centred on the page.

I know <center> is really old HTML, but it still works when you are in a hurry.
If you're happy with your security, then so are the bad guys