dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: Style for drop-down lists

  1. #1
    Join Date
    Mar 2003
    Posts
    7

    Style for drop-down lists

    I like styling my textboxes as follows:

    <INPUT TYPE="text" STYLE="border: 1px solid #000080">

    As you know, this makes the texbox look like just a box on the page with a border--no inset, no bevel, just the border.

    Problem is, on my site, textboxes often have to go right beside a dropdown list. So far, I haven't been able to get the dropdowns to match the style of the textbox. Does anyone know how to do this? Looks goofy to have a "flat" textox beside an "inset" dropdown list.

    Thanks,

    Matthew

  2. #2
    Join Date
    Nov 2002
    Location
    NJ, USA
    Posts
    785
    So, do you want your textbox inset or your drop-down flat? (I don't know the answer yet, just curious myself)

  3. #3
    Join Date
    Mar 2003
    Posts
    7
    I want my dropdowns, textboxes, and textareas to be flat.

  4. #4
    Join Date
    Nov 2002
    Location
    NJ, USA
    Posts
    785
    You can use layers instead of drop-down - this way you can achieve a flat effect from the design standpoint.

  5. #5
    Join Date
    Jan 2003
    Location
    Peg City
    Posts
    638
    You can edit the style of this code to look more like what you want.

    http://javascript.internet.com/navig...down-menu.html

    As of right now, it only works for IE, but I remember using it once before and editting it to work for NS as well.

    Havik

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles