css

Interview Questions and Answers

CSS

Question:
Why use Style Sheets?
Answer:

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 display characteristics can be greatly reduced through the use of external style sheets which can be used by a group of documents. Also, multiple style sheets can be integrated from different sources to form a cohesive tapestry of styles for a document. Style sheets are also backward compatible

--- >>>

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