You will need
- - ability to change the layout of the pages of the resource.
The use of a suitable template - a universal solution that not only stretch, but also to squeeze the capand other design elements. You can use the standard templates provided by free hosting, or freely distributed in the Internet. Any template requires revision and adaptation. It is advisable to change all the graphics to give uniqueness to the website. Never use a standard design template. Leave the markup of the page - its "skeleton", and "meat" - the content and design elements replace on your own. Thoughtful use of templates saves time of the developer, which can be spent on the content of information or the empowerment of the service.
If the page is already made up, you can try to stretch the hat yourself. This will require basic knowledge of HTML and CSS. If the cap site is designed as a single graphic file, you can try to compress and stretch the image depending on the width of the window. This method works well if the scale factor is small. If it exceeds the width of the image by a quarter or more, affected the picture quality. Will be noticeable the individual pixels forming the image.
In order for the image quality, but it took up all the allotted space, it is necessary to divide it into separate parts. Usually the right side, left and Central. It is desirable that the image was solid across the width of the background, which could fill the gaps that occur between parts of the cap. The two images that form the edge of the cap, must be attached to the left and right sides of the container. The Central image, enclose the <center>. A background image with a width of one pixel will zamostia the remaining space.
Another easy way is to create a image, certainly more than the big screen. The image is set a background for the hub caps. The downside is a large "weight" of the image, and as a consequence a long time to download it. Combining the above methods allows to avoid most of the negative effects.