The upper part of the site, which is also called the header, usually reflects the subject of the resource and may contain a navigation bar. If the site header has a certain width, then on the screens of users with different resolutions, this part of the site will look different. In order for the site header to look the same on any screen, it is necessary to make some of its sections stretching or shrinking depending on the size of the screen. Such a rubber cap can be made without fixing its width in pixels.
Necessary
have your own website
Instructions
Step 1
To make a rubber cap, first draw it in Photoshop. Then separate 3 parts of the picture: 2 sides and the middle. These pieces should be about 10-20 pixels wide and about the height of the header you want. Save each element so that you have 3 different files: 1.gif, 2.gif, 3.gif. Submit these images to the site.
Step 2
Next, create a table that will hold the elements at the top of the site. To do this, write in the HTML code:
A table with a width of 100% will stretch or shrink depending on the user's screen size.
Step 3
Make a line in the table, in the cell of which place the left side of the 1
Step 4
Create a middle section of the site header consisting of a repeating 2
.header {background-image: url ('images / 2.gif');}
Step 5
Now, in a row of the table, create another cell and place the middle element of the top of the site in it, indicating its name header in the CSS code:
Name of the site> Step 6Having created the third cell in the table row, place the right side of the 3
Recommended:How To Make A Rubber BackgroundWhen you create your own website, naturally you want it to display as attractively as possible regardless of the user's browser version. In particular, so that the background image is stretched and adjusted to the resolution of the computer monitor How To Make A Rubber BannerRubber flash banner is also called simply "rubber". Its main feature for the site is that regardless of the size of the browser, the banner will remain the same as it was intended - beautiful, clear and bright. The need for rubber banners arose due to the fact that one has to take into account the different sizes of computers of Internet users, because someone has a square monitor, someone has a widescreen monitor, some have 14 inches, others have 21 inches How To Make A Rubber Header For A WebsiteWhen creating a website on the Internet, one of the most important points that a developer must take into account is its functionality, versatility and performance. In order for the site to be fully and correctly displayed in any browser on computers with a wide variety of screen resolutions, you can create a convenient " How To Make A Rubber Picture"Rubbery" is a picture that has the ability to scale. You can create such a picture using computer programs. Its convenience lies in the fact that it "stretches" in the desired direction. Such web creation successfully displays in any browser Who Is The CapOver the years of its existence, the Internet has been enriched by many Internet memes (from the English Internet meme), denoting a particular phenomenon on the network. One of the most striking memes of recent times was the network hero Captain Obvious, aka Cap |