tags:

views:

34

answers:

0

Hi


Assume width of a viewport (display area of a browser) is 800px and that margin and padding properties of some html element E are set to values of 200px and 300px.

a) If we resize the viewport to width of 300px, then E will adjust its size to fit into the viewport – in other words, when viewport was resized, the sizes of E’s padding and margin properties were also changed accordingly?


b)But if E also had its width set, then E’s padding and margin will retain specified values even if we resize the viewport to the width of 300px?


thanx