propowders Posted July 23, 2005 Share Posted July 23, 2005 Hay guys.. thius will probvs a a simply one for you, In my left nav bar I have "Categories", "Manufacturers", "Search Product" and so on... I'm trying to center the heading text for "Categories", "Manufacturers", "Search Product". I have the following code put in however it hasnt seemed to make a difference: <?php ?> <!-- search //--> <tr> <td> <br><?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => BOX_HEADING_SEARCH); new infoBoxHeadingLeft($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'), 'align' => 'center', 'text' => tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'); new infoBoxLeft($info_box_contents); ?> </td> </tr> Can someone help out. Thanks Chris Chris Director ProPowders.com.au Your Online Health Supplement Store Link to comment Share on other sites More sharing options...
propowders Posted July 23, 2005 Author Share Posted July 23, 2005 also.. what does the "true" and "false" statements mean E.G: new infoBoxHeadingLeft($info_box_contents, false, false); Chris Director ProPowders.com.au Your Online Health Supplement Store Link to comment Share on other sites More sharing options...
propowders Posted July 24, 2005 Author Share Posted July 24, 2005 I have located the issue, and have now repaird the problem I simply add text-align: center } Into my Css file.. and it will align the text.. Chris Director ProPowders.com.au Your Online Health Supplement Store Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.