wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HTML Templates using Cascading Style Sheets
Goto page Previous  1, 2
 
Post new topic   Reply to topic    wviewweather.com Forum Index -> Web Sites and HTML Templates
View previous topic :: View next topic  
Author Message
bodemory



Joined: 06 Dec 2005
Posts: 43

PostPosted: Sat Feb 11, 2006 5:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
bhnb



Joined: 28 Nov 2005
Posts: 127

PostPosted: Sun Feb 12, 2006 3:56 am    Post subject: Reply with quote

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
View user's profile Send private message
bodemory



Joined: 06 Dec 2005
Posts: 43

PostPosted: Sun Feb 12, 2006 4:26 am    Post subject: Reply with quote

Indeed ! Many thanks Jon.

Brice
Back to top
View user's profile Send private message Visit poster's website
bhnb



Joined: 28 Nov 2005
Posts: 127

PostPosted: Sun Feb 12, 2006 4:50 am    Post subject: Reply with quote

Hopefully Chris can confirm that this is still W3C compliant?
Back to top
View user's profile Send private message
bodemory



Joined: 06 Dec 2005
Posts: 43

PostPosted: Sun Feb 12, 2006 7:18 am    Post subject: Reply with quote

Yes it is :
http://jigsaw.w3.org/css-validator/validator?uri=http://www.ofxb.ch/img/

Cheers
Brice
Back to top
View user's profile Send private message Visit poster's website
chrisale



Joined: 09 Nov 2005
Posts: 187

PostPosted: Sun Feb 12, 2006 9:39 pm    Post subject: Reply with quote

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. Smile

Chris
Back to top
View user's profile Send private message MSN Messenger
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Sun Feb 12, 2006 10:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
bodemory



Joined: 06 Dec 2005
Posts: 43

PostPosted: Mon Feb 13, 2006 3:04 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> Web Sites and HTML Templates All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group