jquery - Positioning of divs -


i have jquery code makes divs apear if other divs not empty.

i created whole grid on large screen , when switch other monitor positioning wrong.

how can fix this?

jquery:

if($("#showview2").text().length > 7 && $("#showview7").text().length > 7){   $('.v-2-7').fadein(1000); }; 

html i'm trying fade in:

<div class="v-2-7" style= "position: absolute;">   <p>&#9482;&#9482;<br>&#9482;</p> </div> 

css:

 .v-2-7 {   margin-top: 7%;   margin-left: 49%;   display: none; } 


Comments

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World