[ale] learning CSS

James P. Kinney III jkinney at localnetsolutions.com
Mon May 22 23:51:55 EDT 2006



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.
> 

-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list