Browsing All Posts published on »December, 2010«

Inline and block elements

December 14, 2010

0

While creating an HTML page, it is important to understand the difference between the 2 elements categories inline and block to avoid coding errors and impost the CSS for the best. Those 2 words, ‘block’ and ‘inline’ are explicit enough by themselves.. block: an element which forms a separate block inline: an element which stays… [Read more…]

CSS Block & CSS Inline Elements

December 14, 2010

0

The 3 ways that HTML elements can be displayed All HTML elements are naturally displayed in one of the following ways: Block       Takes up the full width available, with a new line before and after        (display:block;) Inline       Takes up only as much width as it needs, and does not force new lines       (display:inline;) Not… [Read more…]

Follow

Get every new post delivered to your Inbox.