css

Interview Questions and Answers

CSS

Question:
What is grouping?
Answer:

When you find that all elements are of same style, like if you`re using red color for h1, h2, h3, so to reduce coding we group them altogether. Like this
h1,h2,h3 { color:red; }

--- >>>

CSS - Questions
1. How do I have a fixed non scrolling background image?
Answer
2. Document Style Semantics and Specification Language "DSSSL"?
Answer
3. How do I eliminate the blue border around linked images?
Answer
4. How to customize your text boxes.
Answer
5. How do I make my div 100% height?
Answer
6. What are the various style sheets?
Answer
7. What is CSS rule ruleset?
Answer
8. what is Fixed Background?
Answer
9. 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
10. What are style sheet properties?
Answer
11. What`s the difference between ID and class selector?
Answer
12. Describe pseudo classes in CSS.
Answer
13. Why call the subtended angle a pixel, instead of something else ?
Answer
14. Which font names are available on all platforms ?
Answer
15. Describe ID selector?
Answer
16. How do you include comments in CSS?
Answer
17. What is external Style Sheet? How to link?
Answer
18. What are pseudo classes?
Answer
19. What are pseudo elements?
Answer
20. What is CSS3?
Answer
21. How do I place text over an image?
Answer
22. Why use Style Sheets?
Answer
23. What main useful features of CSS3?
Answer
24. How do I center block-elements with CSS1?
Answer
25. What is a Style Sheet?
Answer
26. Can Style Sheets and HTML stylistic elements be used in the same document?
Answer
27. Why does Netscape lose my styles ?
Answer
28. Explain in brief about the term CSS.
Answer
29. What is latest version, CSS4 or CSS3?
Answer
30. Why do style sheets exist?
Answer
31. How can I specify two different sets of link colors?
Answer
32. What is important declaration?
Answer
33. Explain inline, embedded and external style sheets.
Answer
34. What are inline, block, parent, children, replaced and floating elements?
Answer
35. Which set of definitions, HTML attributes or CSS properties, take precedence?
Answer
36. What does the Cascading in Cascading Style Sheets mean?
Answer
37. What is grouping?
Answer
38. What is inline style? How to link?
Answer
39. How do I have a background image that isnt tiled?
Answer
40. Why is it my hover declaration for links does not work ?
Answer
41. How does a simple CSS style rule look ?
Answer
42. What is one auto margin?
Answer
43. Write different ways of styles applied in HTML file?
Answer
44. What is attribute selector?
Answer
45. How to use CSS to separate content and design ?
Answer
46. What is Extensible Stylesheet Language "XSL"?
Answer
47. What is CLASS selector?
Answer
48. What is cascade?
Answer
49. What is parent child selector?
Answer
50. How do you override the underlining of hyperlinks?
Answer