image - Jquery changes position of div/img -


I have found an alternative solution to focus a large image (no background) in a small division.

  #pic {width: 60%; Height: 34 9px; float right; Hidden flurry; Status: Relative; } #pic img {left: 50%; Margin-left: -100%; Status: Relative; }  

I am happy with the positioning.

However, once I use the Jaguar cycle plugin, it completely corrupts the position and size of the images.

As I inspect the element (with DOM inspector), it is striking through the following values:

left: 50%;

Margin-left: -100%;

This is causing reinstatement.

Why are they all abort after using Jquery and

you add Can! Important in CSS

  #pic {width: 60%! Important; Height: 34 9px; float right; Hidden flurry; Status: Relative; } #pic img {left: 50%; Margin-left: -100%! Important; Status: Relative; }  

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -