New Zenner
- Join Date:
- Oct 2008
- Posts:
- 28
- Plugin Contributions:
- 0
centerBoxHeading
I try to get 3 pictures in centerBoxHeading.
it works in IE but not in FF
All products move to the right in Firefox.
What do i needs to change.
Link
http://shop.se/zen/zengrund10/index.php?main_page=index&cPath=3_10
i have change in includes/modules/new_products.php
if ($new_products->RecordCount() > 0) {
if (isset($new_products_category_id) && $new_products_category_id != 0) {
$category_title = zen_get_categories_name((int)$new_products_category_id);
$title = '<div class="centerBoxHeadingLeft">p</div><h2 class="centerBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . ($category_title != '' ? ' - ' . $category_title : '' ) . '</h2><div class="centerBoxHeadingRight">f</div>';
} else {
$title = '<div class="centerBoxHeadingLeft">p</div><h2 class="centerBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . '</h2><div class="centerBoxHeadingRight">f</div>';
}
$zc_show_new_products = true;
}
}
and in stylesheet.css i put in .centerBoxHeadingLeft and .centerBoxHeadingRight
.centerBoxHeadingLeft {
margin: 0em;
background-color: #abbbd3;
background-image: url(../images/tile_back.gif);
float: left;
width: 20px;
height: 20px;
}
.centerBoxHeading {
margin: 0em;
background-color: #abbbd3;
background-image: url(../images/tile_back.gif);
height: 20px;
width: 300px;
float: left;
}
.centerBoxHeadingRight {
margin: 0em;
background-color: #abbbd3;
background-image: url(../images/tile_back.gif);
width: 20px;
height: 20px;
float: right;
}