Skip to main content

Home/ Useful Technologies/ Group items tagged table

Rss Feed Group items tagged

George Bradford

Changing Column Width - Complete HTML5 tutorial - 0 views

  •  
    "Now that you we have used all the right semantics you might want to change the width of each column - as of right now, each column is 33% wide. Let's say we want the first column to be 40% of the table and the two remaning columns to be 30% (as 40% + 30% +30% = 100%). In order to do this, we use the element. This element is to be placed between the tag and the tag and we use the style attribute to define the width of the columns. The element is a self-closing element and you need one for every columns of you table. Let's have an example:"
1 - 1 of 1
Showing 20 items per page