Presentation is loading. Please wait.

Presentation is loading. Please wait.

26 HTML Tables … surround table … surround each row … surround each cell … like, but bold and centered by default (for table headings) … table title No.

Similar presentations


Presentation on theme: "26 HTML Tables … surround table … surround each row … surround each cell … like, but bold and centered by default (for table headings) … table title No."— Presentation transcript:

1 26 HTML Tables … surround table … surround each row … surround each cell … like, but bold and centered by default (for table headings) … table title No tag to define a column. Number of columns determined by number of pairs in a given row.

2 27 Tables and CSS Use CSS to format tables background-color, color, font-family, padding, margin, border, text-align … all work with tables and cells border-collapse: collapse; without with

3 28 Spanning Rows and Columns Can create “irregular” tables colspan attribute of td: # columns a cell spans A B C

4 29 Spanning Rows and Columns rowspan attribute of td: # rows a cell spans A B C 29

5 Spanning Rows and Columns 30

6 Planning the Table AnniversaryGift 1stPaper 8th 9th Pottery Happy… 31

7 Using tables for layout -------- message -------- 32

8 Using tables for layout 33

9 Exercise

10 2 pixel red border 5 pixels btwn text & border

11 Exercise


Download ppt "26 HTML Tables … surround table … surround each row … surround each cell … like, but bold and centered by default (for table headings) … table title No."

Similar presentations


Ads by Google