CSS Interview Questions

CSS Interview Questions

  1. What is CSS?
  2. What is grouping?
  3. What is selector?
  4. What is ID selector?
  5. Is CSS case sensitive?
  6. What are Style Sheets?
  7. How to Style Table Cells?
  8. What is CSS rule ‘ruleset’?
  9. Do URL’s have quotes or not?
  10. Are Style Sheets case sensitive?
  11. How can I specify background images?
  12. How do I place two paragraphs next to each other?
  13. How do I center block-elements with CSS1?
  14. How can I place multiple blocks next to each other?
  15. How do you show which page you’re on (in a menu)? Can Style Sheets and HTML stylistic elements be used in the same document?
  16. How to use CSS to separate content and design?
  17. Why does my content shift to the left on some pages (in FF)?
  18. Which characters can CSS-names contain?
  19. Which browsers support CSS?
  20. How can I specify two different sets of link colors?
  21. What is embedded style? How to link?
  22. How do I move the list bullet to the left/right?
  23. What are inline, block, parent, children, replaced and floating elements?
  24. What does ABCD (and ABCDE) mean?
  25. How can I make a page look the same in e.g. NS and MSIE?
  26. How do I center block-elements with CSS1?
  27. Can CSS be used with other than HTML documents?
  28. Why are there gaps above and below my form in IE?
  29. What is property?
  30. Why call the subtended angle a “pixel”, instead of something else (e.g. “subangle”)?
  31. Which set of definitions, HTML attributes or CSS properties, take precedence?
  32. Document Style Semantics and Specification Language (DSSSL)?
  33. Why is it my ‘:hover’ declaration for links does not work ?
  34. What is CSS declaration?
  35. How do I have a background image that isn’t tiled?
  36. What is Extensible Style sheet Language (XSL)?
  37. How do I have a non-tiling (non-repeating) background image?
  38. What is attribute selector?
  39. Why shouldn’t I use fixed sized fonts?
  40. What is contextual selector?
  41. How far can CSS be taken beyond the web page–that is, have generalized or non-web specific features for such things as page formatting or type setting?
  42. Why call the subtended angle a “pixel”, instead of something else (e.g. “subangle”)?
  43. What is cascade?
  44. What is initial value?
  45. What is ‘important’ declaration?
  46. How do I combine multiple sheets into one?
  47. Can I attach more than one declaration to a selector?
  48. Which set of definitions, HTML attributes or CSS properties, take precedence?
  49. How do I have links of different colors on the same page?
  50. How frustrating is it to write a specification knowing that you’re at the browser vendors’ mercy?
  51. Can I include comments in my Style Sheet?
  52. How do you make a whole div into a link?
  53. What is external Style Sheet? How to link?
  54. What is Extensible Style sheet Language (XSL)?
  55. How can I specify background images?
  56. Document Style Semantics and Specification Language (DSSSL)?