•
•
•
•
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
![]() |
•
•
Join Date: May 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
•
•
Join Date: Jan 2008
Location: Bali - Indonesia
Posts: 62
Reputation:
Rep Power: 1
Solved Threads: 8
i think jakesee is right, you need to use PHP, ASP or something else to do it.
•
•
Join Date: Jun 2008
Posts: 54
Reputation:
Rep Power: 1
Solved Threads: 3
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."
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."
Rexibit Web Services - Website Design - SEO - North Georgia Website Design
Don't just build it - CSS it.
Don't just build it - CSS it.
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Layout Tables to CSS (HTML and CSS)
- HTML, CSS, JavaScript Developer (Web Development Job Offers)
- CSS center vertical (HTML and CSS)
- CSS Quicky (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Multiple images in a div wthout wrapping?
- Next Thread: Use of


Linear Mode