Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Foundation Table

Foundation Table

Foundation's

elements are styled with gray zebra stripes and include four borders:

Example

<

table

<

thead

<

tr

<

th

Firstname

<

/th

<

th

Lastname

<

/th

<

th

Email

<

/th

<

/tr

<

/thead

<

tbody

<

tr

<

td

John

<

/td

<

td

Doe

<

/td

<

td

john@example.com

<

/td

<

/tr

<

tr

<

td

Mary

<

/td

<

td

Moe

<

/td

<

td

mary@example.com

<

/td

<

/tr

<

tr

<

td

July

<

/td

<

td

Dooley

<

/td

<

td

july@example.com

<

/td

<

/tr

<

/tbody

<

/table

Try it »


Responsive table

Use CSS to make tables responsive: add a

element outside the table, styled with overflow-x:hidden:

Example

<

div

style=

"overflow-x:hidden"

<

table

    ...

 

<

/table

<

/div

Try it »

Source: Runoob Tutorial · Original modified: 2015-11-18T14:32:08 · This copy is for personal offline learning only; public distribution is prohibited.