Thanks all, this is good. I was actually doing some of the conditionals the right way, but this helps, confirms.
http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp Tyson Tate wrote: >Conditional comments are your friend: > >http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp > >Using hacks and JS are surefire ways to make your code break in some >browsers and crumble in the future. > >Regards, >Tyson Tate > >-- >Tyson Tate >* Graphic Designer, CalPoly Library >* Assistant Librarian & Member, Mustang Band >* Team Member, CalPoly Triathlon Team >* Webmaster & Active, Kappa Kappa Psi >* Editor, Entropy Magazine >* Freelance Graphic Designer > > >On Feb 4, 2006, at 7:21 AM, [EMAIL PROTECTED] wrote: > > > >>What is the best (correct perhaps) way to place if/else clauses in >>CSS? >>For instance, if IE - do this, else .... >> >>I currently use a javascript test to check for which browser, and >>if IE >>add the relevant CSS. Seems inefficient. Is this a better option >>that >>can be contained within the stylesheet? >> >>Bob >> >> > >______________________________________________________________________ >css-discuss [EMAIL PROTECTED] >http://www.css-discuss.org/mailman/listinfo/css-d >IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 >List wiki/FAQ -- http://css-discuss.incutio.com/ >Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > > > > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
