Forums / Templates, Stylesheets, Page Layout / Excess space at bottom of pages

Excess space at bottom of pages

Locked

Views: 1,592

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
14 Mar 2009, 2:24 AM
#1
scorpiowoman avatar

scorpiowoman

New Zenner

Join Date:
Nov 2006
Posts:
37
Plugin Contributions:
0

Excess space at bottom of pages

I noticed not long ago that I have messed up something in my CSS sheet, but I don't know what it is. There is way too much space at the bottom of my pages. I'm not that familiar with CSS (as I am sure you can tell below!) I am pretty sure its in my main stylesheet.css file, as the space doesn't show up on the login page, which has its own CSS sheet. Does anyone have any idea as to what is causing this? Any help is greatly appreciated! Here's a copy of my main CSS sheet. Also, if you want to view the site, go to lasercartridgeplus dot com

/**

  • Main CSS Stylesheet
  • @package templateSystem
  • @copyright Copyright 2003-2005 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: stylesheet.css 3215 2006-03-20 06:05:55Z birdbrain $
    */

body {
margin: 0;
margin-bottom: 10px;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 65.5%;
color: #000000;
background-color: #0066FF;
background-image: url(../images/body_back.jpg);
}

a img {border: none; }

a:link, #navEZPagesTOC ul li a {
color: #002E9F;
text-decoration: none;
}

a:visited {
color: #AD231B;
text-decoration: none;
}

a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
color: #000000;
}

a:active {
color: #AD231B;
}

#productPrices {
color:#FF0000;
}

h1 {
font-size: 1.7em;
color: #000000;
text-align: left;
}

h2 {
font-size: 1.3em;
}

h3 {
font-size: 1.2em;
}

h4, h5, h6, LABEL, h4.optionName, LEGEND, ADDRESS, .sideBoxContent, .larger{
font-size: .9em;
}

.biggerText {
font-size: 1.2em;
}

h1, h2, h3, h4, h5, h6 {
margin: 0.3em;
}

CODE {
font-family: arial, verdana, helvetica, sans-serif;
font-size: 1em;
}

FORM, SELECT, INPUT {
display: inline;
font-size: 1em;
margin: 0.1em;
}

TEXTAREA {
float: left;
margin: auto;
display: block;
width: 95%;
}

#tellAFriendDefault textarea {
float: none;
}

input:focus, select:focus, textarea:focus {
background: #F0F8FF;
}

FIELDSET {
padding: 0.5em;
margin: 0.5em 0em;
border: 1px solid #cccccc;
}

LEGEND {
font-weight: bold;
padding: 0.3em;
}

LABEL, h4.optionName {
line-height: 1.5em;
padding: 0.2em;
}

LABEL.checkboxLabel, LABEL.radioButtonLabel {
margin: 0.5em 0.3em;
}

#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: left;
}

LABEL.inputLabel {
width: 11em;
float: left;
}

LABEL.inputLabelPayment {
width: 15em;
float: left;
}

LABEL.selectLabel, LABEL.switchedLabel, LABEL.uploadsLabel {
width: 12em;
float: left;
}

P, ADDRESS {
padding: 0.0em;
}

ADDRESS {
font-style: normal;
}

.clearBoth {
clear: both;
}

HR {
height: 1px;
margin-top: 0.5em;
border: none;
border-bottom: 1px solid #9a9a9a;
}

/warnings, errors, messages/
.messageStackWarning, .messageStackError, .messageStackSuccess, .messageStackCaution {
line-height: 1.8em;
padding: 0.2em;
border: 1px solid #9a9a9a;
font: bold;
}

.messageStackWarning, .messageStackError {
background-color: #AD231B;
color: #ffffff;
}

.messageStackSuccess {
background-color: #BCED91;
color: #000000;
font: bold;
}

.messageStackCaution {
background-color: #FFFF66;
color: #000000;
}

/wrappers - page or section containers/
#mainWrapper {
background-color: #ffffff;
text-align: left;
width: 900px;
vertical-align: top;
border-left: 1px solid black;
border-top: 1px solid black;
border-right: 4px solid black;
border-bottom: 4px solid black;

}

#headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;
}

#headerWrapper {
background-color: #FFFFFF;
}

#navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
margin: auto;
}

#tagline {
color:#3A78C2;
font-size: 1.6em;
font-weight: bold;
text-align: center;
vertical-align: center;
height:75px;
padding: 14px;
}

#sendSpendWrapper {
border: 1px solid #cacaca;
float: right;
margin: 0em 0em 1em 1em;
}

.floatingBox, #accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {
margin: 0;
width: 47%;
}

.wrapperAttribsOptions {
margin: 0.3em 0em;
}

/navigation/

.navSplitPagesResult {}
.navSplitPagesLinks {}
.navNextPrevCounter {
margin: 0em;
font-size: 0.9em;
}
.navNextPrevList {
display: inline;
white-space: nowrap;
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
}

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
margin: 0em;
background-color: #AFCEEA;
padding: 0.5em 0.2em;
font-weight: bold;
color: #000000;
height: 1%;
width: 99.5%;
}

#navCatTabsWrapper {
margin-top: 0em;
}

#navMain ul, #navSupp ul, #navCatTabs ul {
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
text-align: center;
line-height: 1.5em;
}

#navMain ul li, #navSupp ul li, #navCatTabs ul li {
display: inline;
white-space: nowrap;
}

#navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
text-decoration: none;
padding: 0em 0.5em;
margin: 0;
color: #800000;
}

#navEZPagesTOCWrapper {
font-weight: bold;
float: right;
height: 1%;
border: 1px solid #9a9a9a;
width: 27%;
}

#navEZPagesTOC ul {
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
line-height: 1.5em;
}

#navEZPagesTOC ul li {
white-space: nowrap;
}

#navEZPagesTOC ul li a {
padding: 0em 0.5em;
margin: 0;
}

#navMainSearch, #navCategoryIcon, .buttonRow, #indexProductListCatDescription {
margin: 0.5em;
}

#navBreadCrumb {
padding: 0.5em 0.5em;
margin: 1px
background-color: #ffffff;
}

#navEZPagesTop {
background-color: #ffffff;
}

#navBreadCrumb, #navEZPagesTop {
font-size: 0.95em;
font-weight: bold;
margin: 0em;
padding: 0.5em;
}

/#navColumnOne {
background-color: #ffffff;
}
/

#navColumnTwo {
background-color: #ffffff;
}

/The main content classes/
#contentColumnMain, #navColumnOne, #navColumnTwo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .alert {
vertical-align: top;
}

#specialsDefault, .centerBoxWrapper {
width: 100%
}

/.content,/ #productDescription, .shippingEstimatorWrapper {
/font-size: 1.2em;/
padding: 0.5em;
}

.alert {
color: #AD231B;
margin-left: 0.5em;
}
.advisory {}
.important {
font-weight: bold;
}
.notice {}
.rating{}
.gvBal {
float: right;
}
.centerColumn, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix {
padding: 0.9em;
}

.smallText, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP {
font-size: 0.9em;
}

/Shopping Display/
#cartAdd {
float: right;
text-align: center;
margin: 1em;
border: 1px solid #000000;
padding: 1em;
}

.tableHeading TH {
border-bottom: 1px solid #9a9a9a;
}

.tableHeading, #cartSubTotal {
background-color: #e9e9e9;
}

#cartSubTotal {
border-top: 1px solid #cccccc;
font-weight: bold;
text-align: right;
line-height: 2.2em;
padding-right: 2.5em;
}

.tableRow, .tableHeading, #cartSubTotal {
height: 2.2em;
}

.cartProductDisplay, .cartUnitDisplay, .cartTotalDisplay, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, #cartInstructionsDisplay, .cartTotalsDisplay {
padding: 0.5em 0em;
}

.cartUnitDisplay, .cartTotalDisplay {
text-align: right;
padding-right: 0.2em;
}

#scUpdateQuantity {
width: 2em;
}

.cartQuantity {
width: 4.7em;
}

.cartNewItem {
color: #005c2c;
font-weight: bold;
position: relative; /do not remove-fixes stupid IEbug/
}

.cartOldItem {
color: #005c2c;
position: relative; /do not remove-fixes stupid IEbug/
}

.cartBoxTotal {
text-align: right;
font-weight: bold;
}

.cartRemoveItemDisplay {
width: 3.5em;
}

#cartAttribsList {
margin-left: 1em;
}

#mediaManager {
width: 50%;
margin: 0.2em;
padding: 0.5em;
}
.normalprice, .productSpecialPriceSale {
text-decoration: line-through;
}

.productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount {
color: #AD231B;
}

#cartBoxListWrapper ul, #ezPageBoxList ul {
list-style-type: none;
}

#cartBoxListWrapper li, #ezPageBoxList li, .cartBoxTotal {
margin: 0;
padding: 0.2em 0em;
}

.totalBox {
width: 5.5em;
text-align: right;
padding: 0.2em;
}

.lineTitle, .amount {
text-align: right;
padding: 0.2em;
}

.amount {
width: 5.5em;
}

/Image Display/
#productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage {
margin: 0em 1em 1em 0em ;
}

.categoryIcon {}
#cartImage {
margin: 0.5em 1em;
}

/Attributes/
.attribImg {
width: 20%;
margin: 0.3em 0em;
}

.attributesComments {}

/list box contents/
.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
margin: 1em 0em;
}

/sideboxes/
.columnLeft {}

h3.leftBoxHeading, h3.leftBoxHeading a,
h3.rightBoxHeading, h3.rightBoxHeading a {
font-size: 1em;
color: #FFFFFF;
}

.leftBoxHeading, .centerBoxHeading {
margin: 0em;
background-color: #CCCCCC;
border:1px solid #999999;
padding: 0.5em 0.2em;
font-size:14px;
font-weight:bold;
padding: 2px;
text-align:center;
}

.centerBoxHeading {
color: #666666;

}

.leftBoxContainer, .rightBoxContainer {
margin: 0.5em;
border: 1px solid #9a9a9a;
border-bottom: 5px solid #002E9F;
margin-top: 1.5em;
}

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

h3.rightBoxHeading, h3.rightBoxHeading a {
font-size: 1em;
color: #666666;
}

.rightBoxHeading {
margin: 0em;
background-color: #CCCCCC;
border:1px solid #999999;
color:#666666;
font-size:14px;
font-weight:bold;
padding: 2px;
text-align:left;
}

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

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

.rightBoxContent {
background-color: #ECECEC;
margin-bottom: 1em;
}

.centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
text-align: center;
}

#bestsellers .wrapper {
margin: 0em 0em 0em 1.5em;
}

#bestsellers ol {
padding: 0;
margin-left: 1.1em;
}

#bestsellers li {
padding: 0;
margin: 0.3em 0em 0.3em 0em;
}

#bannerboxHeading {
background-color: #0000CC;
}

#upProductsHeading {
text-align: left;
}

#upDateHeading {
text-align: right;
}

/misc/
.back {
float: left;
}

.forward {
float: right;
}

.bold {
font-weight: bold;
}

.rowOdd {
background-color: #E8E8E8;
height: 1.5em;
vertical-align: top;
}

.rowEven {
background-color: #F0F0F0;
height: 1.5em;
vertical-align: top;
}

CAPTION {
/display: none;/
}

#myAccountGen li, #myAccountNotify li {
margin: 0;
}

.accountTotalDisplay, .accountTaxDisplay {
width: 20%;
text-align: right;
/vertical-align: top/
}

.accountQuantityDisplay {
width: 10%;
vertical-align: top
}

TR.tableHeading {
background-color: #cacaca;
height: 2em;
}

#siteMapList {
width: 95%;
float: right;
}

.ratingRow {
margin: 1em 0em 1.5em 0em;
}

LABEL#textAreaReviews {
font-weight: normal;
margin: 1em 0em;
}

#popupShippingEstimator, #popupSearchHelp, #popupAdditionalImage, #popupImage, #popupCVVHelp, #popupCouponHelp, #popupAtrribsQuantityPricesHelp {
background-color: #ffffff;
background-image: none;
}

At Laser Cartridge Plus you will find great savings on Toner Cartridge and Ink Cartridge supplies! Excellent savings on HP Toner Cartridges too!

14 Mar 2009, 2:47 AM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Excess space at bottom of pages

you don't have to past entire CSS here .. all you need is a link to your site ..

14 Mar 2009, 3:18 AM
#3
scorpiowoman avatar

scorpiowoman

New Zenner

Join Date:
Nov 2006
Posts:
37
Plugin Contributions:
0

Re: Excess space at bottom of pages

thanks for your response. I didn't post a link to my site here on purpose because I didn't want it to get indexed in the search engines as a backlink, and my customers seeing it, therefore I spelled out dot com at the end instead...

Sorry if I took up too much space posting the entire CSS here. If you can help me fix the excess space at the bottom of my pages, I would greatly appreciate it. Again, the website is

lasercartridgeplus dot com

At Laser Cartridge Plus you will find great savings on Toner Cartridge and Ink Cartridge supplies! Excellent savings on HP Toner Cartridges too!

14 Mar 2009, 4:10 AM
#4
kdb04d avatar

kdb04d

New Zenner

Join Date:
Feb 2009
Posts:
35
Plugin Contributions:
0

Re: Excess space at bottom of pages

I haven't read through the whole css but for some reason your font size in the body tag is making the whole page longer. When i change it to pixels instead of percent it works fine.

14 Mar 2009, 4:44 AM
#5
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Excess space at bottom of pages

you have few java script that is been added into the body at the end of your page .

those google scripts . needs to be in head and not in the body . thats why you have such a large space .

any file ending with .js extension needs to be added to the head of your page .

im not sure about this , but thats what i think is happening . is nothing to do with your CSS.

14 Mar 2009, 4:52 AM
#6
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Excess space at bottom of pages

did you install google analytical using the free module from add on section ?

14 Mar 2009, 5:09 AM
#7
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Excess space at bottom of pages

never mind my observation . :blush: after reading google , thats how it should be included in the page.

im just out of idea sorry .

15 Mar 2009, 3:21 AM
#8
scorpiowoman avatar

scorpiowoman

New Zenner

Join Date:
Nov 2006
Posts:
37
Plugin Contributions:
0

Re: Excess space at bottom of pages

Thank you **kdb04d **for pointing me in the right direction! The excess space is now gone. Like you said, the font-size in the body did make a difference. However, I experimented with it and found that the excess space at the bottom of the page would disappear if I changed the font smaller, no matter if it was in a percentage or pixel, em, point, etc. But it only worked when I made the font so small you could barely read it.

It made me figure out the excess space at the bottom of the page was coming from my news scroller sidebox. It somehow was exceeding the margin or something and pushing extra space...anyway I was able to fix it by going into the CSS sheet for the news sidebox scroller and defining a font-size there that would work.

Also, thank you tony_sar for your valient effort! :hug:

You guys are the best!

At Laser Cartridge Plus you will find great savings on Toner Cartridge and Ink Cartridge supplies! Excellent savings on HP Toner Cartridges too!