On Saturday, August 20, 2016 at 4:34:42 PM UTC-4, Jim Munro wrote:
>
>    I am trying to center the forecast table data.  The header and WU 
> footer appear centered.  How do I get the table data centered.  Here is a 
> snippet from my index.html.tmpl.  Where and what do I need to add.  I am a 
> html novice.
>

hi jim,

you should be able to center the forecast div with css like this:

#forecast {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

if you want just the forecast table, then do something like this:

<style>
#forecast {
    width: 90%;
    margin: 0 auto;
}
</style>
<div id="forecast">
#include "forecast_table.inc"
</div>

m

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to