Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web Development
Expertise: Beginner
Sep 28, 1998

Side-by-side Tables

Question:
I have noticed that some sites have tables that sit side-by-side. I can never duplicate this behavior with my HTML scripts. Do you have any suggestions?

Answer:
Positioning two tables side-by-side usually involves three tables, not two.

There will be a "parent" table that has one row and two columns. A second and third table will be inserted into the two columns of the "parent" table. To hide the fact that a "parent" table is used, set the "border" parameter on the parent table to 0 (zero). The following HTML will accomplish this:

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date