Web coders: Help with HTML table
-
teamcocoThe attached pic is what I am trying to do: The left image is what I have now with the attached code.... the image on the right is what I want. I basically want "a and 1" etc to be in 2 different columns under their respective categories.
Html code I have right now
-
Devils AdvocateSorry.... No speak a da interwebz
-
hasbeenI ain't got time for this.
-
Belly35Check your spelling
-
dlazzi can't type it out on here since HTML code actually renders properly.
-
believer
fixedBelly35;1398130 wrote:Check your spelling MOFO -
thePITmanChange your "Heading" cell to colspan="4"
Change "Cat 1" and "Cat 2" to colspan="2"
Add 2 more columns in the rest of the rows, separating "a" and "1", etc.
or, if you're worried about borders and such...
Add another table inside cells "a1" and "d1" with 0 border, 2 columns each, and put the rest of the data for its respective 2 columns in there. Then remove the last 2 rows of the table. -
justincredible
This is the answer.thePITman;1398317 wrote:Change your "Heading" cell to colspan="4"
Change "Cat 1" and "Cat 2" to colspan="2"
Add 2 more columns in the rest of the rows, separating "a" and "1", etc. -
Belly35
thisjustincredible;1398320 wrote:This is the answer. -
thePITmanteamcoco;1398106 wrote:The attached pic is what I am trying to do: The left image is what I have now with the attached code.... the image on the right is what I want. I basically want "a and 1" etc to be in 2 different columns under their respective categories.
Did this give you what you wanted?thePITman;1398317 wrote:Change your "Heading" cell to colspan="4"
Change "Cat 1" and "Cat 2" to colspan="2"
Add 2 more columns in the rest of the rows, separating "a" and "1", etc.
or, if you're worried about borders and such...
Add another table inside cells "a1" and "d1" with 0 border, 2 columns each, and put the rest of the data for its respective 2 columns in there. Then remove the last 2 rows of the table.