Web Styles
For such work it is most convenient to use the basic style of the site designated by default. When choosing a style, it name is stored in a cookie, and the next time the site will be designed in accordance with the chosen style. In order to style the site can be easily changed, it should be for creating Web pages follow a few rules. In the first all need to separate content from its site design. The web pages should not attend the team registration, all such team should be put in the stylesheet CSS.
It should be noted that this division will go on benefit of any site, even if the change of styles on it is not planned. Associated with the first requirement – the rejection of the table layout in favor of a block. If a table is used as a design element, no description in the CSS file is not change its structure. For example, you can not swap the column, or merge two columns into one. In the development of HTML-code must describe all the elements that can be used in a variety of styles, and then using CSS remove unnecessary.
Using CSS to add something besides the background image does not work, so you should consider all options before layout styles. It is recommended to distinguish the main style that will be displayed on default, and develop several supporting styles. Remember the possibility of changing the sheets when a site is useful even when not intended to provide the user with the opportunity. Later much easier to change the style of the site, for example, noting the company anniversary or the beginning of the season sales. In addition, the separation of content on the site and its design in any case can be considered the demand of time and should not be create a modern site without taking it into account.