Welcome to WebmasterWorld Guest from 54.167.76.176

Forum Moderators: incrediBILL

Message Too Old, No Replies

Javascript display contained in <div>

Any reason to declare height and width?

     

Broadway

7:02 pm on Apr 2, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm placing some Adsense javascript code in a <div>. The javascript declares a height and width of the ad.

Is there any advantage to declaring a height and width for the containing <div> also, in regards to how the page loads?

(Such as, a defined space is set aside for the Adsense unit and the rest of the page continues to render even though the download of the Adsense javascript hasn't been completed yet? - Similar to how declaring height and width for an image tag is an advantage.)

Thanks.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month