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

Irene Vatton <[email protected]>
Newsgroups gmane.comp.web.amaya.general
Organization INRIA
Message-ID <[email protected]>
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 <[email protected]>
INRIA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.