Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Indenting table from top of webpage

  • 02-03-2008 08:11PM
    #1
    Registered Users, Registered Users 2 Posts: 77 ✭✭


    Hi, I want to place a table almost in the centre of the webpage. As in indent it down from the top of the webpage - I've done this before but have forgotten how I did it. Not having any luck on google at all........please hellp.


Comments

  • Closed Accounts Posts: 7,144 ✭✭✭DonkeyStyle \o/


    There are lots of ways to do this depending on how nicely you want it done.
    You could use css within the opening tag like: <table style="margin-top: 150px">
    Or if you're stuck in a wysiwyg editor and aren't adverse to "tag soup", go to the code view and just throw in a lot of <br>'s before the <table> starts.


  • Closed Accounts Posts: 108 ✭✭cathald




  • Registered Users, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    Correct me if I'm wrong but I think the OP wants to vertically/horizontally center the table in the page? - so it is the center for all resolutions and browsers?

    CSS prob way to go but I think its a big difficult.


Advertisement
Advertisement