Hi All,
I am using theme "smf_1-1_rc2" on cpg 1.4.6 and am having a problem.
I hope all of you can help me :)
I modified the contents of anycontent.php and another column to the TR
However, when I render the page, the first row's colspan is 1 (See html below). And its not spanning to the number of TD I have in the 2nd row.
How could I modify the colspan of for that?
Coudl someone direct me to the correct file?
<!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">
<tr>
<td class="tableh1" colspan="1">Welcome</td>
</tr>
<tr>
<td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td>
<td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td>
</tr>
</table>
<!-- End standard table -->
Thank you very very much guys.
!-- Start standard table -->
<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">
<tr>
<td class="tableh1" colspan="2">Welcome</td>
</tr>
<tr>
<td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td>
<td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td>
</tr>
</table>
<!-- End standard table -->
Take a look at your favorite html reference for the proper use of the colspan attribute.
Hi GauGau.
Thanks very much for the quick reply.
I know that you just have to modify the colspan="2" line.
But my problem is actually trying to find where that line is generated.
Because its not in the anycontent.php.
Could you please direct me to it?
Thanks :)
Post the actual content of your anyconten.php file.
There are parameters you can hand over to the function starttable: width, title, colspan.
This means:starttable("100%", "Welcome");
will result in<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">
<tr>
<td class="tableh1" colspan="1">Welcome</td>
</tr>
<tr>
, butstarttable("100%", "Welcome", 2);
will result in<table align="center" width="100%" cellspacing="1" cellpadding="0" class="maintable">
<tr>
<td class="tableh1" colspan="2">Welcome</td>
</tr>
<tr>
You get the idea I bet...
;D
Thank you GauGau :) :)