css

Interview Questions and Answers

CSS

Question:
what is Fixed Background?
Answer:

There is the possibility to use the HTML tag bgproperties=fixed, but that is IE proprietary, and dependent upon the background attribute (deprecated in HTML4).
With CSS, you can declare the background like:
BODY { font-family : Trebuchet MS, Verdana, Arial, Helvetica, sans-serif; background-image: url(images/yourimage.gif); background-repeat: no-repeat; /*no-tiling background*/ background-position: center; background-attachment: fixed; background-color: #hexcolor; color : #hexcolor; margin: 10px; }
that shows a background-image in the center of the element, non-scrolling and non-repeating in IE or NN6. NN 4.xx gets the non-repeat-part right, but stuffs the picture in the upper left corner and scrolls

--- >>>

CSS - Questions
1. How do I center block-elements with CSS1?
Answer
2. How does a simple CSS style rule look ?
Answer
3. Write different ways of styles applied in HTML file?
Answer
4. What main useful features of CSS3?
Answer
5. How to customize your text boxes.
Answer
6. How do I make my div 100% height?
Answer
7. What is property?
Answer
8. How do I combine multiple sheets into one?
Answer
9. What is one auto margin?
Answer
10. Describe ID selector?
Answer
11. Explain in brief about the term CSS.
Answer
12. List various font attributes used in style sheet.
Answer
13. What is attribute selector?
Answer
14. What are Style Sheets?
Answer
15. Document Style Semantics and Specification Language "DSSSL"?
Answer
16. What is CSS declaration?
Answer
17. What`s the difference between ID and class selector?
Answer
18. Why do style sheets exist?
Answer
19. When is auto different from 0 in margin properties?
Answer
20. What is a class selector?
Answer
21. Are you pro or against Flash?
Answer
22. Describe about float element.
Answer
23. What are style sheet properties?
Answer
24. What are Cascading Style Sheets?
Answer
25. What are inline, block, parent, children, replaced and floating elements?
Answer
26. How do I have a fixed non scrolling background image?
Answer
27. How do I place text over an image?
Answer
28. what is Fixed Background?
Answer
29. Which set of definitions, HTML attributes or CSS properties, take precedence?
Answer
30. What is selector?
Answer
31. What is cascade?
Answer
32. What is grouping?
Answer
33. What is parent child selector?
Answer
34. What is inline style? How to link?
Answer
35. What is CSS rule ruleset?
Answer
36. Why does Netscape lose my styles ?
Answer
37. Which font names are available on all platforms ?
Answer
38. What is two auto margins?
Answer
39. What is CSS rule at rule?
Answer
40. How do I write my style sheet so that it gracefully cascades with users personal sheet ?
Answer
41. What are pseudo elements?
Answer
42. What is the use @keyframes in CSS3?
Answer
43. Explain inline, embedded and external style sheets.
Answer
44. Why does my content shift to the left on some pages in FF?
Answer
45. Why use Style Sheets?
Answer
46. How do you include comments in CSS?
Answer
47. How do I have a background image that isnt tiled?
Answer
48. Why call the subtended angle a pixel, instead of something else ?
Answer
49. How can I specify two different sets of link colors?
Answer
50. How do you override the underlining of hyperlinks?
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