Friday, October 16, 2009

imd 215 oct 17 study questions

  • 19. How does the float property work? The CSS float property is a very important property for layout. It allows you to position your Web page designs exactly as you want them to display.
  • 20. Explain absolute positioning. Absolute positioning defines the x and y coordinates of an element with reference to the top left corner of the browser page or the containing block and the position attribute is set to absolute.
  • 21. Explain relative positioning. when you position an element that does not move with the other elements of the page.
  • 22. What is the difference between absolute positioning and fixed positioning? Fixed is the position of an object in relation to the browser window.
    Absolute is the position of an object in relation to its containing element.
  • 23. What effect do margin, border, and padding have on an element’s width? padding depends on objects around the element, border would not have any effect,
  • 24. Draw a diagram explaining the “Box Model”.boxdim.png-
  • The CSS box model describes the rectangular boxes that are generated for elements in the document tree and laid out according to the visual formatting model.
  • 25. Explain how vertical margins collapse on block level elements. it makes the pixel number decrease to half on the bottom element.
  • 26. What is the effect of using the clear property with floated elements? it resets it
  • 27. Discuss the principle of unequal spacing. It is the principle of moving the true center of a graphic into the perceived center of the page.
  • 28. What is the golden section?The golden section is a line segment divided according to the golden ratio

No comments:

Post a Comment