Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Space in header and unaligned sideboxes

Space in header and unaligned sideboxes

Locked

Views: 1,341

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
9 Jun 2009, 12:05 AM
#1
mimi78 avatar

mimi78

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

Space in header and unaligned sideboxes

Hey guys I'm :frusty::frusty: my head!!! For some reason there is a space between my header and navMainWrapper... I have searched and checked over and over and can't find the problem.

Also I am really having problems aligning my side boxes, when i fix one thing the other one gets out of place!!

Also on IE and chrome my site looks bad bad!!!
What's going on? :dontgetit
http://onwrapcreations.com/shop/

/*list box contents*/
.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
	margin-right: 0em;
	margin-bottom: 1em;
	margin-left: 0em;
	margin-top: 1px;
	}

/*sideboxes*/
.columnLeft {}

h3.leftBoxHeading, h3.leftBoxHeading a {
	font-size: 9pt;
	color: #000000;
	background-color: transparent;
	}

.leftBoxHeading {
	background-color: transparent;
	background-image: url(../images/leftboxheading.jpg);
	width: 150px;
	height: 40px;
	background-repeat: no-repeat;
	}


 .centerBoxHeading {
	background-color: transparent;
	margin-top: 0em;
	margin-right: 0em;
	margin-bottom: 1em;
	margin-left: 0em;
	padding-top: 0.5em;
	padding-right: 0.2em;
	padding-bottom: 0.2em;
	padding-left: 0.2em;
	background-image: url(../images/divider.jpg);
	height: 30px;
	background-repeat: no-repeat;
	}

.leftBoxContainer {
	margin-top: 1.5em;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 10px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #d08484;
	border-right-color: #d08484;
	border-bottom-color: #d08484;
	border-left-color: #d08484;
	}

.sideBoxContent {
	background-color: transparent;
	padding: 0.4em;
	}

h3.rightBoxHeading, h3.rightBoxHeading a {
	font-size: 9pt;
	color: #000000;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	}

.rightBoxHeading {
	margin: 0em;
	background-color: transparent;
	padding-top: 0.5em;
	padding-right: 0.2em;
	padding-left: 0.2em;
	padding-bottom: 0.5em;
	background-image: url(../images/rightboxheading.jpg);
	height: 40px;
	width: 150px;
	}

h3.leftBoxHeading a:hover {
	color: #FFFFFF;
	text-decoration: none;
	} 

h3.rightBoxHeading a:hover {
	color: #009900;
	text-decoration: none;
	}

.rightBoxContainer {
	margin-bottom: 1em;
	margin-top: 1.5em;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 10px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #d08484;
	border-right-color: #d08484;
	border-bottom-color: #d08484;
	border-left-color: #d08484;
	}

Please take a look :)

9 Jun 2009, 12:19 AM
#2
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Space in header and unaligned sideboxes

You have this somewhere in your files:

<br class="clearBoth"/>

which is causing the gap.

Use the developers toolkit and search all instances of <br class="clearBoth"/> in all catalog files... there shouldn't be many but there's one in there for sure and that's what's causing the gap....

It's probably in your tpl_header.php file

9 Jun 2009, 6:33 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Space in header and unaligned sideboxes

In many entries you are calling out "background-repeat: no-repeat;" where you have no image attached???? Probably not the major cause but is inconsistant with standard css...

This among other things is causing your mis alignment...
Replacing your stylesheet code with a fresh sheet in an interactive mode with the FF & web developers extentions - - alignment squares away - So there is something in yours that is amis

9 Jun 2009, 11:42 AM
#4
mimi78 avatar

mimi78

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

Re: Space in header and unaligned sideboxes

Thank you guys I'll take a look and see what's going on.

10 Jun 2009, 12:43 PM
#5
mimi78 avatar

mimi78

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

Re: Space in header and unaligned sideboxes

ok the </div>
<br class="clearBoth" /> in on the tpl_header.php but when I delete it the home and log in navigation bar moves to the top of the page.

Maybe I did something wrong when I edited this php.

How can I remove this space and keep the home navigation under the header and not on top?

<?php
/**
 * Common Template - tpl_header.php
 *
 * this file can be copied to /templates/your_template_dir/pagename<br />
 * example: to override the privacy page<br />
 * make a directory /templates/my_template/privacy<br />
 * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
 * to override the global settings and turn off the footer un-comment the following line:<br />
 * <br />
 * $flag_disable_header = true;<br />
 *
 * @package templateSystem
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
 */
?>

<?php
  // Display all header alerts via messageStack:
  if ($messageStack->size('header') > 0) {
    echo $messageStack->output('header');
  }
  if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
  echo htmlspecialchars(urldecode($_GET['error_message']));
  }
  if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
   echo htmlspecialchars($_GET['info_message']);
} else {

}
?>


<!--bof-header logo and navigation display-->
<?php
if (!isset($flag_disable_header) || !$flag_disable_header) {
?>

<div id="headerWrapper">


<!--bof-branding display-->
<div id="logoWrapper">
    <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
    <div id="taglineWrapper">
<?php
              if (HEADER_SALES_TEXT != '') {
?>
      <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
<?php
              }
?>
<?php
              if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
                if ($banner->RecordCount() > 0) {
?>
      <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
<?php
                }
              }
?>
    </div>
<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
</div>
<br class="clearBoth" />
<!--eof-branding display-->
<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
    <ul class="back">
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
<?php
      } else {
        if (STORE_STATUS == '0') {
?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
<?php } } ?>

<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>
</ul>
</div>
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<br class="clearBoth" />
</div>
<!--eof-navigation display-->
<!--eof-header logo and navigation display-->

<!--bof-optional categories tabs navigation display-->
<?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
<!--eof-optional categories tabs navigation display-->

<!--bof-header ezpage links-->
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
<?php } ?>
<!--eof-header ezpage links-->
</div>
<?php } ?>
10 Jun 2009, 12:52 PM
#6
mimi78 avatar

mimi78

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

Re: Space in header and unaligned sideboxes

When searchign with the developper tools kit I've found there are 900 files that use clearboth. do I have to delete all of them?

C:/xampp/htdocs/testing/admin/customers.php

Line #48 : <br class="clearBoth" />

Line #58 : <br class="clearBoth" />

C:/xampp/htdocs/testing/admin/login.php

Line #64 : <br class="clearBoth" />

Line #67 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/modules/attributes.php

Line #240 : $tmp_attributes_image .= '<br class="clearBoth" />' . "\n";

Line #256 : $tmp_attributes_image .= '<br class="clearBoth" />' . "\n";

Line #272 : $tmp_attributes_image .= '<br class="clearBoth" />' . "\n";

Line #340 : $tmp_attributes_image .= '<br class="clearBoth" />' . "\n";

Line #356 : $tmp_attributes_image .= '<br class="clearBoth" />' . "\n";

Line #372 : $tmp_attributes_image .= '<br class="clearBoth" />' . "\n";

Line #477 : $tmp_attributes_image .= '<br class="clearBoth" />' . "\n";

C:/xampp/htdocs/testing/includes/modules/pages/address_book_process/jscript_addr_pulldowns.php

Line #58 : document.getElementById("stBreak").className = 'clearBoth visibleField';

Line #59 : document.getElementById("stBreak").setAttribute('className', 'clearBoth visibleField');

C:/xampp/htdocs/testing/includes/modules/pages/checkout_payment_address/jscript_addr_pulldowns.php

Line #58 : document.getElementById("stBreak").className = 'clearBoth visibleField';

Line #59 : document.getElementById("stBreak").setAttribute('className', 'clearBoth visibleField');

C:/xampp/htdocs/testing/includes/modules/pages/checkout_shipping_address/jscript_addr_pulldowns.php

Line #58 : document.getElementById("stBreak").className = 'clearBoth visibleField';

Line #59 : document.getElementById("stBreak").setAttribute('className', 'clearBoth visibleField');

C:/xampp/htdocs/testing/includes/modules/pages/create_account/jscript_addr_pulldowns.php

Line #58 : document.getElementById("stBreak").className = 'clearBoth visibleField';

Line #59 : document.getElementById("stBreak").setAttribute('className', 'clearBoth visibleField');

C:/xampp/htdocs/testing/includes/modules/pages/login/jscript_addr_pulldowns.php

Line #58 : document.getElementById("stBreak").className = 'clearBoth visibleField';

Line #59 : document.getElementById("stBreak").setAttribute('className', 'clearBoth visibleField');

C:/xampp/htdocs/testing/includes/modules/pages/popup_shipping_estimator/jscript_addr_pulldowns.php

Line #54 : document.getElementById("stBreak").className = 'clearBoth visibleField';

Line #55 : document.getElementById("stBreak").setAttribute('className', 'clearBoth visibleField');

C:/xampp/htdocs/testing/includes/templates/template_default/common/tpl_columnar_display.php

Line #39 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/sideboxes/tpl_shopping_cart.php

Line #47 : $content .= '<br class="clearBoth" />';

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_account_default.php

Line #24 : <br class="clearBoth" />

Line #54 : <br class="clearBoth" />

Line #95 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_account_edit_default.php

Line #22 : <br class="clearBoth" />

Line #28 : <br class="clearBoth" />

Line #35 : <br class="clearBoth" />

Line #39 : <br class="clearBoth" />

Line #46 : <br class="clearBoth" />

Line #53 : <br class="clearBoth" />

Line #57 : <br class="clearBoth" />

Line #61 : <br class="clearBoth" />

Line #68 : <br class="clearBoth" />

Line #76 : <br class="clearBoth" />

Line #83 : <br class="clearBoth" />

Line #88 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_account_history_default.php

Line #25 : <br class="clearBoth" />

Line #29 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_account_history_info_default.php

Line #17 : <br class="clearBoth" />

Line #69 : <br class="clearBoth" />

Line #142 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_account_newsletters_default.php

Line #23 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_account_notifications_default.php

Line #26 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_account_password_default.php

Line #20 : <br class="clearBoth" />

Line #26 : <br class="clearBoth" />

Line #30 : <br class="clearBoth" />

Line #34 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_address_book_default.php

Line #23 : <br class="clearBoth" />

Line #28 : <br class="clearBoth" />

Line #40 : <br class="clearBoth" />

Line #54 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_address_book_process_default.php

Line #28 : <br class="clearBoth" />

Line #43 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_advanced_search_default.php

Line #26 : <br class="clearBoth" />

Line #28 : <br class="clearBoth" />

Line #35 : <br class="clearBoth" />

Line #41 : <br class="clearBoth" />

Line #43 : <br class="clearBoth" />

Line #68 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_checkout_confirmation_default.php

Line #59 : <br class="clearBoth" />

Line #84 : <br class="clearBoth" />

Line #94 : <br class="clearBoth" />

Line #103 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_checkout_payment_address_default.php

Line #26 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_checkout_payment_default.php

Line #50 : <br class="clearBoth" />

Line #113 : <br class="clearBoth" />

Line #162 : <br class="clearBoth" />

Line #178 : <br class="clearBoth" />

Line #183 : <br class="clearBoth" />

Line #188 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_checkout_shipping_address_default.php

Line #29 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_checkout_shipping_default.php

Line #30 : <br class="clearBoth" />

Line #101 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_checkout_success_default.php

Line #53 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_contact_us_default.php

Line #50 : <br class="clearBoth" />

Line #58 : <br class="clearBoth" />

Line #65 : <br class="clearBoth" />

Line #69 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_create_account_success_default.php

Line #32 : <br class="clearBoth">

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_discount_coupon_default.php

Line #35 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_document_general_info_display.php

Line #84 : <br class="clearBoth" />

Line #122 : <br class="clearBoth" />

Line #188 : <br class="clearBoth" />

Line #192 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_document_product_info_display.php

Line #84 : <br class="clearBoth" />

Line #122 : <br class="clearBoth" />

Line #187 : <br class="clearBoth" />

Line #191 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_down_for_maintenance_default.php

Line #29 : <br class="clearBoth" />

Line #32 : <br class="clearBoth" />

Line #34 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_featured_products_default.php

Line #22 : <br class="clearBoth" />

Line #39 : <br class="clearBoth" />

Line #50 : <br class="clearBoth" />

Line #66 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_gv_faq_default.php

Line #35 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_gv_send_default.php

Line #68 : <br class="clearBoth" />

Line #79 : <br class="clearBoth" />

Line #89 : <br class="clearBoth" />

Line #93 : <br class="clearBoth" />

Line #97 : <br class="clearBoth" />

Line #105 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_index_product_list.php

Line #81 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_login_default.php

Line #45 : <br class="clearBoth" />

Line #50 : <br class="clearBoth" />

Line #56 : <br class="clearBoth" />

Line #73 : <br class="clearBoth" />

Line #77 : <br class="clearBoth" />

Line #84 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_modules_address_book_details.php

Line #16 : <br class="clearBoth" />

Line #28 : <br class="clearBoth" />

Line #35 : <br class="clearBoth" />

Line #39 : <br class="clearBoth" />

Line #46 : <br class="clearBoth" />

Line #53 : <br class="clearBoth" />

Line #59 : <br class="clearBoth" />

Line #66 : <br class="clearBoth" />

Line #80 : <br class="clearBoth" id="stBreak" />

Line #90 : <br class="clearBoth" />

Line #97 : <br class="clearBoth" />

Line #101 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_modules_attributes.php

Line #32 : <br class="clearBoth" />

Line #48 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_modules_checkout_address_book.php

Line #29 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_modules_checkout_new_address.php

Line #17 : <br class="clearBoth" />

Line #23 : <br class="clearBoth" />

Line #30 : <br class="clearBoth" />

Line #34 : <br class="clearBoth" />

Line #42 : <br class="clearBoth" />

Line #49 : <br class="clearBoth" />

Line #56 : <br class="clearBoth" />

Line #63 : <br class="clearBoth" />

Line #77 : <br class="clearBoth" id="stBreak" />

Line #87 : <br class="clearBoth" />

Line #94 : <br class="clearBoth" />

Line #98 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_modules_create_account.php

Line #17 : <br class="clearBoth" />

Line #50 : <br class="clearBoth" />

Line #57 : <br class="clearBoth" />

Line #61 : <br class="clearBoth" />

Line #65 : <br class="clearBoth" />

Line #72 : <br class="clearBoth" />

Line #79 : <br class="clearBoth" />

Line #93 : <br class="clearBoth" id="stBreak" />

Line #103 : <br class="clearBoth" />

Line #110 : <br class="clearBoth" />

Line #114 : <br class="clearBoth" />

Line #125 : <br class="clearBoth" />

Line #140 : <br class="clearBoth" />

Line #150 : <br class="clearBoth" />

Line #157 : <br class="clearBoth" />

Line #164 : <br class="clearBoth" />

Line #168 : <br class="clearBoth" />

Line #177 : <br class="clearBoth" />

Line #181 : <br class="clearBoth" />

Line #192 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_modules_order_totals.php

Line #20 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_modules_product_listing.php

Line #18 : <br class="clearBoth" />

Line #27 : <br class="clearBoth" />

Line #43 : <br class="clearBoth" />

Line #53 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_modules_send_or_spend.php

Line #19 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php

Line #37 : <br class="clearBoth" />

Line #51 : <br class="clearBoth" />

Line #55 : <br class="clearBoth" id="stBreak" />

Line #58 : <br class="clearBoth" />

Line #65 : <br class="clearBoth" />

Line #70 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_password_forgotten_default.php

Line #22 : <br class="clearBoth" />

Line #26 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_product_free_shipping_info_display.php

Line #84 : <br class="clearBoth" />

Line #122 : <br class="clearBoth" />

Line #188 : <br class="clearBoth" />

Line #192 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_product_info_display.php

Line #85 : <br class="clearBoth" />

Line #123 : <br class="clearBoth" />

Line #189 : <br class="clearBoth" />

Line #193 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_product_music_info_display.php

Line #84 : <br class="clearBoth" />

Line #124 : <br class="clearBoth" />

Line #163 : <br class="clearBoth" /></div>

Line #165 : <br class="clearBoth" />

Line #200 : <br class="clearBoth" />

Line #204 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_product_reviews_default.php

Line #44 : <br class="clearBoth" />

Line #70 : <br class="clearBoth" />

Line #79 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_product_reviews_write_default.php

Line #41 : <br class="clearBoth" />

Line #68 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_products_all_default.php

Line #18 : <br class="clearBoth" />

Line #40 : <br class="clearBoth" />

Line #50 : <br class="clearBoth" />

Line #66 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_products_new_default.php

Line #40 : <br class="clearBoth" />

Line #50 : <br class="clearBoth" />

Line #66 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_reviews_default.php

Line #45 : <br class="clearBoth" />

Line #64 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_shopping_cart_default.php

Line #36 : <br class="clearBoth" />

Line #85 : <br class="clearBoth" />

Line #128 : <br class="clearBoth" />

Line #147 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_site_map_default.php

Line #85 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_specials_default.php

Line #21 : <br class="clearBoth" />

Line #39 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_tell_a_friend_default.php

Line #19 : <br class="clearBoth" />

Line #23 : <br class="clearBoth" />

Line #27 : <br class="clearBoth" />

Line #31 : <br class="clearBoth" />

Line #35 : <br class="clearBoth" />

Line #39 : <br class="clearBoth" />

Line #44 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/template_default/templates/tpl_time_out_default.php

Line #29 : <br class="clearBoth" />

Line #33 : <br class="clearBoth" />

Line #40 : <br class="clearBoth" />

C:/xampp/htdocs/testing/includes/templates/templateone/common/tpl_header.php

Line #68 : <br class="clearBoth" />

Line #92 : <br class="clearBoth" />

10 Jun 2009, 1:00 PM
#7
mimi78 avatar

mimi78

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

Re: Space in header and unaligned sideboxes

Got it !! I was making the mistake of deleting the <DIV> before the .clearBoth.

Thank you both so much for your help :)

10 Jun 2009, 1:03 PM
#8
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Space in header and unaligned sideboxes

Yikes, no don't do that!!

When I searched my own developers toolkit (before posting that as an option) I only found one reference to <br class="clearBoth"/> Why you have 900 in your php files is a bit of a mystery to me...

If deleting the one in your header is causing problems then I'm struggling with it...

Tell me, do you use Firefox Firebug plug in to inspect your page? If not then you need to install it as a Firefox addon...

The reasons I'd suggested deleting the <br class="clearBoth"/> in the first place is that I can see one when I inspect your page in Firebug and when I delete it, the space goes away.

Before:

After:

Question is, which looks better?? I'd say it looks better as is.

10 Jun 2009, 1:04 PM
#9
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Space in header and unaligned sideboxes

Ahhh, no you shouldn't have deleted the <DIV>

Glad you got it in the end :D

10 Jun 2009, 1:06 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Space in header and unaligned sideboxes

Poster searched for clearBoth and not br class="clearBoth"

10 Jun 2009, 1:41 PM
#11
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Space in header and unaligned sideboxes

Still though, seems to have found a load of <br class="clearBoth"/> I only have one of those.. not 900 :blink:

10 Jun 2009, 2:11 PM
#12
mimi78 avatar

mimi78

New Zenner

Join Date:
Mar 2009
Posts:
78
Plugin Contributions:
0

Re: Space in header and unaligned sideboxes

Yes I searched for clearBoth, I'm not used to the developper tools and couldn't find br class="clearBoth" :)) Thank you guys :))