Using [php] tags in your post will show up certain coding errors:
PHP Code:
$content .= '<a class="'. a.catBoxHeading1 . '" href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">'>Air Conditioning<br /> Split System<br /> Ducted<br /></a>' . $disp_block_head) . "\n";
catBoxHeading1 is not a php entity, but an html tag, and is nothing but another text string to php.
You don't want the single quote before the >, as that will tell php that the text string is finished and the rest is php code.
PHP Code:
$content .= '<a class="catBoxHeading1" href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">>Air Conditioning<br /> Split System<br /> Ducted<br /></a>' . $disp_block_head) . "\n";
The css looks good, although you don't need to spell out so much. The first set is ok, but the rest differ only in the color, and don't need to have the rest of the properties mentioned. They will be inherited from the link declaration unless specifically changed.
a.catBoxHeading1:visited {
color: #00CD00;
}
Bookmarks