pstrid Posted June 1, 2006 Posted June 1, 2006 Tying to get the heading of my infoboxes to have an inset look by using <legend> and <fieldset> code but having trouble getting it to work. Trying to get the similar look as: http://www.tradizionidelsud.it/catalog/index.php Here's what I tried for my search infobox using some code suggestions I found online from Petterr. <?php if (ALLOW_QUICK_SEARCH_DESCRIPTION == 'true') { $param = '<input type="hidden" name="search_in_description" value="1">'; } else { $param = ''; } $legend = '<fieldset><legend><?php echo BOX_HEADING_SEARCH; ?></legend>'; $legend_end = '</legend>'; $fieldset_end = '</fieldset>'; echo $fieldset; echo $legend; $info_box_contents = array(); $info_box_contents[] = array('$fieldset', 'align' => 'left','text' => $legend); $info_box_contents[] = array('align' => 'left', 'text' => BOX_HEADING_SEARCH echo $fieldset_end; ?> Suggestions?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.