Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-07-2009, 02:24 PM   PM User | #1
FlameKissed
New to the CF scene

 
Join Date: Dec 2009
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
FlameKissed is an unknown quantity at this point
Adding sums down a column?

I'm making a sevice request page for a project in my high school web design class, and I was wondering if there would be a way for me to make the form work in such a way that, after the viewer selects all the different settings and features they want, sums associated with these features could be added up to make a total at the bottom. I asked my teacher, but he doesn't know, and couldn't find an aswer on Google Is this possible with html and css, or would I have to do something fancier?

I'm not sure what information you may need about my page and the like, so if there is something that you need, just let me know in a reply and I'll put it up.

Thanks in advance.
FlameKissed is offline   Reply With Quote
Old 12-07-2009, 02:42 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello FlameKissed,
Nothing in html or CSS will do that. SQL will though... have a look at http://www.w3schools.com/SQl/sql_func_sum.asp
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Users who have thanked Excavator for this post:
FlameKissed (12-08-2009)
Old 12-08-2009, 02:59 PM   PM User | #3
FlameKissed
New to the CF scene

 
Join Date: Dec 2009
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
FlameKissed is an unknown quantity at this point
Thanks again Excavator
FlameKissed is offline   Reply With Quote
Old 12-08-2009, 03:05 PM   PM User | #4
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,678
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
I think what OP required is a javascript based solution.
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Reply

Bookmarks

Tags
adding sums, columns, css, forms, html

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:05 AM.


Advertisement
Log in to turn off these ads.