Le 16 juin 2014 à 10:05, Tom Livingston <[email protected]> a écrit :
> List,
>
> Can't post a link right now so bear with me...
>
> Given:
>
> <div class="leftcol clear">
> <div class="cta-wrap"></div>
> <div class="dots vert left"><br></div>
> <div class="facebook-widget"><p>Facebook</p></div>
> </div>
>
> .cta-wrap and .dots are float left
> .facebook-widget is float right
> .leftcol has clearfix applied
>
> I have .dots set as height 100% - which should be 100% the height of
> .leftcol, thing is, I can't define a height on .leftcol (fluid layout
> and .cta-wrap has a scaling image) so .dots isn't rendering height
> 100%.
>
> Is there a simple way to get .dots to render height 100%
Does .dots contain something that contribute to the height of .leftcol?
This is a possible solution:
.leftcol { position: relative; }
.dots { position: absolute; top: 0; bottom: 0; }
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/