Published in: CSS
Javascript expression in css to allow for min/max widths. replaces the min-width, max-width that works for IE6.
#content { height: 75px; background-color: #000; color: #fff; width: expression(document.body.clientWidth < 742? "740px" : document.body.clientWidth > 1202? "1200px" : "auto"); min-width: 740px; max-width: 1200px; }
You need to login to post a comment.
