HTML » frameset » cols

The cols attribute is used to set the number of column frames in a frameset element. This is done indirectly since you never provide the actual number of columns. Rather, this attribute is a quote-enclosed, comma-separated list of values that specify the width assigned to each frame. The number of values in the list determines the number of frames. For example, if you have three values, then you are expected to have three frames. These values can be:

  • a percentage of the window width
  • an integer number of pixels
  • either of the above methods plus the asterisk *