1) Script Title:
Combo-Box Viewer
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...omboviewer.htm
3) Describe problem:
Can't make the links inside the form text with different than the default colour. Any ideas how to overcome this?
1) Script Title:
Combo-Box Viewer
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...omboviewer.htm
3) Describe problem:
Can't make the links inside the form text with different than the default colour. Any ideas how to overcome this?
Which form? The combo box or the larger display area? For the text in the combo box (these are not actual links):
If you mean link text in the larger area, put this in the style section in the head:Code:<select name="dropmsgoption" size="1" style="color:red;background-color:lightblue;" onChange="expandone()"> <option selected>What is JavaScript?</option> <option>Difference betwen Java and JavaScript</option> <option>What is DHTML?</option> </select>
If you have other styles defined for link pseudo classes like :link, :active, :visited, :hover - then you will need to define these pseudo classes for the .dropcontent a selector as well if you want them to be different than the others in IE.Code:.dropcontent a { color:red; }
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Thanks, John!
Bookmarks