Re: [css-d] can this behavior be beaten out of IE

2005-12-16 Thread Gunlaug Sørtun
Lori K. Brown wrote:
 Is there any way to get IE6 to honor the css attribute 'min-width',
 or a way to script, hack or cheat some version of it?

I use a mode-independent IE-expression...
http://www.gunlaug.no/contents/wd_1_02_01.html#item34
...that will make IE5+/IE6 on win. act as you want.

Al Sparber presented what looked like a more compact solution on this
list a week or two ago, which does the same. Check list-archives.

regards
Georg
-- 
http://www.gunlaug.no
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] can this behavior be beaten out of IE

2005-12-16 Thread Michael Hulse
On Dec 16, 2005, at 12:09 AM, Gunlaug Sørtun wrote:
 Al Sparber presented what looked like a more compact solution on this
 list a week or two ago, which does the same. Check list-archives.

On Dec 2, 2005, at 4:43 AM, Al Sparber wrote:
 As a point of information, we've had this page floating around a long 
 time:
 http://www.projectseven.com/csslab/testing/minmax/cssp5.htm

 All of the expression solutions we write work in strict mode. Most are
 descendant from solutions we pack with custom products but are useful
 in their own right. Poke around some of our PagePack demos and other
 gems can be found :-)

Thanks again Al for the link.  :)

My only prob with above technique is that IE/Mac ignores the script.

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] can this behavior be beaten out of IE

2005-12-16 Thread Pringle, Ron

 On Dec 16, 2005, at 12:09 AM, Gunlaug Sørtun wrote:
  Al Sparber presented what looked like a more compact 
 solution on this
  list a week or two ago, which does the same. Check list-archives.

 On Dec 2, 2005, at 4:43 AM, Al Sparber wrote:
  As a point of information, we've had this page floating 
 around a long 
  time:
  http://www.projectseven.com/csslab/testing/minmax/cssp5.htm
 
  All of the expression solutions we write work in strict 
 mode. Most are
  descendant from solutions we pack with custom products but 
 are useful
  in their own right. Poke around some of our PagePack 
 demos and other
  gems can be found :-)
 
 Thanks again Al for the link.  :)
 
 My only prob with above technique is that IE/Mac ignores the script.

You could also try a css only solution as put forth by Stu Nicholls, but it
is kind of tricky, and in my personal experience, ended up causing more
problems than it was worth, which is why I ended up switching to the PVII
Javascript for my site.

Ron

[0] http://www.cssplay.co.uk/boxes/minwidth.html
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] can this behavior be beaten out of IE

2005-12-15 Thread Lori K. Brown
Dear Listers:

Is there any way to get IE6 to honor the css attribute 'min-width', or a 
way to script, hack or cheat some version of it?

Context? I'm working on a layout that has three small content blocks 
that should sit next to each other.


|  block 1 single line  |  block 2 single line  | block 3 single line  |


Each block is a single line. I don't want the contents of the blocks to 
wrap. And I don't want the blocks themselves to shift to stack one 
underneath the other when the browser window is narrow. In real 
browsers, I can set a minimum width on the outermost containing div that 
more or less solves all of the above. But what the heck do I do with IE? 
I can solve this problem with a table in minutes, but I haven't been 
able to solve it with floated divs in probably 6 hours of work.

Thanks in advance for your assistance.

Lori Brown

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] can this behavior be beaten out of IE

2005-12-15 Thread Rob Agar
hi Lori

 Is there any way to get IE6 to honor the css attribute 
 'min-width', or a 
 way to script, hack or cheat some version of it?

As it happens, I was reading* about a way of doing this yesterday.  The
trick was to use a javascript expression in the css, which IE apparently
supports.

e.g

#container {
  min-width: 600px;
  width:expression(document.body.clientWidth  600? 600px: auto );
}

I've not tried it in anger, so YMMV.

Rob

*http://www.webcredible.co.uk/user-friendly-resources/css/more-css-trick
s.shtml, tip #3

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/