css

Interview Questions and Answers

CSS

Question:
Why is it my hover declaration for links does not work ?
Answer:

Assuming you have already checked that your style sheet declarations do conform to correct CSS syntax, it could be that you have overlooked the importance of a correct order of style declarations for links.
The CSS2 specification makes this following note on the importance of placing the dynamic pseudo-classes :hover and:active in correct positions in a list of style declarations.
Note that the a:hover must be placed after the a:link and a:visited rules, since otherwise the cascading rules will hide the color property of the a:hover rule.Similarly, because a:active is placed after a:hover, the active color will apply when the user both activates and hovers over the a element.

--- >>>

CSS - Questions
1. 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
2. Document Style Semantics and Specification Language "DSSSL"?
Answer
3. What is selector?
Answer
4. What is CSS declaration?
Answer
5. Are Style Sheets case sensitive?
Answer
6. What is latest version, CSS4 or CSS3?
Answer
7. What`s the difference between ID and class selector?
Answer
8. Describe pseudo classes in CSS.
Answer
9. What are the various style sheets?
Answer
10. What is parent child selector?
Answer
11. Why do style sheets exist?
Answer
12. What is external Style Sheet? How to link?
Answer
13. How do I eliminate the blue border around linked images?
Answer
14. Can CSS be used with other than HTML documents?
Answer
15. What are pseudo classes?
Answer
16. Which font names are available on all platforms ?
Answer
17. How do you override the underlining of hyperlinks?
Answer
18. How does a simple CSS style rule look ?
Answer
19. What is two auto margins?
Answer
20. List various font attributes used in style sheet.
Answer
21. Explain inline, embedded and external style sheets.
Answer
22. What are Cascading Style Sheets?
Answer
23. How do I center block-elements with CSS1?
Answer
24. What are inline, block, parent, children, replaced and floating elements?
Answer
25. How do I have a fixed non scrolling background image?
Answer
26. How can I specify background images?
Answer
27. What is attribute selector?
Answer
28. How to customize your text boxes.
Answer
29. How do I place text over an image?
Answer
30. What is a Style Sheet?
Answer
31. What is embedded style? How to link?
Answer
32. what is Fixed Background?
Answer
33. What are Style Sheets?
Answer
34. Which set of definitions, HTML attributes or CSS properties, take precedence?
Answer
35. How to use CSS to separate content and design ?
Answer
36. What is Extensible Stylesheet Language "XSL"?
Answer
37. Why use Style Sheets?
Answer
38. What does the Cascading in Cascading Style Sheets mean?
Answer
39. What is cascade?
Answer
40. What is property?
Answer
41. What is grouping?
Answer
42. How do you include comments in CSS?
Answer
43. How do I combine multiple sheets into one?
Answer
44. What is inline style? How to link?
Answer
45. How do I have a background image that isnt tiled?
Answer
46. What is CSS rule ruleset?
Answer
47. Why call the subtended angle a pixel, instead of something else ?
Answer
48. Can Style Sheets and HTML stylistic elements be used in the same document?
Answer
49. Why is it my hover declaration for links does not work ?
Answer
50. Why does Netscape lose my styles ?
Answer
General Knowledge Quiz
3001 Bizarre Facts
Dictionary
Elementary English Grammar Test
Standard English Grammar Test
Advanced English Grammar Test
Daily English Quiz
English Test
Grammar Examination
ESL / EFL Test
Grammar Test
Antonyms
Synonyms
Homonyms
Vocabulary Examination
Word Analogy
Vocabulary Flashcards
Idioms
Idioms Quiz
Quantitative Aptitude Test
iQ Quiz Game
Verbal Reasoning Quiz - Mind Game
English Question Answer
Vocabulary Game 1
Vocabulary Game 2
Scramble Word Game
Common Mistakes
Confusing Words
Basic English Usage
English Grammar
Prepositions
English Phrases
Learn English
Word Game
Interview Questions and Answers
Educational Quiz Games