Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to remove select box border in ie7 and ie 8 ?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #151680
    karthik
    Participant

    I am tried to remove the border of select box in ie7 and ie8 ,but it is not working . Here the css properties :

     width:170px;
    float:left;
    border:none;
    background:none;
    font-weight:bold;
    color:#575652;
    font-size:14px;
    text-decoration:none;
    padding:5px;
    text-align:left;
    outline:none;
    

    it is working for upto ie 8 versions. any one could help me ?

    here the link : http://alkhozama.com/en/contact/write-to-management

    How to remove select box border in ie7 and ie8 ?

    #151695
    paulob
    Participant

    You can’t remove the border in ie6 and 7 I’m afraid.

    Maybe you could use this trick:

    http://cdpn.io/akyqz

    It just puts a floated span around the select with overflow:hidden and then uses negative margins to hide the original border under the span’s border.

    #151699
    karthik
    Participant

    Thanks for your reply, I managed this issue with inline style now it is working well. :) May be something wrong with my code I thing. No problem I have solved. Once again thanks for your quick responds :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.