Re: Formatting html tables



On 27 Mai, 12:24, "K." <halinaciern...@xxxxxxxxxxxxxx> wrote:
Hello!

I have a problem with formatting tables.

I have such code (it is not the exact code I have but I simplified the
example):

<table>
    <tr>
        <td>
            <table style="border: 1px solid black;">  //table 1
                <tr>
                    <td>
                        test<br>
                        test
                    </td>
                </tr>
            </table>
        </td>
        <td>
            <table style="border: 1px solid black;">   //table2
                <tr>
                    <td>
                        test<br>
                        test
                    </td>
                </tr>
            </table>
        </td>

    </tr>
</table>

I know that such code is not so good, but please write me how I can achieve
such thing

That code is not good. Just shift your last table with a div element.
And use CSS to style the rest, like table cells.
.



Relevant Pages

  • Re: Tables - cell height
    ... don't walk from height attributes in tables and cells. ... Jon is correct - Use padding, either through CSS or table attributes for ... your formatting. ... Bob Lehmann ...
    (microsoft.public.frontpage.client)
  • Re: Automatic Cond Formatting of multiple columns based of values
    ... I wanted to explain that my lookup table starts on cell ... Conditional Formatting for each number listed in col M. ... hence the copying and pasting in the worksheet. ... the cells in a number of columns of the main worksheet, ...
    (microsoft.public.excel.programming)
  • Re: Divide entire column by 100
    ... IF you will NOT be using these values in any further/future calculations, then you can make the value "look" like what you want by simply formatting the entry. ... my first question is why not use standard entries? ... For 227, just type in 227 and, also, remove the format from the cells in that column (change the Currency selection to General in the Formatting Cells dialog). ...
    (microsoft.public.excel.programming)
  • Re: Conditional Formatting Help
    ... There are only either these zero cells, ... "Bob I" wrote: ... for blank and set no formatting. ...
    (microsoft.public.excel.misc)
  • Further Issues
    ... -select unlocked cells ... Protect Cell Formatting ONLY ... I understand how to protect a worksheet, and I know how to "unlock" certain ...
    (microsoft.public.excel.misc)