[css-d] floating right in ie7 with hasLayout

2007-07-24 Thread cj
is there any way to un-hasLayout an element that has gained it?  if
not (and from what i've seen and read, there isn't), is there a way to
get around the trigger when it comes to floating elements?

my situation is almost exactly the same as the examples at
http://dev.l-c-n.com/IEW2-bugs/float-adjecant2.php except that i'm
using min-height instead of widths on mine to make sure a background
image doesn't get vertically cut off.  the makers of l-c-n didn't
offer any solutions that i could find.

any advice?
__
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/


Re: [css-d] floating right in ie7 with hasLayout

2007-07-24 Thread Philippe Wittenbergh

On Jul 24, 2007, at 11:14 PM, cj wrote:

 is there any way to un-hasLayout an element that has gained it?  if
 not (and from what i've seen and read, there isn't), is there a way to
 get around the trigger when it comes to floating elements?

 my situation is almost exactly the same as the examples at
 http://dev.l-c-n.com/IEW2-bugs/float-adjecant2.php except that i'm
 using min-height instead of widths on mine to make sure a background
 image doesn't get vertically cut off.  the makers of l-c-n didn't
 offer any solutions that i could find.
Short of removing the offending property (min-height in your case), no.

Ok, what about this: making sure that your element has enough content  
in order to show your background image ? Then you don't need the  
'hasLayout' trigger, min-height here.

  http://www.satzansatz.de/cssd/onhavinglayout.html#reset
lists _some_ ways to reset (un-Layout).
An article that makes the 'Divina Comedia' feel like a description of  
paradise.


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/


Re: [css-d] floating right in ie7 with hasLayout

2007-07-24 Thread cj
On 7/24/07, Philippe Wittenbergh [EMAIL PROTECTED] wrote:
 Ok, what about this: making sure that your element has enough content
 in order to show your background image ? Then you don't need the
 'hasLayout' trigger, min-height here.

for the default text size (at least on my computer - i haven't changed
it), the background image (an expand/collapse arrow) displays fine
without the min-height rule.  i coded my header sizes in em, but the
background image is (of course) in pixels, so as long as someone
viewing the page sees the header size as 15px or more, it's not an
issue.  i wanted to make sure people with smaller font sizes (or dpi,
or whatever) could still see the whole arrow though, which is why i
added the rule.


   http://www.satzansatz.de/cssd/onhavinglayout.html#reset
 lists _some_ ways to reset (un-Layout).

what makes your suggestion of this site so ironic is that that's where
i went to see what the ie7 hasLayout triggers were to confirm that one
of my rules was giving (or not giving) my header hasLayout.  obviously
i should have keep reading.  :p

in my case i'll just break the min-height rule for ie7 by overriding
the minimum i set in my for all browsers rule with an ie7-specific
auto.  in the rare case someone on ie7 will see a cutoff arrow,
they'll just have to live with it i guess.  fortunately i don't think
it will be a common situation at all.

thanks for the help philippe.  :)
__
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/