Results 1 to 3 of 3

Thread: Changing Table Colors On The Dynamic Image Selector

  1. #1
    Join Date
    May 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Changing Table Colors On The Dynamic Image Selector

    Dynamic Image Selector
    http://www.dynamicdrive.com/dynamici...geselector.htm

    Is it possible to change the colors of the border, background and text of the dynamic image selectors menu box, I have tried but for some reason the table codes do not work.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Select and other form elements are limited as to what you can style about them. The border is out of reach in IE but the text and background can be styled. In other browsers, so can the border. No browser that I am aware of has a way for the designer to change the highlight colors. Give the select an id:

    Code:
    <select id="sel1" name="dynamicselector2" size="4" onChange="generateimage(this.options[this.selectedIndex].value)">
    In the head of the page, set its style:

    Code:
    <style type="text/css">
    #sel1 {
    color:#ffffff;
    background-color:#000000;
    border:1px solid red;
    }
    </style>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks that helps a lot

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •