It's fixed. The problem was all CSS and I finally figured out with
Firebug how get it done.
.gsc-videoResult .gs-videoResult .gs-snippet
{
line-height:1.3em;
max-height:2.6em;
overflow: hidden;
width: 180px;
}
.gsc-videoResult .gs-videoResult .gs-title
{
height:1.3em;
line-height:1.3em;
overflow:hidden;
width: 180px;
}
The title was overflowing and it was a simple matter of applying the
width to gs-title, not gs-snippet.
Tom
On Apr 9, 2:38 pm, Jeremy Geerdes <[email protected]> wrote:
> What is your page's doctype? If you don't set a doctype, chances are
> that IE is running in quirks mode, which means that its box model is
> all goofy. That would be the first thing I checked. If that doesn't
> work, please provide a link so we can take a look and see what's going
> on!
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project
> quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://jgeerdes.wordpress.com
> [email protected]
>
> Unless otherwise noted, any price quotes contained within this
> communication are given in US dollars.
>
> If you're in the Des Moines, IA, area, check out Debra Heights
> Wesleyan Church!
>
> And check out my blog, Adventures in Web Development,
> athttp://jgeerdes.blogspot.com
> !
>
> On Apr 9, 2009, at 1:34 PM, forexturtle wrote:
>
>
>
> > Anyone know how to fix an overflow problem in Internet Explorer?
> > Anytime I get a title longer than the div width it displays outside of
> > the div boundaries. Firefox is fine. This only happens with IE.
>
> > My markup currently looks like:
>
> > .gsc-videoResult .gs-videoResult .gs-snippet
> > {
> > display: none;
> > line-height:1.3em;
> > max-height:2.6em;
> > overflow: hidden;
> > width: 289px;
> > }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---