John C
John C

Reputation: 1835

CSS: Horizontal and Vertical spacing around tables

I am looking for a way to display 5 HTML tables in the below mentioned format on IE8:

<Table1>    <Table2>

<Table3>    <Table4>

<Table5>

That is, having both horizontal and vertical space between tables. Would highly appreciate if anyone provides recommendations around the same,

Upvotes: 1

Views: 671

Answers (3)

Darshana
Darshana

Reputation: 2548

Put those tables inside a table (i.e. use a parent table).

Upvotes: 0

Shahzeb Khan
Shahzeb Khan

Reputation: 3642

CSS can help you in this matter.

Just read about

1) Float 2) Align 3) Padding 4) Flow

Upvotes: 1

valentinas
valentinas

Reputation: 4337

Set margin and float: http://jsfiddle.net/GEKVX/7/

Upvotes: 1

Related Questions