wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes The Second Row is Displayed as the Third Column in the First Row Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "The Second Row is Displayed as the Third Column in the First Row" Watch "The Second Row is Displayed as the Third Column in the First Row" New topic
Author

The Second Row is Displayed as the Third Column in the First Row

Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
I am creating a table with only two columns (see the code below). Each column has its own heading, which is displayed well. Below the heading, I created two rows for data entry. The second data row somehow is displayed as the third column in the first data row. I cannot figure out the problem and need help. Thank you.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

Step 1: Improve the HTML and make it much more readable (and therefore easier to see errors) by eliminating the repeated style attributes. Move the style definitions out to CSS rules.

Step 2: What's with the rowspan attributes?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: The Second Row is Displayed as the Third Column in the First Row