Results 1 to 10 of 28

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Posts
    141
    Plugin Contributions
    0

    Default CSS Errors in FireFox Web Developer

    I am trying to get rid of all those little pesky errors in the FireFox Web Developer CSS Error Console. I have the following "warning".

    Warning: Error in parsing value for property 'width'. Declaration dropped.
    Source File: "http://www.sweetzouzou.com/index.php?main_page=product_info&cPath=cPath=81&products_id=205"
    Line: 0

    But this warning shows up on every page at least 3 times. Since there is no file referenced, how do I track it down?

    Thx Sweet

  2. #2
    Join Date
    Nov 2007
    Posts
    141
    Plugin Contributions
    0

    Default Re: CSS Errors in FireFox Web Developer

    Still working on this one. I have four (4) "css warnings" from the firefox error console. HTML validator is all clear (green check mark).

    "Error in parsing value for property "width". Declaration dropped."

    These warnings are located on the main page with no indication as to which file or code to fix. I viewed and searched the page source and found six (6) width callouts as follows. Can anyone see anything wrong with this code?

    <div id="logo"><a href="http://www.sweetzouzou.com/"><img src="images/SweetZouZou/SweetZouZou.gif" alt="" width="441" height="142" /></a></div>

    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">

    <td id="navColumnOne" class="columnLeft" style="width: 180">

    <div id="navColumnOneWrapper" style="width: 180"><!--// bof: categorylistbox //-->

    <div class="leftBoxContainer" id="categorylistbox" style="width: 180">

    <div class="leftBoxContainer" id="editablesidebox" style="width: 180">

    Thx Sweet

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: CSS Errors in FireFox Web Developer

    Not sure about using the method you did but the FF Addon "Firebug" is a treat.

    Tells me your problem is here:

    http://www.sweetzouzou.com/includes/...stylesheet.css

    /**
    * 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_new.css nifty_zen v1.5 2006-09-06 jettrue $
    */

    * {
    margin:0;
    padding:0;
    }


    body {


    And, although not technically an error, might want to remove this as well for clarity:

    http://www.sweetzouzou.com/includes/...ories_menu.css

    body {
    /*behavior: url(./csshover.htc); WinIE behavior call */
    }

  4. #4
    Join Date
    Nov 2007
    Posts
    141
    Plugin Contributions
    0

    Default Re: CSS Errors in FireFox Web Developer

    Thanks for checking Rob. I have firebug as well but couldn't figure out how to find this problem.

    I removed *{margin:0; padding:0;} from the stylesheet but this code is controlling the vertical location of the navMainWrapper tabs ("Log Off" "My Account" etc.) so I put it back.

    I removed the other bit of code, but as you know it was commented out so it didn't change anything.

  5. #5
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: CSS Errors in FireFox Web Developer

    simply put px after 0, like 0px, that should solve the "unit error"
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #6
    Join Date
    Nov 2007
    Posts
    141
    Plugin Contributions
    0

    Default Re: CSS Errors in FireFox Web Developer

    Thx yellow for the comment.

    Adding px after the 0 added another CSS parsing warning. I think the *{margin:0; padding:0;} code is just fine the way it written.

    The CSS error I am fighting has to do with a "width" callout (see above post #2) on every page. There is a cpl more CSS parsing warnings, but I figured to tackle them 1 at a time.

 

 

Similar Threads

  1. Firefox downloaded but I can't download Web Developer
    By AllofUs in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Aug 2008, 04:22 AM
  2. Help with Firefox web developer
    By laurieudy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Oct 2007, 01:06 AM
  3. Editing CSS with Firefox Web Developer Tool Kit
    By Brent in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 19 Oct 2006, 08:39 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