0

I have been trying to incorporate a search bar(http://loopj.com/) in a drupal website I am developing. While I define the width of a element as 400px in the following way:

ul.token-input-list {
overflow: hidden; 
height: auto !important; 
height: 1%;
width: 400px;
border: 1px solid #8496ba;
cursor: text;
font-size: 12px;
font-family: Verdana;
min-height: 1px;
z-index: 999;
margin: 0;
padding: 0;
background-color: #fff;
list-style-type: none;
clear: left;

}

This results into having an offset to my pointer that I cannot remove. So I guess that being able to sort of deactivate inherited attributes would do the job, any idea how to do that?

Thanks!

1 Answer 1

1

try to add !important in front of your css property ,

Ex:-
padding: 0!important ;

etc...

1
  • Right on target ;) Thanks userxxx :-) May 21, 2012 at 13:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.