![]() |
Table issues...
I'm having issues with a table. Sad, isn't it.
Whenever I try to add mutiple cells in one row, they add onto the end (leaving a huge cell and a mini cell) rather than placing themselves inside the main structure of the table, screwing my code up and generally being a pain. Is there a way to keep it inside the table's original borders? There's only one row I need multiple cells for (it's single cell otherwise), and that could possibly be the problem. Thanks in advance for any help given. |
Tables, by their very nature, have an equal number of cells in each row, and an equal number of cells in each column. To pervert this you need to use the rowspan and colspan attributes of a cell. The sum of the number of cells, whether they are individual or part of a span, still needs to be the same for each row and each column. In other words, you need to define a good table, then remove cell walls, not add or remove cells. Have a look an an HTML tutorial.
|
Try to post your table code here, and then it will be easier to help you. But it's true what DaWei says. You need to learn about colspan and rowspan to do that you want.
|
| All times are GMT -5. The time now is 2:01 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC