Loading ...
Sorry, an error occurred while loading the content.

4782Re: [NH] Background color for dropdown - possible?

Expand Messages
  • sisterscape
    Sep 7, 2004
    • 0 Attachment
      Try using css . . . style="color: #xxxxxx"

      --- Alec Burgess <burale@...> wrote:

      > When creating a form with a dropdown, is it possible to specify the
      > background color?
      >
      > I'm working with a form where the user is asked to select a color in
      > a
      > dropdown and I'd like to be able to make the dropdown take the
      > background
      > color of the surrounding area so its possible to see which colors are
      > "bad"
      > because they won't show up.
      >
      > See sample HTML below my sig. I tried sticking a bgcolor="colorname"
      > in both
      > <form> and <select> elements to no effect which seems to be confirmed
      > by
      > looking at HTMLib "The HTML reference Library" by Stephen LeHunt.
      >
      > Regards ... Alec
      > --
      >
      > <form>
      > <select name="color">
      > <option value="aliceblue" style="color:
      > aliceblue;">
      > aliceblue
      > </option><option value="antiquewhite"
      > style="color:
      > antiquewhite;">
      > antiquewhite
      > </option><option value="green" style="color:
      > green;">
      > green
      > </option><option value="aquamarine" style="color:
      > aquamarine;">
      > aquamarine
      > </option><option value="azure" style="color:
      > azure;">
      > azure
      > </option>
      > </select>
      > </form>
      >
      >
      >
      > ------------------------ Yahoo! Groups Sponsor
      > --------------------~-->
      > $9.95 domain names from Yahoo!. Register anything.
      > http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/CefplB/TM
      >
      --------------------------------------------------------------------~->
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >


      __________________________________________________
      Do You Yahoo!?
      Tired of spam? Yahoo! Mail has the best spam protection around
      http://mail.yahoo.com
    • Show all 6 messages in this topic