KyaPoocha.com

Huge Collection of Interview Questions


Archive for August, 2008

What is CSS declaration? 

CSS declaration is style attached to a specific selector. It consists of two parts; property which is equivalent of HTML attribute, e.g. text-indent: and value which... Read more »

What is CLASS selector? 

Class selector is a “stand alone” class to which a specific style is declared. Using the CLASS attribute the declared style can then be associated with... Read more »

What is selector? 

CSS selector is equivalent of HTML element(s). It is a string identifying to which element(s) the corresponding declaration(s) will apply and as such the link between... Read more »

What is CSS rule ‘at-rule’? 

There are two types of CSS rules: ruleset and at-rule. At-rule is a rule that applies to the whole style sheet and not to a specific selector only (like in ruleset).... Read more »

What does the “Cascading” in “Cascading Style Sheets” mean? 

Style Sheets allow style information to be specified from many locations. Multiple (partial) external style sheets can be referenced to reduce redundancy, and both... Read more »

Why use Style Sheets? 

Style sheets allow a much greater degree of layout and display control than has ever been possible thus far in HTML. The amount of format coding necessary to control... Read more »

How do I get rid of the gap under my image? 

Images are inline elements, which means they are treated in the same way as text. Most people kind of know this - they know that if you use ‘text-align:center’... Read more »

As a reader, how can I make my browser recognize my own style sheet? 

Netscape It is not possible to do this in Netscape yet (as of version 4.0.) Internet Explorer 3.0 (Win95/NT) [It is possible to do this at least in Windows95/NT,... Read more »

How do I design for backward compatibility using Style Sheets? 

Existing HTML style methods (such as and ) may be easily combined with style sheet specification methods. Browsers that do not understand style sheets will use... Read more »

What are pseudo-classes? 

Pseudo-classes are fictional element types that do not exist in HTML. In CSS1 there is only one element type which can be classed this way, namely the A element... Read more »

Can Style Sheets and HTML stylistic elements be used in the same document? 

Yes. Style Sheets will be ignored in browsers without CSS-support and HTML stylistic elements used.  Read more »

Can CSS be used with other than HTML documents? 

Yes. CSS can be used with any ny structured document format. e.g. XML, however, the method of linking CSS with other document types has not been decided yet.  Read more »

How to use CSS to separate content and design ? 

The idea here is that all sites contain two major parts, the content: all your articles, text and photos and the design: rounded corners, colors and effects. Usually... Read more »

why call the subtended angle a “pixel”, instead of something else (e.g. “subangle”)? 

In most cases, a CSS pixel will be equal to a device pixel. But, as you point out, the definition of a CSS pixel will sometimes be different. For example, on a laser... Read more »

How do I eliminate the blue border around linked images? 

in your CSS, you can specify the border property for linked images: a img { border: none ; } However, note that removing the border that indicates an image is a... Read more »

Page 5 of 37« First...«34567»...Last »