[ale] learning CSS

William Witt william at witt-family.net
Tue May 23 10:53:23 EDT 2006


no, but IE pages do it all the time...

James P. Kinney III wrote:
> On Mon, 2006-05-22 at 23:22 -0400, William Witt wrote:
>   
>> This is what I've come up with for my content pane:
>>
>> div.contentpane {
>>             background-color: #ffffcc;
>>             position: absolute;
>>             top: 75px;
>>             height: expression(document.body.clientHeight - 75 + "px");
>>             bottom: 0;
>>             left: 100px;
>>             width: expression(document.body.clientWidth - 100 + "px");
>>             right: 0px;
>>             overflow: auto;
>>             padding-left: 75px;
>>             padding-right: 50px;
>>             padding-top: 50px;
>>             padding-bottom: 75px;     
>> }
>>
>> Firefox ignores the expression lines and IE ignores the bottom and right 
>> lines, so it all comes out in the wash.
>>     
>
> Hmm. I guess it's not good code practice to do a basic browser detect
> and redirect IE browsers to a "get Firefox" page.
>   
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale



More information about the Ale mailing list