Archive for April, 2005

CSS2 Browser Compatibility

Thursday, April 21st, 2005

CSS2 specification opens new opportunities for web developers but before applying new features webmaster should know how popular browsers support them.

Descendant selectors
Syntax:
E1 E2
The following rule should set the font-style of all P elements that occurs anywhere within a PRE:

CSS code:

pre p {font-style: italic;}

HTML code:

<pre>

<p>This text should be italic style</p>

<div>

<p>This text should be […]

Sheet of Paper

Wednesday, April 6th, 2005

Photoshop tutorial - how to create a sheet of paper.

Create new file and set the file size about 20 x 20 pixels. It should be in RGB mode.

Set maximum zoom 1600% (Ctrl + + several times)
By means of pencil tool draw the sheet borders

Draw right angle

Make selection with Magic Wand, fill selection […]

Pseudo-links

Friday, April 1st, 2005

Using DOM for pseudo-links realization.

The first of all it’s necessary to create CSS classes describing our elements

Selector “u” is used for definition of default properties. Selector “u.ov” determines behavior of the element when Mouse Over event and third selector is used when Mouse Out event occurs.

<style type="text/css">

u {
[…]

HTML Colors

Friday, April 1st, 2005

Color Modes

Most personal computers ( PCs ) offer a choice of settings for screen size and color depth. The amount of memory available to drive the display is fixed, but users can choose a large screen size ( resolution ) with a reduced number of colors, or a smaller screen size with the maximum number […]

Referrer Spam

Friday, April 1st, 2005

Turing test stops spam
As a rule, spammers use special programs - bots-that automatically look for vulnerable sites and spam them with hundreds of links. There are several ways to prevent spam attacks of the kind. Here is one of them. First of all, we must protect our site from spam-bots to guarantee that it is […]