Re: [css-d] controlling type inside widgets

2012-05-20 Thread Philippe Wittenbergh

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/


Re: [css-d] controlling type inside widgets

2012-05-20 Thread John

On May 20, 2012, at 2:37 AM, Philippe Wittenbergh wrote:

 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

Floating that image was the only thing I tried that made those widgets line up 
horizontally, not vertically. I did elimination experiments and the widget div 
was the culprit (it appeared to me) and tossing in float made them line up 
horizontally.

Wrong as that solution is, that is how I arrived at it.

I can add a 'clear:left' to p.widge as you suggest.

Thank you, Philippe.


John
__
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/


[css-d] controlling type inside widgets

2012-05-19 Thread John
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

thank you!

John
__
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/