View previous topic :: View next topic |
Author |
Message |
bodemory
Joined: 06 Dec 2005 Posts: 43
|
Posted: Sat Feb 11, 2006 5:25 pm Post subject: |
|
|
I would like to thank Chris for making his templates available for all, especially people who are not familiar with css stuff like me !
Here you can see the results : http://ofxb.ch/img
I made a few modifications (due to the banner and "plus" sensors).
"Current conditions" page is not available yet in the new fashion display...
All comments are welcome !
Do somebody knows how to center the frame in the browser ?
I tried :
Code: |
just after :
<body onload="changeColor();">
I put
<table width="100%"><tr><td align="center">
and then, before </body> :
</td></tr></table> |
without success.
Thanks again !
Brice |
|
Back to top |
|
|
bhnb
Joined: 28 Nov 2005 Posts: 127
|
Posted: Sun Feb 12, 2006 3:56 am Post subject: |
|
|
This seems to work for me - if you edit weatherstyle.css, and immediately after 'BODY {' at the top of the file, insert a new line:
margin: auto;
Then save and refresh.
Cheers
Jon |
|
Back to top |
|
|
bodemory
Joined: 06 Dec 2005 Posts: 43
|
Posted: Sun Feb 12, 2006 4:26 am Post subject: |
|
|
Indeed ! Many thanks Jon.
Brice |
|
Back to top |
|
|
bhnb
Joined: 28 Nov 2005 Posts: 127
|
Posted: Sun Feb 12, 2006 4:50 am Post subject: |
|
|
Hopefully Chris can confirm that this is still W3C compliant? |
|
Back to top |
|
|
bodemory
Joined: 06 Dec 2005 Posts: 43
|
|
Back to top |
|
|
chrisale
Joined: 09 Nov 2005 Posts: 187
|
Posted: Sun Feb 12, 2006 9:39 pm Post subject: |
|
|
Yep! That's compliant.
I don't know if I announced it.. but my current wview pages are now all totally validated against the XHTML 1.0 Strict and CSS 1 standard.
Discovering those comments were the key.
If you check out my site now, you'll notice I've added a banner and navigation bar. Got some help from my web designer father-in-law. I'm going to reorganize my CSS file a little. It's slightly unruly and wasteful. I'll see if I can clean it up a bit and repost it.
Glad that people are finding this useful.
Chris |
|
Back to top |
|
|
mteel
Joined: 30 Jun 2005 Posts: 435 Location: Collinsville, TX
|
Posted: Sun Feb 12, 2006 10:00 pm Post subject: |
|
|
Once you have a complete, generic template set (including your css's) defined and maybe documented (a short README or somesuch), you should send my a tarball and we can figure out a way to add it to the wview distribution. Maybe we could figure out how to implement "Template Sets" in wview, which could be configured via htmlgen.conf.
The template set idea also may portend a good generic way to do multiple template set generation, where template set may include unit (US/Metric) definitions. -Jon-, a way to generate multiple unit charts and dials for switchable unit web sites (without having to run multiple copies of htmlgend).
I have been batting this template set idea around in my mind for a couple of months. There is another fledgling effort to design another template set. It is moving slowly. I just think it would be cool to have a simple, well-defined template set IF definition which would allow wview to easily assimilate new and creative efforts like chrisale's fine work.
Comments/suggestions welcomed.
Mark |
|
Back to top |
|
|
bodemory
Joined: 06 Dec 2005 Posts: 43
|
Posted: Mon Feb 13, 2006 3:04 am Post subject: |
|
|
It would be nice to add a multilingual support as well. I can take care of french translations (on my site, only the homepage is translated other are in queue).
Brice |
|
Back to top |
|
|
|