From: "Christian Montoya" <[EMAIL PROTECTED]>
To: "CSS-D" <css-d@lists.css-discuss.org>
Sent: Tuesday, November 29, 2005 12:54 AM
Subject: Re: [css-d] Float containment problem in IE/Win


> Are you guys saying you would prefer a javascript solution + invalid
> css to my pure css solution, which could be hidden behind 
> conditional
> comments to eliminate hacks?
>
> http://christianmontoya.com/examples/float-contain.html


I wasn't saying anything, but since you asked, I have to admit that if 
the following use of CSS were embraced as normal, then CSS is simply 
not a logical way to style web pages - in my opinion.

* html #contain { padding-left:675px; }
* html #inside { margin-left:-675px; position:relative; }
/*\*/
* html #contain, * html #inside, * html #layout {
 height: 1px;
}

Hiding from IE Windows is logical because that browser is, by all 
rational measure, the de facto standard. That it has features, 
proprietary though they might be, such as Conditional Comments and 
Expressions, is a Godsend - but perhaps only to people who think a 
certain way :-)

Your solution works - though I'd never be able to use CSS that way. 
Perhaps some folks will find it useful. "One man's junk can be another 
man's treasure" :-)

Al Sparber
PVII
http://www.projectseven.com

"Designing with CSS is sometimes like barreling down a crumbling 
mountain road at 90 miles per hour secure in the knowledge that 
repairs are scheduled for next Tuesday".




______________________________________________________________________
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/

Reply via email to