SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Sep 2011
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE7 and IE8 Is not taking padding in Select multiple

    Hi Friends,
    I am stuck at one level.
    I have created a select Multiple box in which I want padding. I am able to do that but ie7 and ie8 is creating an issue.

    This is what I am doing. It's fine in FF. I want to fix in ie7, ie8.
    Also is it possible to change the bgcolor of the selected item and make the text bold when it's selected.

    Please guide.

    .selectMulti{color:#555; text-shadow:0 0 0 #fff; font-size:12px; background:#F4F4F4; border:#ddd solid 1px; height:262px; width:320px}
    .selectMulti option{padding:5px 5px 5px 20px; }

    <select name="form_selectedPurchasingAgent" class="selectMulti" multiple="multiple">
    <option>AAA</option>
    <option>BBB</option>
    <option>CCC</option>
    <option>DDD</option>
    </select>

    Thanks

  2. #2
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,223
    Mentioned
    51 Post(s)
    Tagged
    2 Thread(s)
    hatwal, can you post a link to a live site?

  3. #3
    SitePoint Member
    Join Date
    Sep 2011
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry ronpat. Its on my local. It's not on live.
    I can post the screenshot. If it can helps?

    Thanks,

  4. #4
    SitePoint Mentor bronze trophy
    ronpat's Avatar
    Join Date
    Jun 2012
    Location
    NJ, USA
    Posts
    2,223
    Mentioned
    51 Post(s)
    Tagged
    2 Thread(s)
    Chris Upjohn has already answered this same question for you in the other thread.


Tags for this Thread

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
  •