DotDragnet
September 09, 2010, 10:47:53 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: follow us on twitter @dotdragnet
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: CSS - Random Order  (Read 154 times)
Granty
Sr. Member
****
Posts: 491



View Profile WWW Awards
« on: February 26, 2010, 12:48:02 PM »

Is it possible to present input type items in a random order with CSS?

For example, given the following html..
Code:
<input type="radio"  value="1" /> One
<input type="radio"  value="2" /> Two
<input type="radio"  value="3" /> Three

Is it possible to render them

Two
Three
One

or

Three
One
Two

and so on..

Thanks. smile
Logged
spannaa
Jr. Member
**
Posts: 68



View Profile WWW Awards
« Reply #1 on: February 26, 2010, 01:41:15 PM »

I don't think so.

You'd need to use either JavaScript (if your page is plain html) or server-side scripting.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!