KyaPoocha.com

Huge Collection of Interview Questions


Archive for August, 2008

What is initial value? 

Initial value is a default value of the property, that is the value given to the root element of the document tree. All properties have an initial value. If no specific... Read more »

What is value? 

Value is a ‘physical’ characteristic of the property. Property declares what should be formatted, e.g. FONT while value suggests how the property should... Read more »

How to use CSS building a standards based HTML template? 

It should: 1. Contain: header, navigation, content, footer 2. Use well-structured HTML 3. Be error-free and encourage good coding Let’s start with number one... Read more »

What is shorthand property? 

Shorthand property is a property made up of individual properties that have a common “addressee”. For example properties: font-weight, font-style, font-variant,... Read more »

How do I have links of different colours on the same page? 

Recommending people to use classes in their ‘a’ tags like this : CSS a.red { color:red; } a.blue { color:blue; } HTML A red link A blue link This is... Read more »

How do you make a whole div into a link? 

You can’t put ‘a’ tags around a div, but you can do this with javascript : HTML … stuff goes here … If you want to use an empty div... Read more »

Why shouldn’t I use fixed sized fonts ? 

Only in very rare situations we will find users that have a “calibrated” rendering device that shows fixed font sizes correct. This tells us that we... Read more »

What browsers support style sheets? To what extent? 

Microsoft’s Internet Explorer version 3.0 Beta 2 and above supports CSS, as does Netscape Communicator 4.0 Beta 2 and above and Opera 3.5 and above. Take note... Read more »

What is cascading order? 

Cascading order is a sorting system consisting of rules by which declarations are sorted out so that there are not conflicts as to which declaration is to influence... Read more »

Which characters can CSS-names contain? 

The CSS-names; names of selectors, classes and IDs can contain characters a-z, A-Z, digits 0-9, period, hyphen, escaped characters, Unicode characters 161-255, as... Read more »

How do you make a tooltip that appears on hover? 

The most simple way is to use the ‘title’ attribute like this… HTML like this CSS a.tooltip { position:relative; cursor:help; } a.tooltip span... Read more »

How to make text-links without underline? 

a:link, a:visited {text-decoration: none} or …will show the links without underlining. However, suppressing the underlining of links isn’t a very smart... Read more »

What is the difference between ID and CLASS? 

ID identifies and sets style to one and only one occurrence of an element while class can be attached to any number of elements. By singling out one occurrence of... Read more »

Can I include comments in my Style Sheet? 

Yes. Comments can be written anywhere where whitespace is allowed and are treated as white space themselves. Anything written between /* and */ is treated as a comment... Read more »

Is there anything that CAN’T be replaced by Style Sheets? 

Quite a bit actually. Style sheets only specify information that controls display and rendering information. Virtual style elements that convey the NATURE of the... Read more »

Page 3 of 37«12345»...Last »