[thelist] CSS and formatting a multichoice quiz

Maximillian Schwanekamp lists at neptunewebworks.com
Thu Nov 18 12:51:18 CST 2004


Bruce MacKay wrote:
> I'm having trouble working out how to use CSS (instead of tables) to 
> format a multichoice quiz.
> 
> The basic structure of the quiz is a question followed by four 
> alternatives.  The outcome I want is that long alternatives wrapping 
> over two lines will start vertically in line (on the second/third line) 
> with the first letter of the sentence of the first row eg.
> 
> O    laksdfjas alskdfjalsdfkj a lakjsdflajsdf asdf
>      lkjasdflkja sdflkja  asdf
> What I'm getting now is as below - the second line wraps to be under the 
> radio button

Bruce,

How about using labels, put some padding on it, and position the radio 
button absolutely (with the label positioned relatively) ??  E.g.:
http://neptunewebworks.com/evolt/multichoice.html

-- 
Maximillian Von Schwanekamp
Dynamic Websites and E-Commerce
NeptuneWebworks.com <http://www.neptunewebworks.com/>
voice: 541-302-1438
fax: 208-730-6504



More information about the thelist mailing list