CSS Help

Reply

Join Date: May 2008
Posts: 1
Reputation: mallows is an unknown quantity at this point 
Solved Threads: 0
mallows mallows is offline Offline
Newbie Poster

CSS Help

 
0
  #1
May 27th, 2008
I have a number of data points that I want to display on a web page. At the moment I use Imagemagick and place the data items on a base image and just display the image. the data gets updated every 5 minutes. Data is for instance temperatures and pressures.

I was thinking if I could just write the data values into a very simple CSS sheet and get a form control (text box) on my web page, to show the value from the CSS. I ahve about 20 floating point numbers to show.

As I am new to CSS and forms, I was hoping someone could just show me how I declare a variable in the CSS and then show this variable in my web page text box.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 95
Reputation: jakesee is an unknown quantity at this point 
Solved Threads: 4
jakesee jakesee is offline Offline
Junior Poster in Training

Re: CSS Help

 
0
  #2
Jul 15th, 2008
Originally Posted by mallows View Post
I was thinking if I could just write the data values into a very simple CSS sheet and get a form control (text box) on my web page, to show the value from the CSS.
No you can't. CSS deals with the looks of the web page, not the content of the web page.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 79
Reputation: rudevils is an unknown quantity at this point 
Solved Threads: 9
rudevils rudevils is offline Offline
Junior Poster in Training

Re: CSS Help

 
0
  #3
Jul 16th, 2008
i think jakesee is right, you need to use PHP, ASP or something else to do it.
If love is blind, why there's a bikini ??

Post your article at Bali Side Notes share your knowledge
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 71
Reputation: Grantmitch1 is an unknown quantity at this point 
Solved Threads: 1
Grantmitch1 Grantmitch1 is offline Offline
Junior Poster in Training

Re: CSS Help

 
0
  #4
Jul 20th, 2008
Originally Posted by rudevils View Post
i think jakesee is right, you need to use PHP, ASP or something else to do it.

Yupp PHP can do it
Need good web hosting...

Well look no further. For around £2.50 you can get great web hosting from
MEERMAJIK
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 55
Reputation: rexibit is an unknown quantity at this point 
Solved Threads: 3
rexibit rexibit is offline Offline
Junior Poster in Training

Re: CSS Help

 
0
  #5
Jul 20th, 2008
PHP can't do it alone. You will need to be sending data to it from somewhere for it to calculate and run on the server prior to the page loading.

CSS would be used to format the data as the page renders.

Another method you could do, if you had time and resources, would be to store the data into a database and use it. I am not sure what application you are wanting this for, but it sounded like it was coming from some database somewhere when you say "datapoints."
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 71
Reputation: Grantmitch1 is an unknown quantity at this point 
Solved Threads: 1
Grantmitch1 Grantmitch1 is offline Offline
Junior Poster in Training

Re: CSS Help

 
0
  #6
Jul 20th, 2008
PHP can do all the nitty gritty...

Throw in some Javascript to make it look nice with a bit of CSS...

Thats good home made data viewing
Need good web hosting...

Well look no further. For around £2.50 you can get great web hosting from
MEERMAJIK
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC