Donate SIGN UP

How do I present text tables in columns

Avatar Image
David H | 23:48 Mon 16th Feb 2009 | Technology
4 Answers
I am writing a table on one of my websites and want to make columns of names of railway stations that read like this:

Hampton Hendon High Wycombe
Kingston New Malden Norbiton

etc rather than all in a row downwards. This is only when typing to sites like this without all the bells and whistles on Word like tables, is there an HTML tag or alt code or whatever that will let me split the page into three columns?
Gravatar

Answers

1 to 4 of 4rss feed

Best Answer

No best answer has yet been selected by David H. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
I know next to nothing about HTML but I've just found a rather nifty website which gives an example of the HTML required for two columns:
http://www.w3schools.com/HTML/tryit.asp?filena me=tryhtml_layout

The great thing about that site is that you can edit the HTML on the left and use the 'Edit and Click Me' button to see the results on the right. Even as a complete novice, it only took me a few seconds to change the output to three columns, rather than two. (Simply change the percentages from 50 to 33 and then copy and paste an extra 'paragraph' into the HTML).

Any use?

Chris
Question Author
Thanks Chris,

If that can even split the list in two that'll be great, as I have about 500 stations to list (and growing), which means my Flickr group now actually has about 20% of them all, which is pretty good.

To do it in word you insert a table and then make the edges white so you don't see the framework creating the columns, but that's the only way I've known till needed a new one now. I'll have a go tomorrow and report back,
You can set as many table data (TD) columns as you like within in one table row.
I would recommend that you actually set the table width of each column instead of using percentages.
The "Hampton Hendon High Wycombe" line would need a minimum setting of TD width="207".
Using percentages will 'wordwrap' the text when the viewing page is too narrow, thus defeating the purpose.
Question Author
Thanks Wildwood, there clearly is a method for any number then, but that looks like learning another language.
I'll sort it out somehow though, I've managed as far as the a href etc so the time has arrived to advance.

1 to 4 of 4rss feed

Do you know the answer?

How do I present text tables in columns

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.