Page 2 of 7

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 9:45 am
by Synewave
pacificblue03 wrote:how in CSS do i make the txt headings and the data text in (bold) ?
font-weight: bold;

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 9:54 am
by Synewave
pacificblue03 wrote: and one more thing if it is to do with css in the conditions at (time) after that how do i add a timer to when the next set of data will be uploaded like a countdown in a way?
I don't think you can do that in CSS. CSS is a stylesheet for the presentation (colours, formats etc.) of your HTML pages.

You would probably have to look for some Javascript to do a countdown timer. But I see you are refreshing your whole page every 190 seconds. That method can be very annoying to the user, I would suggest allowing the user to press F5 to refresh.

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 11:45 am
by pacificblue03
Synewave wrote:
pacificblue03 wrote: and one more thing if it is to do with css in the conditions at (time) after that how do i add a timer to when the next set of data will be uploaded like a countdown in a way?
I don't think you can do that in CSS. CSS is a stylesheet for the presentation (colours, formats etc.) of your HTML pages.

You would probably have to look for some Javascript to do a countdown timer. But I see you are refreshing your whole page every 190 seconds. That method can be very annoying to the user, I would suggest allowing the user to press F5 to refresh.
perhaps 360 seconds then since some users dont know what refresh is

also for the font-weight: bold; where in the css line/s does that go in?

Antonio.

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 12:57 pm
by Synewave
pacificblue03 wrote:also for the font-weight: bold; where in the css line/s does that go in?
Sorry Antonio, I thought you had previously said in this thread that you were getting much better at CSS?

Anyway, for example in the CSS locate:

Code: Select all

 .td_temperature_data {
	background-color: #84FF99;
}
Add the line as follows:

Code: Select all

 .td_temperature_data {
	background-color: #84FF99;
        font-weight: bold;
}
Do the same for the other data styles i.e. rainfall etc.

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 1:00 pm
by pacificblue03
Synewave wrote:
pacificblue03 wrote:also for the font-weight: bold; where in the css line/s does that go in?
Sorry Antonio, I thought you had previously said in this thread that you were getting much better at CSS?

Anyway, for example in the CSS locate:

Code: Select all

 .td_temperature_data {
	background-color: #84FF99;
}
Add the line as follows:

Code: Select all

 .td_temperature_data {
	background-color: #84FF99;
        font-weight: bold;
}
Do the same for the other data styles i.e. rainfall etc.
O yess im getting better at it but not expert you see i have HEAPS to learn thanks will try this

Is my realtime loading now?

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 1:01 pm
by Synewave
pacificblue03 wrote:perhaps 360 seconds then since some users dont know what refresh is
I'm sure most users visiting a website would know what refresh is, you could always put a note on your index page that says "Press F5 to refresh the data".

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 1:09 pm
by gemini06720
pacificblue03 wrote:...and one more thing if it is to do with css in the conditions at (time) after that how do i add a timer to when the next set of data will be uploaded like a countdown in a way?
Synewave wrote:You would probably have to look for some Javascript to do a countdown timer. But I see you are refreshing your whole page every 190 seconds. That method can be very annoying to the user, I would suggest allowing the user to press F5 to refresh.
Indeed, Paul, some JavaScript is needed to automatically refresh a page without any user's action.

Auto refreshing a page with no mention on the page is very annoying - I would think every users know about clicking on the refresh button at the top of their browser window (or pressing F5)... :roll:

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 1:13 pm
by Synewave
pacificblue03 wrote:Is my realtime loading now?
Yes, seems to be working fine now.

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 1:50 pm
by pacificblue03
Synewave wrote:
pacificblue03 wrote:perhaps 360 seconds then since some users dont know what refresh is
I'm sure most users visiting a website would know what refresh is, you could always put a note on your index page that says "Press F5 to refresh the data".
ok will remove it now

Small update what do you guys think of my new menu bar and its location color and effects?

Antonio

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 2:17 pm
by Gina
pacificblue03 wrote:Small update what do you guys think of my new menu bar and its location color and effects?
Well, I'm afraid it's almost unreadable here.

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 2:30 pm
by pacificblue03
Gina wrote:
pacificblue03 wrote:Small update what do you guys think of my new menu bar and its location color and effects?
Well, I'm afraid it's almost unreadable here.
o no what browser are you using?

can you possibly tell me more or show me a screen cap?

Antonio.

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 2:37 pm
by pacificblue03
Gina check now i have remade the font to be Black

Antonio.

Re: All the help you can give me pt 3 html css

Posted: Sat 30 Oct 2010 11:51 pm
by pacificblue03
Small update

Please check my graphs page

Antonio.

Re: All the help you can give me pt 3 html css

Posted: Sun 31 Oct 2010 9:30 am
by Synewave
Not quite sure why you've done that, my eyes can only look at one graph at a time so I prefer to click on the thumbnail I'm interested in viewing. Personal taste I guess.

Re: All the help you can give me pt 3 html css

Posted: Sun 31 Oct 2010 1:04 pm
by pacificblue03
Synewave wrote:Not quite sure why you've done that, my eyes can only look at one graph at a time so I prefer to click on the thumbnail I'm interested in viewing. Personal taste I guess.
Well i thought i would give it a go and see the feedback over the next week so far 4 out of 7 people like it like this.

Antonio.