[Javascript] chaning CSS properties

Abyss - Information Info at Abyss.ws
Wed Nov 15 03:03:20 CST 2006


Thank you for your response..
Abyss
  ----- Original Message ----- 
  From: Aaron Bassett 
  To: [JavaScript List] 
  Sent: Tuesday, November 14, 2006 10:07 PM
  Subject: Re: [Javascript] chaning CSS properties


  IMHO you really should be modifying the elements class. 
  Same as you shouldn't be inserting CSS within your markup using the style attribute you shouldnt be mixing it in to your javascript




  On 11/14/06, Abyss - Information <Info at abyss.ws> wrote:
    Hi,

    Could someone please suggest what would be a "best practice" for chaning css properties?

    eg?

    If i had a background image and wanted to change that depending on the screen resolution, would it be wise to change it in a class? or in a propertie itself?

    Regards
    Abyss

    _______________________________________________
    Javascript mailing list
    Javascript at LaTech.edu
    https://lists.LaTech.edu/mailman/listinfo/javascript







------------------------------------------------------------------------------


  _______________________________________________
  Javascript mailing list
  Javascript at LaTech.edu
  https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20061115/ed74e84f/attachment.htm>


More information about the Javascript mailing list