[EMAIL PROTECTED] wrote:
> We do use CSS on our site.  This was a basic creation to show that it
> is the Vera Bradley syndication code causing the error.
> 
> Here is the original page: 
> http://www.junglejims.com/friends/jungle_jims_friends_jasmin_gift_shop.asp

Hi Jeff,

Presumably someone has already answered this; I'm finishing up a large
contract and have been tied up for a few days. I now have a ton of
emails to sift through which might include an answer to this from
another source.

Anyway, to fix the problem (on that page, at least), just add
"!important" to your style rule so that it over-rides the Vera Bradley
setting...like this:

body {
  background-color: #66CC66 !important;
  }

That oughtta fix 'er up...but read on...

Having re-reviewed your code, incidentally, I'm inclined to agree with
you: Vera Bradley is causing you some real problems. If you take a look
at the last line of their syndication javascript, you'll find this line:
<link href="[...edited for brevity...]/syndicatedstyle.css"
      rel="stylesheet" type="text/css" />
...which is then followed by a separate <style> block AND many of the
DOM elements they are creating (with innerHTML) ALSO have style set. Not
very nice to folks like yourself who'd like to be able to theme the
syndicated content to mesh well with the dynamic or static content of
your own site. They should be classing these elements and styling them
in a central style sheet/block. Be grateful you're not running a dark
site with light text...then you'd have real problems. ;)

As if that wasn't bad enough, there's no media assigned to either the
<link> or the <style> block. Oh, and there's an error in their
syndicatedstyle.css file (the dangling quote after background:white).

By my reckoning, the score is:
Jeff: 1
Vera: 0

Hope it helps.
--Bill



-- 
/**
 * Bill Brown
 * TheHolierGrail.com & MacNimble.com
 * From dot concept...to dot com...since 1999.
 ***********************************************/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to