css

Interview Questions and Answers

CSS

Question:
Which font names are available on all platforms ?
Answer:

The simple answer is None which is why CSS offers five generic font names as serif, sans-serif, cursive, fantasy and monospace. Never put any of these generic font names in quotes.A CSS aware browser should make a suitable choice from the available fonts in response to each of those generic names. Specifying any other font name in a www environment comes out as a suggestion only, that may or may not be acknowledged by a browser. The problem with using names of specific fonts is that there is little point in naming fonts that few users will have, so you are down to listing a few mass-market font names. This will then override any superior selection that a minority of discerning readers may have made for themselves. Note also that fonts may differ in their character repertoire, but this is often not evident from the font name itself: by selecting an inappropriate font name, you might prevent internationalized content from displaying correctly for a proportion of users.

--- >>>

CSS - Questions
1. How do I have a fixed non scrolling background image?
Answer
2. How do I eliminate the blue border around linked images?
Answer
3. Document Style Semantics and Specification Language "DSSSL"?
Answer
4. How do I make my div 100% height?
Answer
5. What are the various style sheets?
Answer
6. What`s the difference between ID and class selector?
Answer
7. What is external Style Sheet? How to link?
Answer
8. Which font names are available on all platforms ?
Answer
9. Describe pseudo classes in CSS.
Answer
10. How do you include comments in CSS?
Answer
11. What is CSS rule ruleset?
Answer
12. Are you pro or against Flash?
Answer
13. What are pseudo elements?
Answer
14. What is CSS3?
Answer
15. What is a Style Sheet?
Answer
16. what is Fixed Background?
Answer
17. Which set of definitions, HTML attributes or CSS properties, take precedence?
Answer
18. Why use Style Sheets?
Answer
19. How do I have a background image that isnt tiled?
Answer
20. Why does Netscape lose my styles ?
Answer
21. What is CLASS selector?
Answer
22. Tell about hover element in CSS3.
Answer
23. What is parent child selector?
Answer
24. How do I combine multiple sheets into one?
Answer
25. What is inline style? How to link?
Answer
26. What is important declaration?
Answer
27. What main useful features of CSS3?
Answer
28. What does the Cascading in Cascading Style Sheets mean?
Answer
29. What is cascade?
Answer
30. What is latest version, CSS4 or CSS3?
Answer
31. What is grouping?
Answer
32. Why do style sheets exist?
Answer
33. How can I specify two different sets of link colors?
Answer
34. How do I move the list bullet to the left and right?
Answer
35. What is one auto margin?
Answer
36. What is CSS rule at rule?
Answer
37. Write different ways of styles applied in HTML file?
Answer
38. Describe ID selector?
Answer
39. Why was the decision made to make padding apply outside of the width of a box, rather than inside, which would seem to make more sense?
Answer
40. How to use CSS to separate content and design ?
Answer
41. What are pseudo classes?
Answer
42. Describe about float element.
Answer
43. What are style sheet properties?
Answer
44. How do I center block-elements with CSS1?
Answer
45. What is attribute selector?
Answer
46. Why does my content shift to the left on some pages in FF?
Answer
47. What is selector?
Answer
48. Why call the subtended angle a pixel, instead of something else ?
Answer
49. Can Style Sheets and HTML stylistic elements be used in the same document?
Answer
50. Explain in brief about the term CSS.
Answer