HTML question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Maxpixelz
    Confirmed User
    • Dec 2002
    • 219

    #1

    HTML question

    Can anyone tell me how I can change the arrow and the face color on a drop down menu?
    Thanks

    [email protected] | ICQ: 174198632
  • Thrawn$
    Confirmed User
    • Apr 2002
    • 4596

    #2
    put this between the HEAD tag

    PHP Code:
     <style>
    BODY {
            SCROLLBAR-BASE-COLOR: #74056C;
            SCROLLBAR-ARROW-COLOR: #000000;
    }
    SELECT {
            FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
            FONT-SIZE: 11px;
            COLOR: #FFFFFF;
            BACKGROUND-COLOR: #00FFFF
    }
    TEXTAREA, .bginput {
            FONT-SIZE: 12px;
            FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
            COLOR: #9370E4;
            BACKGROUND-COLOR: #00ffff
            
    }
    
    input, .bginput {
            FONT-SIZE: 12px;
            FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
            COLOR: #9370E4
            BACKGROUND-COLOR: #9370E4
    }
    
    a:hover {  color: #ff33ff}
    .poloccs {  border-style: ridge}
    </style> 
    
    Tracking 202 | Start Tracking PPC Campaigns Like A Pro

    Comment

    • Amputate Your Head
      There can be only one
      • Aug 2001
      • 39075

      #3
      CSS
      SIG TOO BIG

      Comment

      • Maxpixelz
        Confirmed User
        • Dec 2002
        • 219

        #4
        put this between the HEAD tag
        that code only changes the background of the menu not the arrow color and the face color
        Thanks

        [email protected] | ICQ: 174198632

        Comment

        • Thrawn$
          Confirmed User
          • Apr 2002
          • 4596

          #5
          Originally posted by Maxpixelz


          that code only changes the background of the menu not the arrow color and the face color
          Look again..
          Tracking 202 | Start Tracking PPC Campaigns Like A Pro

          Comment

          • Maxpixelz
            Confirmed User
            • Dec 2002
            • 219

            #6
            Look again..
            I am looking but cant seem to see that the face color on my drop down menu has changed. The browser scroll bars and the background of my dropdown menue are the only things that are changed.
            Thanks

            [email protected] | ICQ: 174198632

            Comment

            • GeXus
              Confirmed User
              • May 2003
              • 3320

              #7
              style="FONT-SIZE: 12px; BORDER-LEFT-COLOR: #ffffff; BORDER-BOTTOM-COLOR: #ffffff; COLOR: #000000; BORDER-TOP-COLOR: #ffffff; FONT-FAMILY: Arial; SCROLLBAR-ARROW-COLOR: #ffffff; SCROLLBAR-BASE-COLOR: #ffffff; BACKGROUND-COLOR: #FFFFFF; BORDER-RIGHT-COLOR: #ffffff"

              embed that into your drop down box tags

              Comment

              • Coyote
                Drinker of Scotch
                • May 2003
                • 242

                #8
                Using IE in windoze, the dropdown control is not a child of the browser window, but the desktop. It is affected by the windows system settings. You'd have to use DHMTL to get the desired appearance and duplicate the functionality of a combobox in IE. (there a number of script resources that provide that functionality).
                Ethernet Servers

                Quote:
                CS: Linux can pretty much run on a potato. Which is a GOOD thing.

                Comment

                • GeXus
                  Confirmed User
                  • May 2003
                  • 3320

                  #9
                  Originally posted by Coyote
                  Using IE in windoze, the dropdown control is not a child of the browser window, but the desktop. It is affected by the windows system settings. You'd have to use DHMTL to get the desired appearance and duplicate the functionality of a combobox in IE. (there a number of script resources that provide that functionality).
                  Changing the color of the arrow in a text drop down box is nothing fansy.. very simple using css

                  Comment

                  • Coyote
                    Drinker of Scotch
                    • May 2003
                    • 242

                    #10
                    Changing the properties of scrollbars for controls is simple.
                    Ethernet Servers

                    Quote:
                    CS: Linux can pretty much run on a potato. Which is a GOOD thing.

                    Comment

                    • Mutt
                      Too lazy to set a custom title
                      • Sep 2002
                      • 34431

                      #11
                      as far as i know you can't change the appearance of a drop down menu other than the background and fonts, the little thingy u clic,k can't be changed using CSS. TEXTAREA is fully customizable tho.
                      I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!

                      Comment

                      • Maxpixelz
                        Confirmed User
                        • Dec 2002
                        • 219

                        #12
                        Changing the color of the arrow in a text drop down box is nothing fansy.. very simple using css
                        I tried your code but no luck. It still stays gray.
                        Thanks

                        [email protected] | ICQ: 174198632

                        Comment

                        Working...