HTML Table help

Posted:
in Mac Software edited January 2014
I need a table with only 3 cells horizontally - the overall table needs to scale to the size of the browser window - thats not a problem



however,



the first cell needs to have a simple graphic that scales horizontally as the size of the cell increases or decreases,



the second cell has a fixed graphic, and this cell always needs to be the same size



the third cell behaves the same as the first...



I've got so close, but my third cell, even though it is coded the same as the first, doesn't stretch the graphic, and breaks away from the centre graphic when the window is enlarged horizontally. Which seems really odd!



can anyone help???

Thanks



ps, i need an html only solution, i cant really cope with fancy css or whatever. Im pretty bad at this...

Comments

  • Reply 1 of 3
    rara Posts: 623member
    Try something like this:



    Code:


    <table width="100%">

    <tr>

    <td><img src="path_to_file" width="100%"></td>



    <td width="xxx">

    <img src="path_to_file" width="xxx">

    </td



    <td><img src="path_to_file" width="100%"></td>

    </tr>

    </table>



  • Reply 2 of 3
    marcukmarcuk Posts: 4,442member
    Quote:
    Originally Posted by Ra


    Try something like this:



    Code:


    <table width="100%">

    <tr>

    <td><img src="path_to_file" width="100%"></td>



    <td width="xxx">

    <img src="path_to_file" width="xxx">

    </td



    <td><img src="path_to_file" width="100%"></td>

    </tr>

    </table>





    hehe - tried that it doesn't work!
  • Reply 3 of 3
    I can help you with this what size do you need each area?

    Could you cope with css if it was done for you?

    Do you have a visual?
Sign In or Register to comment.