cExams.net

Interview Questions and Answers

CSS

Question:
What is one auto margin?
Answer:

BODY {width: 30em;}
P {width: 20em; margin-left: 2em; margin-right: auto;}In this case, paragraphs are 20em wide and are indented 2em on the left side. Since the total width available is 30em, that means the right margin will be 8em. Note that the default value of width is auto, so setting one or both margins to auto is only useful if you set the width to something other than auto at the same time.

--- >>>

CSS - Questions
1. How to customize your text boxes.
Answer
2. What does the Cascading in Cascading Style Sheets mean?
Answer
3. What`s the difference between ID and class selector?
Answer
4. What is grouping?
Answer
5. Describe pseudo classes in CSS.
Answer
6. How do I combine multiple sheets into one?
Answer
7. Why do style sheets exist?
Answer
8. How do I have a background image that isnt tiled?
Answer
9. What is CSS rule ruleset?
Answer
10. What is external Style Sheet? How to link?
Answer
11. How do I eliminate the blue border around linked images?
Answer
12. Why call the subtended angle a pixel, instead of something else ?
Answer
13. Can CSS be used with other than HTML documents?
Answer
14. Can Style Sheets and HTML stylistic elements be used in the same document?
Answer
15. What are pseudo classes?
Answer
16. Why is it my hover declaration for links does not work ?
Answer
17. Why does Netscape lose my styles ?
Answer
18. How can I specify two different sets of link colors?
Answer
19. How do you override the underlining of hyperlinks?
Answer
20. How do I move the list bullet to the left and right?
Answer
21. When is auto different from 0 in margin properties?
Answer
22. What are pseudo elements?
Answer
23. What is CSS3?
Answer
24. Write different ways of styles applied in HTML file?
Answer
25. What is a class selector?
Answer
26. Are you pro or against Flash?
Answer
27. What is the use @keyframes in CSS3?
Answer
28. List various font attributes used in style sheet.
Answer
29. Explain inline, embedded and external style sheets.
Answer
30. How do I center block-elements with CSS1?
Answer
31. How do I have a fixed non scrolling background image?
Answer
32. How can I specify background images?
Answer
33. What is attribute selector?
Answer
34. What is a Style Sheet?
Answer
35. what is Fixed Background?
Answer
36. Which set of definitions, HTML attributes or CSS properties, take precedence?
Answer
37. How to use CSS to separate content and design ?
Answer
38. Document Style Semantics and Specification Language "DSSSL"?
Answer
39. What is selector?
Answer
40. What is CSS declaration?
Answer
41. What is cascade?
Answer
42. Are Style Sheets case sensitive?
Answer
43. How do I make my div 100% height?
Answer
44. What is latest version, CSS4 or CSS3?
Answer
45. How do you include comments in CSS?
Answer
46. What are the various style sheets?
Answer
47. What is parent child selector?
Answer
48. What is two auto margins?
Answer
49. What is CSS rule at rule?
Answer
50. What is important declaration?
Answer
  • Rules to play 3 Ball Pool
  • Most Amazing Roads
  • What to Eat in Goa
  • Rivers of India
  • Best Eco Friendly Hotels and Resorts in the World
  • Best Honeymoon Spots in India

  • 100 Places to visit in India

    Wagah Border

    Forget the changing of guard routine in London. The Wagah border ceremony is much more interesting. As the sun goes down, the retreat ceremony at this India Pakistan border begins. Bugles are sounded from both the sides, which could easily blow the air out of your lungs if you try it; guards from both the sides stomp their feet as hard as possible, trying to get one up over each other. It is as exciting as watching the last ball of a India Pakistan cricket match.


    Chourishi Systems