pali Posted November 26, 2004 Posted November 26, 2004 Hi, In product_info.php file I have following line: document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; echo '<left><br><br><a href="' .tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $HTTP_GET_VARS['cPath']. '&products_id=' . $product_info['products_id'] . '#Section_specification') . '">Specification</a>'; </left>' ?>'); and I do not know why HTML tag <left> ... </left> does not work and I always get text "Specification" as centered. Any hint, idea? pali
Guest Posted November 26, 2004 Posted November 26, 2004 <left> ... </left> does not work and I always get text "Specification" as centered. Any hint, idea? pali <{POST_SNAPBACK}> <left>...</left> is not a valid HTML tag as defined by the W3C HTML specification. You need to use either <p align="left"> or <div align="left> or set up a class in the stylesheet: .left { text-align: left; } and then use <p class="left"> or <div class="left"> HTH
Recommended Posts
Archived
This topic is now archived and is closed to further replies.