User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 423,640 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,173 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 517 | Replies: 5
Reply
Join Date: May 2008
Posts: 1
Reputation: mallows is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
mallows mallows is offline Offline
Newbie Poster

CSS Help

  #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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2008
Posts: 33
Reputation: jakesee is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
jakesee jakesee is offline Offline
Light Poster

Re: CSS Help

  #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  
Join Date: Jan 2008
Location: Bali - Indonesia
Posts: 62
Reputation: rudevils is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 8
rudevils rudevils is offline Offline
Junior Poster in Training

Re: CSS Help

  #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  
Join Date: Nov 2007
Posts: 69
Reputation: Grantmitch1 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
Grantmitch1 Grantmitch1 is offline Offline
Junior Poster in Training

Re: CSS Help

  #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  
Join Date: Jun 2008
Posts: 54
Reputation: rexibit is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 3
rexibit rexibit is offline Offline
Junior Poster in Training

Re: CSS Help

  #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  
Join Date: Nov 2007
Posts: 69
Reputation: Grantmitch1 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
Grantmitch1 Grantmitch1 is offline Offline
Junior Poster in Training

Re: CSS Help

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 10:19 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC