Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2009
    Posts
    186
    Plugin Contributions
    1

    Default Stylesheet being doubled

    http://jigsaw.w3.org/css-validator/v...ng=en#warnings

    im not sure what is going on here

    Same colors for color and background-color in two contexts warning

    there is 246 warnings. could someone take a look and tell me where its coming from?

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Stylesheet being doubled

    It looks as if the validator is throwing flags for every pair of selectors where one has the color the same as the other's background-color, regardless of whether they appear superimposed:

    Same colors for color and background-color in two contexts div#dropMenu li.submenu li.submenu:hover and #navEZPagesTOC ul li a

    I haven't examined the stylesheet to verify this, but if it is the case, the validator has a major bug there.

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Stylesheet being doubled

    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover{color:#000!important; background:#F60}

    a:link, #navEZPagesTOC ul li a{color:#f60; text-decoration:underline}


    No actual problem here.
    There could theoretically be a problem because the rules specify links color #f60 and #dropMenu li a:hover bg-color #f60, but the first rule ensures that #000 overrides the possible conflict.
    Last edited by gjh42; 24 Dec 2009 at 05:25 PM.

  4. #4
    Join Date
    Feb 2009
    Posts
    186
    Plugin Contributions
    1

    Default Re: Stylesheet being doubled

    i should have posted the stylesheet, sorry.

    Code:
    body{margin:0; font-family:Arial; font-size:90%; line-height:22px; color:black; background-color:#64748b}
    a img{border:none}
    a:link, #navEZPagesTOC ul li a{color:#f60; text-decoration:underline}
    a:visited{color:#f60; text-decoration:underline}
    a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover{color:#f90; text-decoration:none; font-weight:bold}
    a:active{color:#f00; text-decoration:none}
    h1{font-size:14px; color:#f60}
    h2{font-size:15px}
    h3{font-size:16px}
    h4, h5, h6, LABEL, h4.optionName, LEGEND, ADDRESS, .sideBoxContent, .larger{font-size:1.1em}
    .sideBoxContent{padding:5px}
    .biggerText{font-size:1.2em}
    h1, h2, h3, h4, h5, h6{margin:0.3em 0}
    CODE{font-family:arial,verdana,helvetica,sans-serif; font-size:1em}
    FORM, SELECT, INPUT{display:inline; font-size:13px; margin:0.1em}
    TEXTAREA{margin:auto; display:block; width:95%}
    input:focus, select:focus, textarea:focus{background:#e4fef5}
    FIELDSET{padding:0.5em; margin:0.5em 0; border:1px solid #ccc}
    LEGEND{font-weight:bold; padding:0.3em; color:black}
    LABEL, h4.optionName{line-height:1.5em; padding:0.2em}
    LABEL.checkboxLabel, LABEL.radioButtonLabel{margin:0.5em 0.3em}
    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg{float:left}
    #logo{float:left; background-color:#26354a; height:75px; width: 700px; margin:0px; color: #ffffff;}
    LABEL.inputLabel{width:9em; float:left}
    LABEL.inputLabelPayment{width:14em; float:left; padding-left:2.5em}
    LABEL.selectLabel, LABEL.switchedLabel, LABEL.uploadsLabel{width:11em; float:left}
    #checkoutPayment LABEL.radioButtonLabel{font-weight:bold}
    P, ADDRESS{padding:0.5em}
    ADDRESS{font-style:normal}
    .clearBoth{clear:both}
    HR{height:1px; margin-top:0.5em; border:none; border-bottom:1px solid #9a9a9a}
    .messageStackWarning, .messageStackError, .messageStackSuccess, .messageStackCaution{line-height:1.8em; padding:0.2em; border:1px solid #9a9a9a}
    .messageStackWarning, .messageStackError{background-color:#f00; color:#26354a}
    .messageStackSuccess{background-color:#9f9; color:#26354a}
    .messageStackCaution{background-color:#ff6; color:#26354a}
    #mainWrapper{background-color:#E6EBF0; text-align:left; width:98%; vertical-align:top; border:1px solid #9a9a9a; margin:auto}
    #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage{margin:0; padding:0}
    #contentMainWrapper{margin:auto}
    #headerWrapper{margin:0; padding:0; background-color:#26354a}
    #logoWrapper{background-color:#26354a; height:75px; margin:auto}
    #navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper{margin:auto}
    #navColumnOneWrapper, #navColumnTwoWrapper{margin-left:0; margin-right:0}
    #tagline{color:#26354a; font-size:2em; text-align:center; vertical-align:middle}
    #sendSpendWrapper{border:1px solid #cacaca; float:right; margin:0 0 1em 1em}
    .floatingBox, #accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper{margin:0; width:47%}
    .wrapperAttribsOptions{margin:0.3em 0}
    .navNextPrevCounter{margin:0; font-size:0.9em}
    .navNextPrevList{display:inline; white-space:nowrap; margin:0; padding:0.5em 0; list-style-type:none}
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper{margin:0; background-color:#fc0; height:26px}
    #navMainWrapper a{background-color:#fc0; color:#26354a}
    #navMainWrapper a:hover{background-color:#f60; color:#26354a}
    #navCatTabsWrapper{background-color:#26354a; color:#9a9a9a; background-image:inherit}
    #navMain ul, #navSupp ul, #navCatTabs ul{margin:0; padding:0 0; list-style-type:none; text-align:center}
    #navMain ul li, #navSupp ul li, #navCatTabs ul li{display:inline}
    #navMain ul li a, #navSupp ul li a, #navCatTabs ul li a{text-decoration:none; padding:0 0.5em; margin:0; background-color:#fc0; font-family:Arial,Helvetica,sans-serif; font-size:13px; line-height:16px; color:#000; white-space:nowrap}
    #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover{text-decoration:none; padding:0 0.5em; margin:0; background-color:#f60; font-family:Arial,Helvetica,sans-serif; font-size:13px; line-height:16px; color:#26354a; white-space:nowrap}
    #navCatTabs ul li a{color:#9a9a9a}
    #navEZPagesTOCWrapper{font-weight:bold; float:right; height:1%; border:1px solid #9a9a9a}
    #navEZPagesTOC ul{margin:0; padding:0.5em 0; list-style-type:none; line-height:1.5em}
    #navEZPagesTOC ul li{white-space:nowrap}
    #navEZPagesTOC ul li a{padding:0 0.5em; margin:0}
    #navCategoryIcon, .buttonRow, #indexProductListCatDescription{margin:0.5em}
    #navMainSearch{float:left}
    #navBreadCrumb{padding:0.5em 0.5em; background-color:#E6EBF0; font-size:13px; font-weight:bold; margin:0}
    #navEZPagesTop{margin:0; background-color:#fc0; height:24px}
    #navColumnOne{background-color:#E6EBF0; border-right:1px solid #ecf0f6}
    #navColumnTwo{background-color:#E6EBF0; border-left:1px solid #ecf0f6}
    #contentColumnMain, #navColumnOne, #navColumnTwo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .alert{vertical-align:top}
    #productDescription{padding:0.5em; float:left}
    .alert{color:#f00; margin-left:0.5em}
    .important{font-weight:bold}
    .gvBal{float:right}
    .centerColumn, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix{padding:0.8em}
    .smallText, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP{font-size:13px}
    #cartAdd{float:right; text-align:center; margin:1em 1em 1em 0; padding:1em; width:200px; height:150px}
    #productQuantityDiscounts{margin:1em}
    .tableHeading TH{border-bottom:1px solid #9a9a9a}
    .tableHeading, #cartSubTotal{background-color:#e9e9e9}
    #cse-search-results{width:200px; margin:0}
    #cartSubTotal{border-top:1px solid #ccc; 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 0}
    .cartUnitDisplay, .cartTotalDisplay{text-align:right; padding-right:0.2em}
    #scUpdateQuantity{width:2em}
    .cartQuantity{width:4.7em}
    .cartNewItem{color:#3c3; position:relative}
    .cartOldItem{color:#609; position:relative}
    .cartBoxTotal{text-align:right; font-weight:bold}
    .cartRemoveItemDisplay{width:3.5em}
    .cartAttribsList{margin-left:1em}
    #mediaManager{width:50%; margin:0.2em; padding:0.5em; background-color:#e4fef5; border:1px solid #003d00}
    .mediaTitle{float:left}
    .mediaTypeLink{float:right}
    .normalprice, .productSpecialPriceSale{text-decoration:line-through}
    .productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount{color:#f00}
    .orderHistList{margin:1em; padding:0.2em 0; list-style-type:none}
    #cartBoxListWrapper ul, #ezPageBoxList ul{list-style-type:none}
    #cartBoxListWrapper li, #ezPageBoxList li, .cartBoxTotal{margin:0; padding:0.2em 0}
    #cartBoxEmpty, #cartBoxVoucherBalance{font-weight:bold}
    .totalBox{width:5.5em; text-align:right; padding:0.2em}
    .lineTitle, .amount{text-align:right; padding:0.2em}
    .amount{width:5.5em}
    #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage{margin:0 1em 1em 0}
    #categoryIcon{display:none}
    .categoryIcon{display:none}
    #cartImage{margin:0.5em 1em}
    .attribImg{width:20%; margin:0.3em 0}
    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew{margin:1em 0}
    .centerBoxWrapper{border:1px solid #9a9a9a; height:1%; margin:1.1em 0}
    h2.centerBoxHeading{font-size:13px; color:#26354a}
    h3.leftBoxHeading, h3.leftBoxHeading a{font-size:13px; color:#26354a}
    h3.rightBoxHeading, h3.rightBoxHeading a{font-size:13px; color:#000}
    #manufacturersHeading, #currenciesHeading, #musicgenresHeading, #recordcompaniesHeading, #searchHeading, #search-headerHeading{font-size:13px; color:#26354a}
    .leftBoxHeading, .centerBoxHeading{margin:0; background-image:url(../images/sidebox-back.png); padding:0.5em 0.2em}
    .rightBoxHeading{margin:0; background-image:url(../images/sidebox-back.png); padding:0.5em 0.2em}
    .leftBoxContainer, .rightBoxContainer{border-top:1px solid #edf2fa; border-bottom:1px solid #d3deee; margin-top:0}
    h3.leftBoxHeading a:hover, h3.rightBoxHeading a:hover{color:#ff3; text-decoration:none}
    .rightBoxHeading a:visited, .leftBoxHeading a:visited, .centerBoxHeading a:visited{color:#f60}
    .centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #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:0 0 0 1.5em}
    #bestsellers ol{padding:0; margin-left:1.1em}
    #bestsellers li{padding:0; margin:0.3em 0 0.3em 0}
    #bannerboxHeading{background-color:#00c}
    #upProductsHeading{text-align:left}
    #upDateHeading{text-align:right}
    A.category-top, A.category-top:visited{color:#f60; text-decoration:none; font-weight:bold}
    A.category-links, A.category-links:visited{color:#f60; text-decoration:none; font-weight:bold}
    A.category-subs, A.category-products, A.category-subs:visited, A.category-products:visited{color:#f60; text-decoration:none; font-weight:bold}
    A.category-top:hover{color:#fc0; text-decoration:none; font-weight:bold}
    A.category-links:hover{color:#fc0; text-decoration:none; font-weight:bold}
    A.category-subs:hover, A.category-products:hover{color:#fc0; text-decoration:none; font-weight:bold}
    SPAN.category-subs-parent{font-weight:bold}
    SPAN.category-subs-selected{font-weight:bold}
    .back{float:left}
    .forward, #shoppingCartDefault #PPECbutton{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}
    .hiddenField{display:none}
    .visibleField{display:inline}
    #myAccountGen li, #myAccountNotify li{margin:0}
    .accountTotalDisplay, .accountTaxDisplay{width:20%; text-align:right}
    .accountQuantityDisplay{width:10%; vertical-align:top}
    TR.tableHeading{background-color:#cacaca; height:2em}
    .productListing-rowheading{margin:0; background-color:#fc0; height:24px; color:#000}
    #siteMapList{width:90%; float:right}
    .ratingRow{margin:1em 0 1.5em 0}
    LABEL#textAreaReviews{font-weight:normal; margin:1em 0}
    #popupShippingEstimator, #popupSearchHelp, #popupAdditionalImage, #popupImage, #popupCVVHelp, #popupCouponHelp, #popupAtrribsQuantityPricesHelp, #infoShoppingCart{background-color:#fff}
    .information{padding:10px 3px; line-height:150%}
    #shoppingcartBody #shippingEstimatorContent{clear:both}
    .seDisplayedAddressLabel{background-color:#85c285; text-align:center}
    .seDisplayedAddressInfo{text-transform:uppercase; text-align:center; font-weight:bold}
    #seShipTo{padding:0.2em}
    .productListing-data{border-top:1px solid #036; padding:0.9em 0 0.9em 0}
    #contactsidebox{margin:1.5em 0 0 0}
    #contactsideboxContent{font-weight:200; color:#26354a}
    so you think this is just a validator error, and nothing wrong with the site?

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Stylesheet being doubled

    No need to post the stylesheet - if we can see the site, we can see the stylesheet in a more convenient form than posting it here.
    My impression is that there is nothing wrong with your site.

 

 

Similar Threads

  1. v151 Product price doubled
    By Isabella in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 5 Mar 2013, 02:38 PM
  2. When using Firebug, which stylesheet is being referenced?
    By sofasurfer in forum General Questions
    Replies: 4
    Last Post: 7 May 2011, 06:44 PM
  3. Prices being doubled on a product
    By swefil in forum General Questions
    Replies: 5
    Last Post: 3 Aug 2010, 11:46 PM
  4. Attribute Pic Doubled?
    By megzo487 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 23 Nov 2009, 08:52 PM
  5. Doubled main URL
    By enzo-ita in forum General Questions
    Replies: 7
    Last Post: 30 Aug 2009, 05:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg