W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2001

tidy could give difference between browsers?

From: Eric Richards <e.richards@clear.net.nz>
Date: Sun, 27 May 2001 09:47:34 +1200
Message-ID: <3B102474.7B8C759C@clear.net.nz>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
Hi
This example checks out OK with Tidy, and had be rewritten just to show
an example.

Now the problem, I had two tables, while I was making it up as I went, I
put everything inside another third table
The picture in the right table disappears in Netscape 4.73 but can be
seen in Internet Explorer 5

To fix the problem, the align="right" is removed, and any other aligns
can be removed in this example as it does not serve any purpose.

Could readers of the group report code that might not work from browser
to browser, so Tidy could give a warning,  or is this two much of a
worry and everyone should always check out their work on all browser,
just to keep them busy. And maybe I should not make thing up as I go
along. (just like this posting)


>From Eric

<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 3.2//EN">

<html>
  <head>
    <meta name="generator" content="HTML Tidy, see www.w3.org">

    <title></title>
  </head>

  <body bgcolor="#ffffff">
    <table align="right" border="1" width="750px" height="350" summary=
    "Good Morning">
      <tr cols="3" width="250px">
        <td colspan="2">1</td>

        <td rowspan="2">
          <table align="right" border="1" width="250px" summary="Have a
nice day">
            <tr>
              <th>this picture will disappear</th>
            </tr>

            <tr>
              <td><img src="any.gif" alt="No show on Netscape"></td>
            </tr>
          </table>
        </td>
      </tr>

      <tr cols="3">
        <td rowspan="2">
          <table align="left" border="1" width="250px" summary="Look
after yourself please">
            <tr>
              <th>this picture will not disappear</th>
            </tr>

            <tr>
              <td><img src="any.gif" alt="This will show on Explorer
"></td>
            </tr>
          </table>
        </td>

        <td width="250px">2</td>
      </tr>

      <tr>
        <td colspan="2">3</td>
      </tr>
    </table>
  </body>
</html>
Received on Saturday, 26 May 2001 17:50:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:45 GMT