jquery - How do i set the left position of an element that contains a before attribute? -


How can I set the left position of an element in which the attribute is first?

I tried the following methods without success:

  $ ("tooltip: first"). CSS ({left: 80}); $ (". Tooltip :: first"). CSS ({left: 80});  

This is CSS if it helps

  .tooltip {background-color: # 333; Display area; Status: Completed; Z-index: 99 99 99; Padding: 5px 10px; Color: #fff; } // Create a tooltip tip. Tolip: first {limit: solid; Border color: # 333 transparent; Threshold Width: 6px 6px 0 6px; Status: Completed; Bottom: -6px; Z-index: 99 99 99; material: ""; Left: 0; / * Use jQuery to centipulate the tip based on tooltip size * /}  


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -