Title: css validates poorly
Last modified: August 18, 2016

---

# css validates poorly

 *  [4evrblu](https://wordpress.org/support/users/4evrblu/)
 * (@4evrblu)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/css-validates-poorly/)
 * I use an unusual code (they call it a IE invention—what else would you expect)
   in my css to force my delicious tags to break so that they show up properly in
   my right hand sidebar
 * here is the code:
 * `
    #delicious{ background-color:inherit; overflow: hidden; word-wrap:break-word;}
 * Now, according to CSS validation this is bogus, and yet it works in all my browsers.
 * Is there another way to impliment this? Would it work as an inline style and 
   validate?
 * MERRY CHRISTMAS EVERYONE!

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/css-validates-poorly/#post-494351)
 * If it’s specifically to force the world’s only broken browser to behave, just
   use a conditional….
 *  Thread Starter [4evrblu](https://wordpress.org/support/users/4evrblu/)
 * (@4evrblu)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/css-validates-poorly/#post-494376)
 * Well, that is a great suggestion, but it is not used for that reason. I never
   use IE. The problem began when I inserted Delicious. have a brief look at [http://totalphysiqueonline.com/](http://totalphysiqueonline.com/)
 * On the right side, toward the bottom, my Delicious tags were running off to the
   right and ducking behind the edge of the page so that you were seeing only half-
   words. I inserted
    `#delicious{ background-color:inherit; overflow: hidden; word-
   wrap:break-word; } so that the tags would break and do a forced carriage return
   of sorts so that a type of “justify:” would take place. Now all the words fit
   nicely in the column.
 * This approach worked in all my browsers. I use Safari, Opera, Mozilla, Fire Fopz
   and Camino.
 * I find it curious that for a style that does not exist, it sure seems to be recognized
   by a lot of browsers 🙂
 * I guess the question is this: is there a legal way to do this? Would using a 
   conditional be wise under the cisumstances?
 *  Thread Starter [4evrblu](https://wordpress.org/support/users/4evrblu/)
 * (@4evrblu)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/css-validates-poorly/#post-494381)
 * One other thing I would like to mention is that I infer from everything I have
   read so far that the word-wrap:break-word css style was invented for IE because
   IE is essentially “broken”. This suggests that IE was doing something that other
   browers were not, and therefore needed a hack.
 * However, the fact that ALL my browsers were not wrapping my delicious tags properly,
   coupled with the fact that this particular style fixed the issue, suggests that
   all other browers are broken in the same way as IE. I realize that is a stretch,
   but clearly the style is fixing something in these other browsers that is wrong:
   namely, the failure of these browers to handle narrow view perspectives by breaking
   words prpoerly in certain scenarios. I am inclined to leave the style in place,
   even though it will not validate.
 * I tried two other things: using an inline style with span tags, which worked 
   but did not validate. And I also tried setting the above external style to a 
   certain width, which did not work. Using a width did not force the delicious 
   tags to wrap. So it was back to the style again.
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/css-validates-poorly/#post-494384)
 * I used a technique I found here: [http://consumingexperience.blogspot.com/2006/12/delicious-tagometer-howto-manual-mode.html](http://consumingexperience.blogspot.com/2006/12/delicious-tagometer-howto-manual-mode.html)
 *  Thread Starter [4evrblu](https://wordpress.org/support/users/4evrblu/)
 * (@4evrblu)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/css-validates-poorly/#post-494388)
 * Hmmm…I implemented some of the suggestions in the cool tutorial above, but ran
   into the same issue. Some of the tags like “conservative” and “wordpress” just
   do not want to break or justify, and ebd up trailing off into the sunset, ducking
   behind the edge of the browser.
 * Hmmm
 *  Thread Starter [4evrblu](https://wordpress.org/support/users/4evrblu/)
 * (@4evrblu)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/css-validates-poorly/#post-494390)
 * Handy, I went to your blog!! Nice stuff! Is the “top 40 Topics” your delicious
   section? Or is that hand coded?
 * PS: I love Vince too. Charlie Brown Christmas is a great soundtrack. I have it.
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/css-validates-poorly/#post-494407)
 * Thanks. 🙂
 * Top 40 Topics is tags, via the UTW plugin.
 * I don’t have the del.icio.us thing on too many posts yet ([my plan](http://wordpress.org/support/topic/98236?replies=5)),
   but you can see it [here](http://www.solo-technology.com/blog/2005/12/23/quick-firefox-tweak-free-mem/)
 *  [improbulus](https://wordpress.org/support/users/improbulus/)
 * (@improbulus)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/css-validates-poorly/#post-494432)
 * 4evrblu, thanks for your comment on my post [http://consumingexperience.blogspot.com/2006/12/delicious-tagometer-howto-manual-mode.html](http://consumingexperience.blogspot.com/2006/12/delicious-tagometer-howto-manual-mode.html)
 * I’ve replied there, but I can’t think of anything beyond word-wrap or changing
   it to block (see my post which I’ve updated). However I’m really not a CSS expert
   so maybe someone else will have better ideas.
 * Cheers and happy holidays!
    Imp.
 *  Thread Starter [4evrblu](https://wordpress.org/support/users/4evrblu/)
 * (@4evrblu)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/css-validates-poorly/#post-494434)
 * Thank you for coming all this way to post a reply. That was very nice.
    🙂
 * I will go look at your post.
 * If I can apply the fix and get it to work, I will post the solution here.
 * Thanks again and Merry Christmas yourself!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘css validates poorly’ is closed to new replies.

## Tags

 * [word-break](https://wordpress.org/support/topic-tag/word-break/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 4 participants
 * Last reply from: [4evrblu](https://wordpress.org/support/users/4evrblu/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/css-validates-poorly/#post-494434)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
