tags:

views:

6

answers:

1

Hi,

I'm trying to create a simple report on an intranet site. Based on this answer, I think I want to just go with a simple HTML table syntax. In that post, Joel Coehoorn says that there are some limited formatting options you can perform. Is it possible to add borders to the cells, and if so, how? My google-fu has failed to provide any results, likely because most people want a little more power at the price of simplicity. I just need simplicity.

Thanks

A: 

Based on the info in this post it looks like you can use css:

<html>
    <head>
        <style type="text/css">
            td{
                border: thin black solid;
            }
        </style>
    </head>
    <body>
        <table>
            <tr>
                <td>Hi</td>
                <td>3</td>
                <td>=sum(b1*2)</td>
            </tr>
            <tr>
                <td>Now this is some long text</td>
                <td>3</td>
                <td>=sum(b1*b2)</td>
            </tr>
        </table>
    </body>
</html>
Wayne Werner