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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -