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

Re: tidy could give difference between browsers?

From: RM Gates <rmgates@usa.com>
Date: Mon, 4 Jun 2001 01:17:30 -0400 (EDT)
Message-ID: <3B1B19CA.392AEC86@usa.com>
To: html-tidy@w3.org
In Netscape's defense, it's doing what you asked!
You asked the cell in line 14 to span across the right cell which contains the
embeded table.
Simply move the width statement (13) to into the td (16) containing the table,
where it belongs.
Also http://validator.w3.org/
It's actually IE that's not displaying it as it's written.
Predicting what a browser does in quirks mode would be pretty tough.


>
>
>   ------------------------------------------------------------------------
>
> Message-ID: <3B102474.7B8C759C@clear.net.nz>
> Date: Sun, 27 May 2001 09:47:34 +1200
> From: Eric Richards <e.richards@clear.net.nz>
> To: "'html-tidy@w3.org'" <html-tidy@w3.org>
> Subject: tidy could give difference between browsers?
>
> 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>
>

--
| Later.
| Ric.
|
| www.bigsleep.net
Received on Monday, 4 June 2001 04:42:20 GMT

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