css

Interview Questions and Answers

CSS

Question:
How to use CSS to separate content and design ?
Answer:

The idea here is that all sites contain two major parts, the content: all your articles, text and photos and the design: rounded corners, colors and effects. Usually those two are made in different parts of a webpage?s lifetime. The design is determined at the beginning and then you start filling it with content and keep the design fixed.
In CSS you just add the nifty -tag I have told you about to the head of your HTML document and you have created a link to your design. In the HTML document you put content only, and that link of yours makes sure it looks right. You can also use the exact same link on many of your pages, giving them all of them the same design. You want to add content? Just write a plain HTML document and think about marking things up like ?header? instead of ?big blue header? and use CSS to make all headers look the way you want!

--- >>>

CSS - Questions
1. How do I eliminate the blue border around linked images?
Answer
2. Document Style Semantics and Specification Language "DSSSL"?
Answer
3. How do I have a fixed non scrolling background image?
Answer
4. What`s the difference between ID and class selector?
Answer
5. What is external Style Sheet? How to link?
Answer
6. Which font names are available on all platforms ?
Answer
7. Are you pro or against Flash?
Answer
8. What is CLASS selector?
Answer
9. Describe pseudo classes in CSS.
Answer
10. Why does Netscape lose my styles ?
Answer
11. What is important declaration?
Answer
12. How do you include comments in CSS?
Answer
13. What is CSS3?
Answer
14. What is a Style Sheet?
Answer
15. Why use Style Sheets?
Answer
16. What is parent child selector?
Answer
17. What are pseudo elements?
Answer
18. Describe about float element.
Answer
19. what is Fixed Background?
Answer
20. Which set of definitions, HTML attributes or CSS properties, take precedence?
Answer
21. What does the Cascading in Cascading Style Sheets mean?
Answer
22. How do I make my div 100% height?
Answer
23. Write different ways of styles applied in HTML file?
Answer
24. How do I center block-elements with CSS1?
Answer
25. Why do style sheets exist?
Answer
26. Why call the subtended angle a pixel, instead of something else ?
Answer
27. Can Style Sheets and HTML stylistic elements be used in the same document?
Answer
28. Describe ID selector?
Answer
29. What is property?
Answer
30. What is latest version, CSS4 or CSS3?
Answer
31. What is one auto margin?
Answer
32. What is CSS rule at rule?
Answer
33. Why does my content shift to the left on some pages in FF?
Answer
34. How to use CSS to separate content and design ?
Answer
35. How do I combine multiple sheets into one?
Answer
36. What is inline style? How to link?
Answer
37. How can I specify two different sets of link colors?
Answer
38. What are inline, block, parent, children, replaced and floating elements?
Answer
39. What is grouping?
Answer
40. What are the various style sheets?
Answer
41. Explain in brief about the term CSS.
Answer
42. What is Extensible Stylesheet Language "XSL"?
Answer
43. What are pseudo classes?
Answer
44. What is selector?
Answer
45. How do I move the list bullet to the left and right?
Answer
46. What is cascade?
Answer
47. How do I have a background image that isnt tiled?
Answer
48. What is CSS rule ruleset?
Answer
49. How to customize your text boxes.
Answer
50. How can I specify background images?
Answer