On 17/08/2015 18:44, Tom Livingston wrote:
On Mon, Aug 17, 2015 at 1:09 PM, Tim Dawson <t...@ramasaig.com> wrote:
On 17/08/2015 17:03, Tom Livingston wrote:
On Mon, Aug 17, 2015 at 11:16 AM, Tom Livingston <tom...@gmail.com> wrote:
I thought I'd made some progress on this, by setting the dimensions
directly
in the iframe (as I seem to have done on holidaymull.co.uk). I can make
it a
bit wider, but I still cannot get it to fill the space available. Is
Facebook applying some hidden upper limit to the width of the iframe, I
wonder?
Tim
This *seems* to work for me in FF:
.quadrant .feedbox #facebook div div div div{
width:100%!important;
}
Maybe not. Can't get it to work again. The div that is selecting has
an inline style. changing that in the inspector - to 100% - works.
It's a matter of hitting it through the sheet. Gonna need to use
!important to over-ride the inline style.
Thanks, Tom.
I have not managed to get it to work yet (in Firefox). The element with
id='facebook' seems to me to be some HTML inside the link; as you say, it's
a matter of hitting a div deeper inside.
How did you determine how many div elements to include (trial and error,
perhaps). I'll keep working on it.
In the inspector. See attached.
Yes, I see it now, thanks. I wasn't getting that expanded view before (not sure
why).
I still don't seem able to reach that div via my CSS. However, adding a 'width=500' attribute to
the iframe statement does make it wider (without any extra CSS), and the width for that div as
seen in Inspector goes up to 500px. I can't get it to go further (i.e. 'width=1000' has no
further effect). Maybe there's a max-width statement somewhere, I'll look for that next.
I've uploaded the change: http://holidaymullandiona.com This is ONLY a change to the iFrame
statement, which is now:
<div class='feedbox'>
<iframe id='fb'
src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fholidaymull&colorscheme=light&show_faces=true&border_color&stream=true&header=true&height=435&width=500"
scrolling="yes" style="border:none; width:100%; height:360px; background: white; float:left; "
allowtransparency="true" frameborder="0">
</iframe>
</div><!-- /.feedbox -->
Tim
--
Tim Dawson
Maolbhuidhe
Fionnphort
Isle of Mull PA66 6BP
01681 700718
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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/