|
-
Jun 27th, 2001, 11:06 AM
#1
Thread Starter
Hyperactive Member
Any(!!) suggestions please
Hello,
I am still trying to get a solution to a problem which posted a while ago.
Is there NO(!!!) way to bold individual items within a dropdown menu.
IE... I have 5 items in my dropdown - some must be bold, other not!!
Code:
<select name="Test" size="1">
<option value="This one is BOLD">This one is BOLD</option>
<option value="This one is NOT">This one is NOT</option>
<option value="This one is NOT">This one is NOT</option>
<option value="This one is BOLD">This one is BOLD</option>
<option value="This one is BOLD">This one is BOLD</option>
</select>
Please, any suggestions. My problem is that I have a list of about 20
items in my dropdown, but these items must be "grouped" by category and
I do not know how to clearly define the different categories/items within
the dropdown - thats why I thought about using BOLD!! Any other suggestions??
I MUST use a dropdown/select - it's not my choice!!
Thanks,
T
-
Jun 27th, 2001, 11:44 AM
#2
Frenzied Member
no, i pretty sure you can't, i never seen it!!
why not do like in here, the dropdown
at the bottom, the forum jump:
-
Jun 27th, 2001, 01:08 PM
#3
Fanatic Member
You can try this though:
****************************************************
<html>
<head>
<title></title>
<style TYPE = "text/css">
.category{background-color:blue;color:white;}
</style>
</head>
<body>
<form NAME = "frmSelect">
<select name="Test" size="1">
<option value="This one is BOLD" CLASS = "category">This one is BOLD</option>
<option value="This one is NOT">This one is NOT</option>
<option value="This one is NOT">This one is NOT</option>
<option value="This one is BOLD" CLASS = "category">This one is BOLD</option>
<option value="This one is BOLD" CLASS = "category">This one is BOLD</option>
</select>
</form>
</body>
</html>
****************************************************
You can change the background color and font color in the select boxes.
Chris
-
Jun 27th, 2001, 01:34 PM
#4
Thread Starter
Hyperactive Member
Thx!!!!
Thank you very much for the replies!!
I am using a combination of both suggestions and it looks great!!
Thanks again,
T
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|