Setting Background-image for a Select Box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RamananKalirajan
    Contributor
    • Mar 2008
    • 608

    Setting Background-image for a Select Box

    Hi,
    I am novice designer.. I am learning things by trial and error method. Can any one please suggest me is there any way to apply background-image for a select box.. Moreover if i apply my own border style for the select box its working fine in Mozilla but not in IE any suggestions...


    Thanks Regards
    Ramanan Kalirajan
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    does
    Code:
    select {
      background: url(...);
    }
    not work? (maybe you have to set the <option>s' background to transparent)

    if your own border style is of the --moz... property group, it certainly won't work in IE.

    Comment

    • David Laakso
      Recognized Expert Contributor
      • Aug 2008
      • 397

      #3
      Well you'll get far fewer trial and error answers by providing a clickable link to the page/ problem in your post. The reasons for anything going wrong coss-browser is about as long as my arm and then some...

      Got a doctype?
      Got a doctype and valid markup?
      Got valid CSS?
      Got a path to the image that is correct?
      Got a corrupt image?
      and more...

      Comment

      • RamananKalirajan
        Contributor
        • Mar 2008
        • 608

        #4
        Is there any way to change the select image (the small drop down image in the right corner) ?

        Comment

        • TheServant
          Recognized Expert Top Contributor
          • Feb 2008
          • 1168

          #5
          Not that I am aware of, unless you make your own drop down box function, which is way too much effort than I think it's worth. The advantage of leaving that little dropdown arrow is it's a universal icon of dropdown, and changing it will mean that users might not see it or recognise it.

          Comment

          • RamananKalirajan
            Contributor
            • Mar 2008
            • 608

            #6
            ok.. Thanks.. If need i will try out my own select box...

            Comment

            Working...