W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2009

Re: amaya shows html preview is right but browser show code wrong

From: Irene Vatton <Irene.Vatton@inria.fr>
Date: Mon, 25 May 2009 09:39:00 +0200
To: Greg White <pcguy11@live.com>
Cc: www-amaya@w3.org
Message-Id: <1243237140.9970.12.camel@vanuatu.inrialpes.fr>
Le jeudi 21 mai 2009 à 09:39 -0500, Greg White a écrit :
> Hi,
>  
> I am using Amaya 11.1 to code a webpage.  This webpage shows correctly
> inside amaya.  However if I view the page in IE or FF the page
> displays wrong.  For example the first row in my table should have a
> blue background and have the text on the right side.  Amaya's preview
> shows this, but in the browsers the background color is gone and the
> text is left justified.  I ran the code through the w3 validator and
> it shows no errors.  What is wrong?

When you open the page, Amaya 11.1 should report an error (a red button
at the bottom right). If you click on the red button, it should display
the reported error and help you to fix it.

>  
> Thanks,
>  
>  
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
>   <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
>   <title>New1</title>
>   <meta name="generator" content="Amaya, see
> http://www.w3.org/Amaya/">
> </head>
>  
> <body>
> <p></p>
> <table border="1" style="width: 100%">
>   <caption></caption>
>   <tbody>
>     <tr>
>       <td colspan="7" style="background-color:blue text-align:right">
>         <a href="Home.html"
>         style="color:white" onmouseover="this.style.color='yellow';"
>         onmouseout="this.style.color='white';">Home</a>
>  &nbsp;<span style="color:yellow">&bull;</span>&nbsp;
>         <a href="News.asp" style="color:white"
>         onmouseover="this.style.color='yellow';"
>         onmouseout="this..style.color='white';">News</a> 
>  <span style="color:yellow">&bull;</span>&nbsp;
>         <a href="ContactUs.asp" style="color:white"
>         onmouseover="this.style.color='yellow';"
>         onmouseout="this.style.color='white';">Contact Us</a> </td>
>     </tr>
>     <tr>
>       <td colspan="7"><img src="images/Logo.jpg" alt="picture of logo"
>         width="941" height="84" usemap="#Map"> </td>
>     </tr>
>     <tr>
>       <td><img src="images/pic1.jpg" alt="picture of tower"></td>
>       <td></td>
>       <td></td>
>       <td></td>
>       <td></td>
>       <td></td>
>       <td></td>
>     </tr>
>   </tbody>
> </table>
> </body>
> </html>
> 
> 
> ______________________________________________________________________
> Insert movie times and more without leaving Hotmail®. See how.
-- 
Irene Vatton <Irene.Vatton@inria.fr>
INRIA
Received on Monday, 25 May 2009 07:41:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 25 May 2009 07:41:02 GMT