On Jan 30, 2007, at 6:40 AM, Tribou, Eric wrote:

> Anyone using floated layouts have any tricks to share regarding the  
> use of images or other objects within your floats that go wider  
> than the float allows? That seems to be my biggest problem; things  
> like images are thrown into columns that get too narrow and force  
> columns to drop/wrap.
>
> I've used some tricks like negative right margins on images to fake  
> their width to 0 or setting an image as the background to a 100%  
> wide DIV. Hopefully there are tricks out there I'm just not aware  
> of. Any suggestions you might offer would be appreciated.

No one-size-fits-it-all answers, I think. Context ? Browsers ?
The already mentioned 'max-width:96%' can help for browsers that  
support it (although those browsers have less problems with what you  
describe).
For iExploder 6 and lower, a well placed 'overflow-x:hidden' [1] can  
save the day. It might need a 'width' (layout-trigger) to go width it.

[1] best on the most direct parent of the image.
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to