• Hi,

    I think I may tear my hair out. I need to centre a table on a page and I’ve tried using HTML, the WordPress align buttons with no luck at all. The table resolutely remains aligned left.

    I need something that isn’t overly technical. I’ve seen posts referring to adapting the CSS and I can’t even find where that is, so need a fairly straightforward explanation, I’m not an expert in web page development.

    The page is https://www.penguinsource.com/?page_id=3838 if you need to see where the table is and the problem.

    Hope someone can help?

    Best

    Heather

Viewing 2 replies - 1 through 2 (of 2 total)
  • Just like search engines, most screen readers read web pages in the order that they are displayed in the HTML. And tables can be very hard for screen readers to parse.

    This is because the content in a table layout, while linear, doesn’t always make sense when read left-to-right and top-to-bottom. Plus, with nested tables, and various spans on the table cells can make the page very difficult to figure out.

    This is the reason that the HTML5 specification recommends against tables for layout and why HTML 4.01 disallows it. Accessible web pages allow more people to use them and are the mark of a professional designer.

    Thread Starter hoodledoodles

    (@hoodledoodles)

    Thanks for your explanation but I really need some recommendations/options as well.

    I still need the content to be well organised and structured, which is why we wanted to put this small amount of content into a table.

    Does someone have any practical suggestions for how to deal with this?

    Best

    Heather

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to centre a table on a page’ is closed to new replies.