WordPress.org

Ready to get started?Download WordPress

Forums

Customize Table Plus A Question About HTML (2 posts)

  1. gadjade
    Member
    Posted 2 years ago #

    Good day to all.
    Note: I'm a blogger and I'm no expert on html thing as I just write and write.

    I have two issues to present that I want to clear out and solve.

    1) I cannot copy original Microsoft Office documents' elements (tables, etc.) into wordpress.
    It does not retain elements (styles, colors, etc.) when I copy into WordPress Post Editor and Windows Live Writer. Instead it just copy the plain text and format.
    For example I copied a table with color design but when I transferred into WP or Windows Live Editor it doesn't seem to retain the original elements. How can I solve this?
    I tried installing WP-Table plug in to create custom tables but it lacks features in designing.

    2) Why some HTML elements doesn't work on my site

  2. Gadjade.com
  3. Like I tried copying a customized table from a site -

  4. http://www.anandtech.com/show/4862/asus-eee-pad-slider-review
  5. but when I preview it the plain text in table format have only appeared. I check out the page source or HTML structure and I notice that some structures and elements do not exists on site.

    Example on a table html element:
    My site >>

    <p>Features
    <table border="1" cellspacing="0" cellpadding="0"><tbody>
    <tr>
    <td valign="top" width="215">
    <p><b> </b></p>
    </td>

    <td valign="top" width="215">
    <p><b>Asus EeePad</b></p>
    </td>

    <td valign="top" width="215">
    <p><b>Asus</b></p>
    </td>
    </tr>

    <tr>

    Other site >>

    <table align="center" border="0" cellpadding="0" cellspacing="1" width="575">
    <tbody>
    <tr class="tgrey">
    <td align="center" colspan="7">
    2011 Tablet Comparison</td>
    </tr>
    <tr class="tlblue">
    <td width="120">
     </td>
    <td align="center" valign="middle">
    ASUS Eee Pad Transformer</td>
    <td align="center" valign="middle">
    ASUS Eee Pad Transformer + Dock</td>
    <td align="center" valign="middle">
    ASUS Eee Pad Slider</td>
    <td align="center" valign="middle" width="85">
    Samsung Galaxy Tab 10.1</td>
    </tr>
    <tr>
    <td class="tlgrey">
    SoC</td>
    <td align="center" valign="middle">
    NVIDIA Tegra 2 (Dual ARM Cortex A9 @ 1GHz)</td>
    <td align="center" valign="middle">

    It worked for the Other site but not on my site. Notice the "tlgrey" and other elements, I think these don't work on my site. That's my question regarding the second issue, why we have different HTML structure and elements.

    Also, is there any plug-in which I should install in order to copy MS Documents?

  • Lorelle
    Member
    Posted 2 years ago #

    1. To copy from Word and word processing documents, please paste them into your post using the PASTE FROM WORD button found in the "second row" of the button bar. Click the button on the end that expands the button bar. Using this option will remove all the unwanted and unnecessary code from the content so the post should look fine when previewed.

    2. WordPress removes "unwanted" and poorly formed code before publishing and when switching from the Visual to the HTML editor. Again, please use the special paste options to possibly improve your pasting options.

    Also take care in copyright from websites and pasting in information without their express consent in order to avoid copyright violations.

    There are many tutorials on the web that can help you with creating HTML tables. The code you pasted from the other site features archaic and deprecated code, which is why it was probably stripped automatically from WordPress.

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags