We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16702 ☆ A M B ☆
    • 536 Posts
    Hello,

    i have strange errors warnings:

    19 .poll_bar - In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
    29 .highslide-caption Same color for background-color and border-left-color
    29 .highslide-caption Same color for background-color and border-right-color
    29 .highslide-caption Same color for background-color and border-top-color
    52 Same colors for color and background-color in two contexts .highslide-loading and a.highslide-credits i
    52 Same colors for color and background-color in two contexts .highslide-loading and a.highslide-credits
    78 .controlbar a In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
    75 .col1 In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
    75 .col3 In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
    75 .col2 In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
    124 .txt In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
    136 .flags In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
    225 #button In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
    265 Same colors for color and background-color in two contexts .highslide-loading and .quotes
    338 Same colors for color and background-color in two contexts .poll_bar and .dd_1
    342 Same colors for color and background-color in two contexts .poll_bar and * html .dd_1
    369 Same colors for color and background-color in two contexts .threecol and #menu ul li.active ul li a
    369 Same colors for color and background-color in two contexts .threecol and #menu ul li ul li a
    369 Same colors for color and background-color in two contexts .vodachi and #menu ul li.active ul li a
    369 Same colors for color and background-color in two contexts .threecol and #menu ul li a
    369 Same colors for color and background-color in two contexts .highslide-caption and #menu ul li.active ul li a
    369 Same colors for color and background-color in two contexts .vodachi and #menu ul li ul li a
    369 Same colors for color and background-color in two contexts .highslide-caption and #menu ul li a
    369 Same colors for color and background-color in two contexts .vodachi and #menu ul li a
    369 Same colors for color and background-color in two contexts div#wrapper and #menu ul li.active ul li a
    369 Same colors for color and background-color in two contexts .highslide-caption and #menu ul li ul li a
    369 Same colors for color and background-color in two contexts div#wrapper and #menu ul li a
    369 Same colors for color and background-color in two contexts div#wrapper and #menu ul li ul li a
    490 #P1130373 In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected

    i dont understand this?!?
      palma non sine pulvere
      • 25663 MODX Staff
      • 12,272 Posts
      Aren’t they just warnings, not errors?
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 16702 ☆ A M B ☆
        • 536 Posts
        actually - yes...
        but i wish my code be "pure" huh
          palma non sine pulvere
          • 33997
          • 150 Posts
          Quote from: Kristalin at Mar 16, 2009, 02:47 PM

          Hello,

          i have strange errors warnings:

          19 .poll_bar - In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
          Try declaring a width for your floated objects; play around with EMs in a few browsers until you find the right setting, or if you are comfortable with static widths, then just set the width. That’ll take care of this.

          29 .highslide-caption Same color for background-color and border-left-color
          29 .highslide-caption Same color for background-color and border-right-color
          29 .highslide-caption Same color for background-color and border-top-color
          52 Same colors for color and background-color in two contexts .highslide-loading and a.highslide-credits i
          52 Same colors for color and background-color in two contexts .highslide-loading and a.highslide-credits
          Check your background-color and border-color to make sure they are different. If I remember correctly, you can even change them by one value, which won’t show up anymore. (i.e. #efffee to #efffef) Also, only changing one of the hex’s by one value shouldn’t show up differently.
          For the color and background-color, look into this and keep in mind the cascading effect. I believe you may get penalized by google if they think that your trying to hide text.

          78 .controlbar a In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
          75 .col1 In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
          75 .col3 In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
          75 .col2 In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
          124 .txt In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
          136 .flags In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
          225 #button In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected
          See above about declaring a width. This warning will ALWAYS show up if you have floated elements, and can result in bugs in IE. Try and make sure that you have extra space around all your floated elements, as IE (don’t remember if only 6 or also 7) adds 3px on each side of elements when floats are used, so to be safe I make sure there is at least 6px of undeclared space around floated elements, or add the space using IE only hacks (i.e. either * html .selector, or declaring the rule and then using the first child selector div>.selector)


          265 Same colors for color and background-color in two contexts .highslide-loading and .quotes
          338 Same colors for color and background-color in two contexts .poll_bar and .dd_1
          342 Same colors for color and background-color in two contexts .poll_bar and * html .dd_1
          369 Same colors for color and background-color in two contexts .threecol and #menu ul li.active ul li a
          369 Same colors for color and background-color in two contexts .threecol and #menu ul li ul li a
          369 Same colors for color and background-color in two contexts .vodachi and #menu ul li.active ul li a
          369 Same colors for color and background-color in two contexts .threecol and #menu ul li a
          369 Same colors for color and background-color in two contexts .highslide-caption and #menu ul li.active ul li a
          369 Same colors for color and background-color in two contexts .vodachi and #menu ul li ul li a
          369 Same colors for color and background-color in two contexts .highslide-caption and #menu ul li a
          369 Same colors for color and background-color in two contexts .vodachi and #menu ul li a
          369 Same colors for color and background-color in two contexts div#wrapper and #menu ul li.active ul li a
          369 Same colors for color and background-color in two contexts .highslide-caption and #menu ul li ul li a
          369 Same colors for color and background-color in two contexts div#wrapper and #menu ul li a
          369 Same colors for color and background-color in two contexts div#wrapper and #menu ul li ul li a
          490 #P1130373 In (x)HTML+CSS, floated elements need to have a width declared. Only elements with an intrinsic width (html, img, input, textarea, select, or object) are not affected

          i dont understand this?!?

          Again, see above. It is really all the same warning, just for different elements. It may take some playing around with, but you’ll get it.
            "Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein
            • 16702 ☆ A M B ☆
            • 536 Posts
            goonz, thanks!
            today i try to clean my css code...
            i thing with xHTML is moooooore easy for "pure" (in Strict doctype)
              palma non sine pulvere