jquery - How to resize background image? -


i followed tutorial resizing background images on link

how to: resizeable background image

i trying edit work on div width of 900px resize vertically , have no idea how make work.

any 1 can tell me how want.

thanks

are using first, second or third approach?

considering third approach, might work if change width height:

#img.source-image {     height: 100%;     position: absolute;     top: 0;     left: 0; } 

in case doesn't work, have @ this question , this other question , experiment body height , doctype. might want ask same question on doctype.com.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -