Loading ...
Sorry, an error occurred while loading the content.

2356RE: [NH] CSS QUERIE

Expand Messages
  • Grant
    Feb 2, 2002
    • 0 Attachment
      > Has anyone got some suggestions regarding the following style types for
      > CSS. They look just how I want them BUT, much of my work is within table
      > cells and if I use
      > "td class=head2" I have the space below that I haven't been able to
      > eliminate. If I use the body head (eg, body class="head2") with a
      > closing body tag within TD tags, it works fine, BUT html tidy wants to
      > eliminate it. Is there a problem with that?

      An html document can only contain one body element.
      <html>
      <head>
      <title></title>
      </head>
      <body>

      </body>
      </html>

      A table can contain one or more tbody elements which can be given separate
      classes.

      <table>
      <tbody>
      <tr>
      <td>
      </td>
      <td>
      </td>
      </tr>
      <tr>
      <td>
      </td>
      <td>
      </td>
      </tr>
      </tbody>
      <tbody>
      <tr>
      <td>
      </td>
      <td>
      </td>
      </tr>
      <tr>
      <td>
      </td>
      <td>
      </td>
      </tr>
      </tbody>
      </table>
    • Show all 5 messages in this topic