CSS1 Test Suite: 5.5.23 width


[Previous] [Next] [Section] [Contents] [Specification]

The style declarations which apply to the text below are:

.one {width: 50px;}
.two {width: 50%;}
TABLE {width: 50%;}

[Image]

The square above should be fifty pixels wide.

[Image]

The square above should be half as wide as the image's parent element (either the BODY or the table cell).

This paragraph should be half the width of its parent element (either the BODY or the table, which should itself be half as wide as the BODY element). This is extra text included to ensure that this will be a fair test of the width property without the need for the user to resize the viewing window.

TABLE Testing Section
  [Image]

The square above should be fifty pixels wide.

[Image]

The square above should be half as wide as the image's parent element (either the BODY or the table cell).

This paragraph should be half the width of its parent element (either the BODY or the table, which should itself be half as wide as the BODY element). This is extra text included to ensure that this will be a fair test of the width property without the need for the user to resize the viewing window.


[Previous] [Next] [Section] [Contents] [Specification]