Archive for the 'CSS' Category

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
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:


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


<p>This text should be […]

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 […]