1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

CSS osCommerce problem

Discussion in 'HTML & Website Design' started by ABCommerce, Nov 25, 2008.

  1. #1
    I am trying to move the column boxes to CSS in osCommerce but am having a problem with a couple of them (search.php). Here is the code

    <!-- search //-->
    <?php echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') ;?>
    
    	<div class="column">
    	    <div class="column_corner_left"><h4><?php echo BOX_HEADING_SEARCH ;?></h4></div>
                <div class="column_p_box">
                    <?php echo tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . '&nbsp;' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) ;?></br>
    		        <?php echo BOX_SEARCH_TEXT ;?></br>
    		        <a href="<?php echo tep_href_link(FILENAME_ADVANCED_SEARCH) ;?>"><b><?php echo BOX_SEARCH_ADVANCED_SEARCH ;?></b></a>
                </div>
    
        </div>
    </form>
    <!-- search_eof //-->
    Code (markup):
    <div class="column_p_box"> is supposed to wrap the box in a border and display a different background color. It does do that but only the form box is inside the <div class="column_p_box">. The rest, such as the button and text are under the <div class="column_p_box"> when it displays.

    Any ideas what I am doing wrong.

    Thanks. :)
     
    ABCommerce, Nov 25, 2008 IP