Results 1 to 6 of 6

Thread: CSS Flat Form Controls

  1. #1

    Thread Starter
    Addicted Member Martin Wilson's Avatar
    Join Date
    Mar 2002
    Location
    :)
    Posts
    236

    CSS Flat Form Controls

    Ok, this can be used with text fields and buttons:
    Code:
    .Box
    {
        BORDER-RIGHT: 1px solid;
        BORDER-TOP: 1px solid;
        FONT-SIZE: 11px;
        BORDER-LEFT: 1px solid;
        BORDER-BOTTOM: 1px solid;
        FONT-FAMILY: Verdana;
        BACKGROUND-COLOR: #ffffff
    }
    Is there any way to do it with select boxes?
    Thanks
    What is the answer to this question?

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    It all depends on whether or not the browser draws the select box itself or relies on Widgets from the underlying OS. IIRC, Mozilla does the former while IE does the latter.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    Addicted Member Martin Wilson's Avatar
    Join Date
    Mar 2002
    Location
    :)
    Posts
    236
    So basically it is just IE being stupid? Great!
    What is the answer to this question?

  4. #4
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    Opera doesnt do it either.

    IE counts certain form elements as windows controls and are drawn by the Operating System rather than the browser. They also get priority on the page, thats why you can position a Layer above a <select>
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  5. #5

    Thread Starter
    Addicted Member Martin Wilson's Avatar
    Join Date
    Mar 2002
    Location
    :)
    Posts
    236
    Why does it draw the text fields and buttons itself then, and not the list box? It just seems pointless.
    What is the answer to this question?

  6. #6
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    I have a feeling its got something to do with a dropdown listbox being animated i.e. clicking on it and more options are dropped. They'll probably sort it out an a later version, or with the release of IE with CSS2 support.
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

Posting Permissions

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



Click Here to Expand Forum to Full Width