Tables

  • Unknown's avatar

    Created a blog in wordpress.com some time back. Created a table in MS Word, the grid lines are all invisible. Using Word and tables to create formatted display and due to the fact that I need to be updating the table quite often. Copied the table by pressing Ctrl+A and then Ctrl+C. Created a new page and did Ctrl+V to paste the table. Looks ok here. Viewed in IE7 – looks fine, but in Firefox 2.0, the row height is much greater and looks goofy. http://rtiarea7.wordpress.com/upcoming-events/ is the link. It will be nice if it looks the same in all browsers. Also tried the using the “Paste from Word” feature, but result is the same.

  • Unknown's avatar

    never ever paste from word! where did you hear that feature? if it works elsewhere, in wordpress it does not.

    i find it easiest to paste a table into microsoft paint, saving it as a picture format and uploading it as a picture because that way you can get it to look exactly as you wish it.

  • Unknown's avatar

    When you are writing a post or a page, the leftmost icon on the editor tool bar is “Advanced Tool Bar”. Press that and you get the next line of the tool bar which has among other things an option “Paste from Word”.

  • Unknown's avatar

    It’s brand new (the advanced toolbar button) and obviously does some good, because every time I’ve tried to paste a table before it’s dropped lines off. I’m afraid you’re way ahead of me in the table-formatting stakes. If I were you I’d send a feedback to Staff, as that’s something only they can fix, I think.

  • Unknown's avatar

    i don’t know we have that option because i turned off the rich text editor. but then there’s this from the faq page:
    http://faq.wordpress.com/2006/11/09/why-not-to-use-word/

    so does that mean we can now paste directly from word with this new option?

  • Unknown's avatar

    Tables are supported. Go into the HTML code text editor.

    Put in these tags:

    <table border=”1″><tr><td>TEXT<td/></tr></table>

    “tr” stands for ‘row’ and “td” stands for ‘column’. Put in as many rows you want and include as many columns you want in each row.

    In the above example, there is only one ‘box’ in the table.

    For a two-column one-row table:

    <table border=”1″><tr><td>TEXT</td><td>TEXT</td><tr/></table>

    You can include images as well, just remember to enclose it in HTML image tags.

    To leave the background of the color white, don’t add a color tag.

    If you want a colored background, add a color code to the first line of the code. If you want extra space between the table contents and the border put in padding. If you want the table to appear in the middle of the page, put in ALIGN tag.

    Eg.

    <table CELLPADDING=”4″ ALIGN=”center” BGCOLOR=”#ff0000″ BORDER=”1″>

    The above will give you a red background.

    BGCOLOR=”#ebffeb” will give you a very slight green tint.

    No color=> leave out the BGCOLOR bit.

    *** But remember: include the BORDER=” [number]” bit in the first line of HTML code or the lines of the table frame will not appear.

    And make sure the number is not 0 or else you won’t see the framing lines.

    The BORDER tag must be included in WordPress unlike some other websites.

    If copying tables from another website using the Rich text editor and the table lines don’t show, go to the HTML view and add the BORDER tag or change the value to “1” if the BORDER value is set to “0”.

    This is a website with good information on composing tables using HTML.

    http://www.webdesignfromscratch.com/html-tables.cfm

    But it doesn’t include the BORDER tag.

  • The topic ‘Tables’ is closed to new replies.