css

Interview Questions and Answers

CSS

Question:
How do I make my div 100% height?
Answer:

You need to know what the 100% is of, so the parent div must have a height set. One problem that people often come up against is making the main page fill the screen if theres little content. You can do that like this :
CSS body, html { height:100%; } body { margin:0; padding:0; } #wrap { position:relative; min-height:100%; } * html #wrap { height:100%; }
Here, the #wrap div goes around your whole page its like a sub-body.
You need to use min-height rather than height for Firefox because otherwise it will set it to 100% of the viewport and no more. Internet Explorer, being well

--- >>>

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