willsherwood
asked on
CSS formatting questions
I'm using a scheme (CSS recipe of sorts) found on the web for allowing styling of the
options in a look-alike dropdown select list using CSS and <ul>
i have three questions i need help with (in order of priority)
1. How to eliminate the "linebreaks" that appear AFTER an option is chosen that display in the "selected" choice
2a. I tried CSS span:nth-child(1){left: 0px;} (etc.) to column-ize the dropdown options for selection,
but when i did, altho the "tab stops" yielded the desired multiple columns, each word WITHIN each tabstop is positioned with a wordwrap to place the words under each other in a narrow column manner. How to have the words within each tabstop appear normally?
2b. After selection, the position/origin is outside of the enveloping container. How to resolve.
3. Javascript: how to set the (form input field) .value of the chosen option, once clicked on?
URL for Questions #1 & 3: CHOOSE SIZE is the dropdown in question
http://rugsforyourhome.com/detail1-TMI2c.php?PID=1&SID=8&CID=25&mcnid=25#
URL for Question #2: http://rugsforyourhome.com/detail1-TMI2d.php?PID=1&SID=8&CID=25&mcnid=25
options in a look-alike dropdown select list using CSS and <ul>
i have three questions i need help with (in order of priority)
1. How to eliminate the "linebreaks" that appear AFTER an option is chosen that display in the "selected" choice
2a. I tried CSS span:nth-child(1){left: 0px;} (etc.) to column-ize the dropdown options for selection,
but when i did, altho the "tab stops" yielded the desired multiple columns, each word WITHIN each tabstop is positioned with a wordwrap to place the words under each other in a narrow column manner. How to have the words within each tabstop appear normally?
2b. After selection, the position/origin is outside of the enveloping container. How to resolve.
3. Javascript: how to set the (form input field) .value of the chosen option, once clicked on?
URL for Questions #1 & 3: CHOOSE SIZE is the dropdown in question
http://rugsforyourhome.com/detail1-TMI2c.php?PID=1&SID=8&CID=25&mcnid=25#
URL for Question #2: http://rugsforyourhome.com/detail1-TMI2d.php?PID=1&SID=8&CID=25&mcnid=25
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Cd&