View unanswered posts | View active topics It is currently Wed Jun 26, 2019 6:14 am

Reply to topic  [ 2 posts ] 
 Issue removing old border 
Author Message

Joined: Sun Feb 24, 2013 8:32 pm
Posts: 1
Post Issue removing old border
Hi guys. So I have this problem where my old border remains in IE, alongside my new border. I am working with a border radius. I set a default border for input elements
input[type="text"], input[type="password"], select {
    border: 1px solid #4E4E64 !important;

Then in the specific element, I do something like
#e_form input, #enquiry_form select, #enquiry_form textarea {
    -webkit-border-radius: 5px!important;
    -moz-border-radius: 5px!important;
    -khtml-border-radius: 6px;
    -webkit-box-shadow: 0;
    -moz-box-shadow: 0;
    border-radius: 5px!important;
    behavior: url(/wp-content/themes/reponsive-skyclub/CSSPie/;

So, the problem is that in IE, the border radius is now working. However, the rectangle border around the inputs is also there aswell. In firebug, if I set the border on say the textarea to none, it disappears and displays perfectly. If I then add this to my css and try it, I have the same result as before. Its as if css pie uses this border to create the border radius, but when it creates it, it doesnt remove the old border.

Is this a common problem or am I doing something totally wrong here?

Thanks for the help.

Sun Feb 24, 2013 8:41 pm

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1452
Post Re: Issue removing old border
Remove the !important from your border style. That prevents PIE from removing it.

Mon Feb 25, 2013 10:42 am
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.