The CSS syntax is simple, and in order to understand it is not necessary to have a doctorate degree in the field of IT. However, this is one of the few popular languages, which is not logical. Unlike other web programming languages such as JavaScript and PHP, the problems are not solved by the usual logic in the CSS. Algorithms such as “if X, then do Y, otherwise do Z” or “select all Y, then make with them X” cannot be implemented in a language like the CSS. This language created for the mounting, a language for designers, rather than developers. Some of the most experienced programmers spent a lot of effort in order to learn the CSS.

Learning of CSS begins with the classes and ID, as well as the use of. and # for the direct indication of elements. This is enough to build the fully functional website, but it is not enough flexible solution in the case of a complete change of design. Let us take a look on an alternative approach to control such elements that hard to reach.

Adjacent sibling combinator

Let us start with the selector, which is handy in the difficult situations. The adjacent sibling combinator is indicated by a combination of two elements with a symbol +:

h1 + p
Tags: Css, html
Killer 23 september 2011, 15:49

Every day new standards of CSS3 and HTML5 enter more deeply into the life of web designers and web developers, and the browsers are becoming more compatible with these standards.


In connection with this event we would like to present you a selection of 10 buttons of CSS3 that will make your life easier during the layout and creation of the web applications.
Tags: button, CSS3, html5
Siera 15 september 2011, 12:02

Units of length are two categories: absolute and relative.
Absolute units include:

• inches (in)
• centimeters (cm)
• millimeters (mm)
• points (pt)
• pica (pc)

In the terms of CSS’ specification: 1pt = 1/72in and 1pc = 12pt.
In the property of font-size specification of negative value in units of length, for example: 25cm is unacceptable.
Why Absolute? Because they represent a real value in the physical world – standards.
These units work with the mechanism of output, which has an actual physical size, for example: printing, we will use such units.
But those units have no meaning for the monitors, there is certain conditionality, but it's really just conditionality.
Relative units include:

• em (font-size)
• x-height (ex)
• px (pixels)
Siera 15 september 2011, 11:57

When it comes to the font rendering on the Web, the designer cannot do much. For example, how the font looks on the screen. For the most part, it depends on the operating systems, browsers, typefaces’ design, font files, and on whether these files are supplemented by the instructions for the most unexpected scenarios of the rendering. But sometimes the CSS properties can affect how the font looks like.
Note: the screenshots shows the font rendering in Safari 5 on MakOsi 10.6.

Font size

Slight changes of the font size can greatly affect the appearance of the typeface

First of all, there is the property of font size. Rasterization of vector contours for the font sizes that adequate to the modern screens means that each letter is represented by only the handful of pixels. Therefore, a small difference in the font size can greatly affect the appearance of the typeface.
Siera 13 september 2011, 14:11

imageThere are interesting facts about the life cycle of periodical cicadas. Usually, we do not see around a lot of these insects, because most part of their life they spend under the ground and gently suck the plant roots.

However, depending on the type every 7, 11, 13 or 17 years, periodical cicadas simultaneously crawl out together to the light and they turn into the noisy flying creatures, mate and die soon.
Although our strange cicadas cheerfully go into another world, here arises the obvious question: is it just coincidence or the numbers 7, 11, 13 and 17 some special?
Pirat 30 august 2011, 11:38
1 2