On Fri, Sep 17, 2010 at 9:32 PM, Dilip Nagle <[email protected]> wrote: > *The Problem:* > > At present, I use following css to achieve above; This CSS is > then associated with gridview.header of the gridview > > <HeaderStyle CssClass="gvFixedHeader_Aqua" /> > > .gvFixedHeader_Aqua{position:relative; > > top:expression(this.parentNode.parentNode.parentNode.parentNode.scrollTop-1) > ; > > background-color: Aqua; > > color:Black; > > font-family:Arial; > > font-size: X-Small; > > font-weight: lighter; > > border : none; > > text-align:center; > height: 20px;} > > > *The Help Needed:* > > The *expression* is not css2 compliant. While, it still works in IE6 to 8, > what is the best alternative? > Use the expression, but in an external stylesheet targeted to the versions of IE which need it, called from a conditional comment. Everything the validator and non-IE browsers will see can be valid.
-- Richard Grevers, New Plymouth, New Zealand Dramatic Design www.dramatic.co.nz ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
