How to make a rubber cap for the website

How to make a rubber cap for the website

During creation of the website on the Internet one of the most important points which the developer should consider is its functionality, universality and high-speed performance. In order that the website was fully and correctly displayed in any browser on computers with various display resolution, you can create the comfortable "rubber" cap consisting of several graphic elements. Instruction 1. At the first stage of creation of such cap for the website open in the Photoshop the image which you prepared for placement in network already in advance, and then cut it on a part, using the Slice Tool tool on the toolbar. Cut a cap so that its central part was empty and that as a result at you three graphic elements turned out. It will allow a cap to stretch under any display resolution. 2. After you cut a cap, save it, optimizing files when saving for a web format (Save for web). Install the necessary file format for saving – for example, gif, jpeg or png. For change of each fragment of the image click in the menu on the option Slice Select Tool and change pictures so that their size was as little as possible at the smallest losses as visual display of the drawing on the screen. Save the edited pictures as html and images. 3. After pictures are saved, edit the HTML-code, having opened the saved HTML document by means of the Notepad. In a notepad erase all unnecessary code lines. Leave only necessary lines – data on the table which your pictures are built in:
4. In these lines instead of yourimage.gif the path to your images with the corresponding width and height should be specified. 5. In order that the middle part of the image stretched, parting extreme images on the parties, register the corresponding attributes of the code in lines. Specify all parameters of width and height in the code own. 6. Load the created pictures for a cap into the root directory of the website, and then edit the HTML-code, having specified new paths to images of a cap on the server. Insert the code of a cap between the tags .

Author: «MirrorInfo» Dream Team


Print