Le May 20, 2012 à 11:19 AM, John a écrit : > I seem to have created widgets containing pic and text and which move as a > unit but am unable to fully control the type inside them. > I can control right and left padding, but not the top, unless I put in some > silly value like 100px.. > > Without the image in there, I seem to have a bit more control, so that points > a finger at my image code, but varying that doesn't get me what I'm after > either. Clearly something is affecting it but I am not seeing it. > > Any thoughts on this? Link to what I'm talking about is: > http://coffeeonmars.com/testing/images.html
Any reason why you are floating the image ? Because that is your 'problem' – the padding on the subsequent block of text (p.widge) slides under the image. That is the expected behaviour. Solutions: don't float the image, or add a 'clear:left' to p.widge -- Philippe Wittenbergh http://l-c-n.com ______________________________________________________________________ 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/