Martes, Hulyo 12, 2011

Friday, July 01,2011

We discussed the block element and the in line. 
A Block element has the following characteristics:

  •  Forms a block and positions itself vertically underneath with a new empty line above and under
  • Takes all the available width based on the measure of its parent element 
  • Its height changes in rapport to its content
  • Can contains other inline and/or block elements 
  • Via css, we can impost a fixed width and/or height
An inline element has the following characteristics:
  • Positions itself horizontally inline with the rest of the content of its parent element
  • Takes the minimum width and height in rapport to its content
  • Can contains ONLY other inline elements
  • Via css, we can NOT impost fixed measure

Walang komento:

Mag-post ng isang Komento