s1yman Posted April 8, 2010 Share Posted April 8, 2010 Hi, Hope you are all well!! I'm having a bit of trouble creating an HTML table with some abnormal formatting. I've attached a print screen of the kind of thing I want. I'm not asking anyone to format it for me, but if you could offer any advice on a way to do it, it would be greatly appreciated! Many Thanks, -Simon [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/197974-problem-building-table/ Share on other sites More sharing options...
s1yman Posted April 8, 2010 Author Share Posted April 8, 2010 I'm not asking anyone to format it for me script* Link to comment https://forums.phpfreaks.com/topic/197974-problem-building-table/#findComment-1038885 Share on other sites More sharing options...
isedeasy Posted April 8, 2010 Share Posted April 8, 2010 Why use a table? it would be just as easy and more semantic to use div's. Here is what you're after though... <table> <tr> <td>1</td> <td>2</td> <td rowspan="2">3</td> </tr> <tr> <td colspan="2">4</td> </tr> <tr> <td colspan="3">5</td> </tr> <tr> <td>6</td> <td>7</td> <td>8</td> </tr> </table> wow that felt dirty, I have not used rowspan for years... Link to comment https://forums.phpfreaks.com/topic/197974-problem-building-table/#findComment-1038904 Share on other sites More sharing options...
s1yman Posted April 8, 2010 Author Share Posted April 8, 2010 Thanks for your help. Reason I'm using tables is because it's xml code, so that would also explain why the colspan isn't working Link to comment https://forums.phpfreaks.com/topic/197974-problem-building-table/#findComment-1038920 Share on other sites More sharing options...
haku Posted April 8, 2010 Share Posted April 8, 2010 CSS works fine with XML. Link to comment https://forums.phpfreaks.com/topic/197974-problem-building-table/#findComment-1038928 Share on other sites More sharing options...
s1yman Posted April 8, 2010 Author Share Posted April 8, 2010 not this program i am using it extends the other boxes to match the biggest one. . . software glitch I guess. Thanks for your help - appreciated Link to comment https://forums.phpfreaks.com/topic/197974-problem-building-table/#findComment-1038944 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.