Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • zyuong Friend
    #150952

    Hi,

    I wish to show a different color for the table row which 1 created at the content. When i view in the editor, the color show. But when preview in the front end. There is not table outline or background color.

    Below is my code.

    <table style=”width: 100%;” border=”1″ cellpadding=”5″>
    <tbody>
    <tr bgcolor=”#f0f0f0″>
    <td>
    <h1>Basic</h1>
    </td>
    <td>Spotlight Features</td>
    </tr>
    <tr>
    <td>ahjjskkdu</td>
    <td>sample 2.<br /></td>
    </tr>
    </tbody>
    </table>

    Also attach the screen capture.

    Anyone can help?

    cheers,
    steven.


    1. table_color-not-show
    Saguaros Moderator
    #343194

    Dear steven!

    Please open teh file: /templates/ja_norite/css/addons.css and find following css:

    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    background: transparent;
    }

    and replace:

    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend, caption {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    background: transparent;
    }

    GOod luck

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 14 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum