KyaPoocha.com

Huge Collection of Interview Questions


‘CSS Interview Questions’ - KyaPoocha.com

Which font names are available on all platforms ? 

The simple answer is “None” which is why CSS offers five generic font names as ’serif’, ’sans-serif’, ‘cursive’,... Read more »

What is Extensible Stylesheet Language (XSL)? 

XSL is a proposed styling language for formatting XML (eXtensible Markup Language) documents. The proposal was submitted to the W3C by Microsoft, Inso, and ArborText.  Read more »

Document Style Semantics and Specification Language (DSSSL)? 

Document Style Semantics and Specification Language is an international standard, an expression language, a styling language for associating processing (formatting... Read more »

How can I specify two different sets of link colors? 

By classifying each set of links and then attaching desired color to each set. CSS: You can name set1 and set2 any way you like as long as the names are made... Read more »

How do you show which page you’re on (in a menu)? 

If PHP is not available to you, you could use the cascade. Put an id in your body tags and an id in each of your ‘a’ tags for the links. Let’s... Read more »

How do you override the underlining of hyperlinks? 

CSS has the ability to explicitly control the status of underlining for an element - even for hyperlinks. The correct way to do this in an external or document-level... Read more »

Why are there gaps above and below my form in IE? 

A lot of the time, when you find gaps that you can’t account for, they are due the default styles of different browsers - especially the margins and padding.... Read more »

How does a simple CSS style rule look ? 

P { font-family: serif; font-size: 1.2em; } Here we see a rule with a ’selector’ P that has been given two style declarations, i.e. two ‘property:value’... Read more »

How do I move the list bullet to the left/right? 

CSS1 has no properties for setting margins or padding around the bullet of a list itemand in most cases the position of the bullet is browser-dependent. This is... Read more »

When is auto different from 0 in margin properties? 

In vertical margins, auto is always equal to 0. In horizontal margins, auto is only equal to 0 if the width property is also auto. Here are three examples, assume... Read more »

Can you use someone else’s Style Sheet without permission? 

This is a somewhat fuzzy issue. As with HTML tags, style sheet information is given using a special language syntax. Use of the language is not copyrighted, and... Read more »

How do I place two paragraphs next to each other? 

There are several ways to accomplish this effect, although each has its own benefits and drawbacks. We start with the simplest method of positioning two paragraphs... Read more »

What’s the difference between ‘class’ and ‘id’? 

As a person, you may have an ID card - a passport, a driving license or whatever - which identifies you as a unique individual. It’s the same with CSS. If... Read more »

To what are partial URLs relative? 

Partial URLs are relative to the source of the style sheet. The style sheet source can either be linked or embedded. To which source partial URLs are relative to... Read more »

Do URL’s have quotes or not? 

Double or single quotes in URLs are optional. The tree following examples are equally valid: BODY {background: url(pics/wave.png) blue} BODY {background: url(”pics/wave.png”)... Read more »

Page 2 of 10«12345»...Last »