How to Make a Drop Down Backdrop

When developing your website, it is important to have a site design that's unique for your company. Drop-down menus are typically dull and white in HTML, the main programming language for the web. If you want to add a backdrop, such as a color, you can do so using cascading style sheets. CSS allows you to make very complex, multi-layered drop-down menus, but it can also be used for the simple purpose of adding a background.

Instructions

    • 1

      Open your web page in Notepad.

    • 2

      Add the following tags inside the head:

      <style>
      <! --

      -->
      </style>

    • 3

      Add the following code in between the two comments:

      ul {
      background: #000
      }

      This will set the backdrop to be black. Replace the "000" with a different numeric code to change the color of your background.

Tips & Warnings

  • Certain color codes with all six digits the same, such as "000000" and "ffffff," can be shortened to just three digits in code. The full code must be entered if all six characters or numbers are different.

Related Searches:

References

Comments

Related Ads

Featured