SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast ParfaitMacaron's Avatar
    Join Date
    Mar 2013
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drop down arrow image not showing

    I am trying to make the drop down arrow show up but it's not working.

    Code:
    .mainselection {
        overflow:hidden;
        width:160px;
        background: url("dropdown_arrow.jpg") no-repeat #ffffff 319px 2px;
        /* dropdown_arrow.jpg is a 31x28 image */
        float:left;
        font-size:12px;
        padding:4px 2px;
        border:solid 1px #aacfe4;
        width:200px;
        margin:2px 0 20px 10px;
    }
    select {
        border:0;
        background:transparent;
        width:200px;
        -webkit-appearance: none;
    }
    Code:
                                    <label>Gender</label>
    				<div class="mainselection">
    				<select name="dropdown">
    				<option value="Female">Female</option>
    				<option value="Male">Male</option>
    				</select>
    				</div>
    Thank you.

  2. #2
    SitePoint Enthusiast ParfaitMacaron's Avatar
    Join Date
    Mar 2013
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I fixed it. I wasn't calling the right div!


Bookmarks

Posting Permissions

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