Transform HTML table with CSS

Discussion in 'HTML' started by Sarah, Sep 26, 2006.

  1. Sarah

    Sarah Guest

    Hi! I've a table:

    <table cellspacing="0" cellpadding="0" width="200" bgcolor="#ffffff"
    border="0">
    <tbody>
    <tr>
    <td colspan="3"><img src="Include/SxBar/Sx_Top.jpg" width="200" border="0"
    /></td>
    </tr>
    <tr>
    <td width="5" rowspan="2" valign="top"><img height="192"
    src="Include/SxBar/Sx_VerticalSxBar.jpg" width="5" border="0" /></td>
    <td width="190"><img height="30" src="Include/SxBar/Sx_TopBar.jpg"
    border="0" /></td>
    <td width="5" rowspan="2" valign="top"><img height="192"
    src="Include/SxBar/Sx_VerticalDxBar.jpg" width="5" border="0" /></td>
    </tr>
    <tr>
    <td valign="top" align="middle" height="162">
    </td>
    </tr>
    <tr>
    <td colspan="3"><img
    src="Include/SxBar/Sx_Down.jpg" width="200" border="0" /></td>
    </tr>
    </tbody>
    </table>


    this html draw a box where I will insert some informations in the <td>

    for example I will insert images/text/other tables

    <tr><td valign="top" align="middle" height="162">
    text text text text text text
    </td></tr>


    Now I would like to traduce the HTML code above in XHTML ... somebody can
    help me??

    I would like to know what insert in the external CSS and how modify the HTML

    Thansk for help me!!!
     
    Sarah, Sep 26, 2006
    #1
    1. Advertising

  2. Sarah

    Sarah Guest

    Because I would like to create a document XHTML strict

    Can you help me?
     
    Sarah, Sep 26, 2006
    #2
    1. Advertising

  3. Sarah

    dorayme Guest

    In article <45197ffd$0$15881$>,
    "Sarah" <> wrote:

    > Hi! I've a table:
    >
    > <table cellspacing="0" cellpadding="0" width="200" bgcolor="#ffffff"
    >...


    > Now I would like to traduce the HTML code above in XHTML ...


    Why?

    --
    dorayme
     
    dorayme, Sep 26, 2006
    #3
  4. Sarah

    dorayme Guest

    dorayme, Sep 26, 2006
    #4
  5. Sarah

    Sarah Guest

    I've read but I can't apply it :-((

    Can you help me??

    > But again, why do you want to do this at all?


    Because I would like have an XHTML document and saparate content (HTML) from
    layout (CSS)... why your question??
     
    Sarah, Sep 27, 2006
    #5
  6. Sarah

    Andrew Guest

    On Tue, 26 Sep 2006 19:28:52 GMT, "Sarah" <> wrote:

    >Hi! I've a table:
    >

    snip>>>>>>>>>>>>
    >
    >
    >Now I would like to traduce the HTML code above in XHTML ... somebody can
    >help me??
    >


    Hi Sarah,

    I cannot help you with the table but I can help you with your
    glorious typo which brought back some memories of Shakespeare's
    Othello:

    .................................in Aleppo once,
    Where a malignant and a turban'd Turk
    Beat a Venetian, and traduc'd the state,
    I took by the throat the circumcised dog,
    And smote him thus. [stabs himself]

    Sorry for the [OT] comment but I have not seen the word 'traduced'
    used in any other context before :)

    Andrew
    --

    Andrew
    http://www.andrews-corner.org/
     
    Andrew, Sep 27, 2006
    #6
  7. Sarah

    dorayme Guest

    In article <4519b17c$0$47960$>,
    "Sarah" <> wrote:

    > I've read but I can't apply it :-((
    >
    > Can you help me??
    >
    > > But again, why do you want to do this at all?

    >
    > Because I would like have an XHTML document and saparate content (HTML) from
    > layout (CSS)... why your question??


    Out of a suspicion you have no good reason, confirmed by your
    remark about separating style from content. It is routinely
    separated using HTML. Where does XHTML come into this? Why do you
    think it does? I am just trying to save you the trouble of going
    up a wrong road.

    How is helping you to convert to XHTML (beyond referring you to
    many good tutes on this) going to help you separate style from
    content?

    --
    dorayme
     
    dorayme, Sep 27, 2006
    #7
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. s o
    Replies:
    0
    Views:
    500
  2. Titus A Ducksass - AKA broken-record
    Replies:
    6
    Views:
    657
    Titus A Ducksass - AKA broken-record
    Nov 15, 2004
  3. Curtis
    Replies:
    7
    Views:
    1,059
    Curtis
    Jan 6, 2006
  4. Marrow
    Replies:
    0
    Views:
    4,144
    Marrow
    Jul 2, 2003
  5. vitay
    Replies:
    8
    Views:
    552
    Stan McCann
    Nov 9, 2006
Loading...

Share This Page