views:

51

answers:

2

Yes, otherwise I just starting make my wrapper in CSS so it covers 770px or 990 px etc..

It should be like scaling after window size/resolution. Are their any way to make it adjustable for every single computer using Javascript/jQuery?

+1  A: 

Using CSS:

.overlay {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
}
Andrew Dunn
Are this way really smooth? I've always learned to avoid absolute positioning.
siberia
That's ridiculous, css absolute positioning will ALWAYS be faster than anything javascript can achieve. And it's sooooo useful.
Andrew Dunn
@Andrew Agreed, there's absolutely no reason to avoid absolute positioning
meagar
A: 

follow this link :) http://css-tricks.com/perfect-full-page-background-image/

cherif