On Jun 2, 2011, at 1:35 PM, Keith Purtell wrote: > As an experiment, I've installed an Amazon widget called an Omakase on > my site pages. (I've found Amazon to be the most likely place to find > the books and music discussed on my site.) The JavaScript in it "talks" > to the Amazon servers, somehow collecting the page topic and generating > a small horizontal box which contains two links to other items by the > same author/musician/whatever. The problem is the text size. For some > reason, Amazon's text is showing up too large inside the box, at least > with the browsers I've tried. I posted to the "Amazon associates" forum, > and someone with more experience showed me the selector Amazon is using > in their style sheets to control text size. He suggested I include it in > my style sheet as well with a size change, based on the theory that this > would somehow force the font size to obey. Didn't work. I can see > Amazon's remote code via Firebug, but I can't figure out if my local > style sheet is interfering with theirs, or what to do about it. > > Here's a link to one of the pages using the Amazon link... > http://www.keithpurtell.com/kthings/robert-fripp.htm
that amazon stuff is displayed inside and iframe whose height is locked at a height of 60px. Inside the iframe, the amazon stylesheet locks the height of a div on their page to 58px. Unfortunately for you, there is nothing you can do about it, other than complaining to Amazon that their code s****. Your sites stylesheets can't affect what is inside an iframe. And of course, with a minimum font-size set, it is much worse, as your screenshot illustrates. There are 5 lines of text in the code, I can only see 3. Philippe -- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ 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/
