Posted By

benwasilewski on 09/29/09


Tagged

css javascript style jquery


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

gregorio
vali29
benwasilewski
LeeRJohnson


jQuery: Setting Multiple CSS Properties


 / Published in: jQuery
 

  1. $("#myElement").css({
  2. "position" : "relative",
  3. "top" : "0px",
  4. "left" : "0px"
  5. });

Report this snippet  

You need to login to post a comment.