From: "Gabriele Romanato" <gabriele.roman...@gmail.com> To: "css-discuss" <css-d@lists.css-discuss.org> Sent: Thursday, January 07, 2010 10:42 PM Subject: [css-d] Why JavaScript and CSS can work well together
> Eric Meyer once said: "JavaScript will save us all". > I started to effectively work with JavaScript almost a year ago, when I > discovered the powerful features of jQuery and the DOM. > I have to say that JavaScript and CSS can work well together, especially > when dealing with browsers inconsistencies and automating some repetitive > tasks. Did you know, for example, that with jQuery you can automatically > clear floats without manually adding the infamous .clearfix class? > Of course I'm talking about unobtrusive JavaScript, but you get the idea. > Sometimes on this list I see people who try to fix some problems with long > and tedious CSS procedures that could be easily solved with a single > JavaScript > statement... and in a cross-browser way! Even if you were right, this is a CSS mailing list. Clearing floats can be done very simply. What you are saying, unfortunately, makes no sense - which I say for the benefit of beginners who might otherwise take your opinions to heart. -- Al Sparber - PVII http://www.projectseven.com Dreamweaver Menus | Galleries | Widgets http://www.projectseven.com/go/hgm The Ultimate Web 2.0 Carousel ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/