css - Jquery Animate problems -


i using jquery animate change size of div when content loaded. looks when little bits of text being loaded not when lot of text being loaded. there way make them same?

for example: http://www.scotwebtech.co.uk

click "our services" lots of text , "portfolio" small amount of text.

this can solution:

use 2 wrappers content:

<div class='wrapper'>     <div class='content'>         content here...     </div> </div> 

and stylesheets:

.wrapper {overflow:hidden;} .content {width:473px (static width)} 

now if animate width of wrapper fine.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -