I am trying to update the attributes to the table that phpwcms generates, and add an <td> before the header and an additional <td> after the footer.
This is what is generated:
<table border="0" cellspacing="0" cellpadding="0" width="608" bgcolor="#87D3E5" class="tborder" align="center">
<tr>
<td style="height:20px;" >
I would like this to become:
<table border="0" cellspacing="0" cellpadding="0" width="608" bgcolor="#87D3E5" class="tborder" align="center" height="100%">
<tr>
<td background="img/left_rpt.gif"><img src="img/blank.gif"></td>
<td style="height:20px;" >
Items in bold represent changes
If someone can point me to which file needs to be updated or if there's a way to accomplish this through CSS.
Thanks in advance,
Mike
phpwcms generated <table><tr><td> question
I found what I was looking for and fixed the table height, but I'm not sure how to make the modifications to the <td>. File in the include/inc_front/content.func.inc.php file starting on starting on line 211.
Where can I find the values that are being using in these statements?
211 $content["all"] .= colspan_table_row($pagelayout, "header", $colspan, $block["headertext"]);
223 $content["all"] .= colspan_table_row($pagelayout, "footer", $colspan, $block["footertext"]); //footer row
Thanks again for any help anyone may have to offer,
Mike
BTW, a big thanks to Oliver Georgi for all of his hard work.
Where can I find the values that are being using in these statements?
211 $content["all"] .= colspan_table_row($pagelayout, "header", $colspan, $block["headertext"]);
223 $content["all"] .= colspan_table_row($pagelayout, "footer", $colspan, $block["footertext"]); //footer row
Thanks again for any help anyone may have to offer,
Mike
BTW, a big thanks to Oliver Georgi for all of his hard work.
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
why this (sorry - your solution is not optimal).
Use CSS. Or use custom layout - 3rd radio button!!!
It is not recommend to use the height attribute.
See this: http://www.blitzblau.de/blockierter-wandel/index.php
Oliver
Use CSS. Or use custom layout - 3rd radio button!!!
It is not recommend to use the height attribute.
See this: http://www.blitzblau.de/blockierter-wandel/index.php
Oliver