Today, I heard that the background of the Windows Vista homepage is the Bund in Shanghai. I went to check it out.
However, a problem is found. If the window width is small, a scroll bar will appear. You need to scroll to the right of the search box to see it. When the page is rolled to the right, the ugly background pants with a black and white gradient under the background of the beach are displayed.
In fact, this background image is long enough (see figure), so the above behavior seems to be caused by the problem of the person who writes the webpage.
TakeSource codeLet's take a look.
<Div id = "wvhpa">
</Div>
# Wvhpa
{
Position: absolute;
Top: 0px;
Left: 0px;
Width: 100%;
Height: 513px;
Z-index: 0;
Background: URL (/library/Media/1033/windowsvista/images/wv_home_bkgnd_photo.jpg );
Background-repeat: No-Repeat;
}
Because the width of the body is always the window width, and the scroll bar is open by other absolute positioning elements, the above results are not ideal.