Layout table styling
Posted: Thu 20. Nov 2003, 22:39
I am trying to figure out how can I style the layout tables that phpwcms generates, for instance:
How do I place a 10px border around the main layout table?
This is what is generated:
<table border="0" cellspacing="0" cellpadding="0" width="760" align="center">
And this is what I need:
"border:10px #336699 solid;" (no borders between the table rows and cells, only around the main table)
I found the "layout_border_" width attributes in conf.pagelayout.inc.php, but not for the border color:
$pagelayout["layout_border_top"] = 10;
$pagelayout["layout_border_bottom"] = 10;
$pagelayout["layout_border_left"] = 0;
$pagelayout["layout_border_right"] = 0;
Note that the "layout_border_top" and "layout_border_bottom" set to 10px come from the "page margin" attributes that I set in the admin panel; they are NOT the TABLE borders.
Are there config attributes that allow me to set the table border and color?
Is it possible to have all the attributes needed to completely format the layout tables in the config file?

This is what is generated:
<table border="0" cellspacing="0" cellpadding="0" width="760" align="center">
And this is what I need:
"border:10px #336699 solid;" (no borders between the table rows and cells, only around the main table)
I found the "layout_border_" width attributes in conf.pagelayout.inc.php, but not for the border color:
$pagelayout["layout_border_top"] = 10;
$pagelayout["layout_border_bottom"] = 10;
$pagelayout["layout_border_left"] = 0;
$pagelayout["layout_border_right"] = 0;


