Author Topic: gauges.htm errors  (Read 4654 times)

Offline aznetcowboy

  • Full Member
  • ***
  • Posts: 73
    • El Gheko Neighborhood Weather Station
gauges.htm errors
« on: May 18, 2013, 08:20:47 PM »
I have been running into errors in the Gauges.htm file when running the XHTML validation. They come mainly from one routine as follows:
Quote
<!-- Real time wind data . -->
            <div style="text-align: center; border: 1px solid #000000; background-color: #CCCDF0">   
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                    id="CumulusRealtime" width="600" height="300"
                    codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
                    <param name="movie" value="CumulusRealtime.swf" />
                    <param name="quality" value="high" />
                    <param name="wmode" value="transparent" />
                    <param name='flashVars' value='interval=3'/>
                    <param name="allowScriptAccess" value="sameDomain" />
                    <embed src="CumulusRealtime.swf" quality="high" wmode="transparent"
                        width="600" height="300" name="CumulusRealtime" align="middle"
                        play="true"
                        loop="false"
                        allowScriptAccess="sameDomain"
                        flashVars='interval=3'
                        type="application/x-shockwave-flash"
                        pluginspage="http://www.adobe.com/go/getflashplayer" />
                    </embed>
                </object>
            </div>
<!-- end Real time data -->   

There are numerous error here. Any thoughts on why?

Also, in the line
<p style="font-size:105%"; "text-align: center"><b>Last Page Update at <#time></b></p>
it does no like the semi-colon, but it doesn't like it removed either. Any suggestions?

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: gauges.htm errors
« Reply #1 on: May 19, 2013, 06:43:46 AM »
Hi Terry,

When using what we call "inline" styling, we simply put style="..."
into <p> (or others), but have only quotes at begin and end,
and to separate "styling command" we just put semicolon between
them, as this: style="font-size:105%; text-align: center"

For gauges validation, they are caused by center "Flash" gauges.
That kind of insertion cause these "false" error... another reason
to hate Flash!

Regards,
Jacques
« Last Edit: May 19, 2013, 06:52:53 AM by Mr.Meteo »
Please, consider supporting this site