/    Sign up×
Community /Pin to ProfileBookmark

HTML form object question

Hi there

I have this code to produce a box with options in

[code=html]<SELECT
size=6 name=test>
<OPTION value=0>(none)
<OPTION value=2>option 1</OPTION>
<OPTION value=3>option 2</OPTION>
<OPTION value=4>option 3</OPTION>
<OPTION value=5>option 4</OPTION>
<OPTION value=3>option 5</OPTION>
<OPTION value=4>option 6</OPTION>
<OPTION value=5>option 7</OPTION>

</SELECT>[/code]

I have 2 questions, is it possible somehow to apply a link to any of these options by double clicking the option ? I tried using <a href> around the option text but it didnt work. and the second question is can i fix the width of a box like this because the width by default is dynamically determined by the length of text in the longest entry

any help on this would be greatly appreciated

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@FangApr 27.2005 — http://www.webdeveloper.com/forum/showthread.php?t=63946

<SELECT size="6" name="test" [COLOR=Green]style="width:6em;"[/COLOR]>
×

Success!

Help @hcclnoodles spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...