Hi,
Recently I decided to use jquery to design few HTML pages. I have
moderate experience with html design.

I am facing dilemma, how to design CSS layout.
>From my point of view, in CSS file, u can define a. Styles attributes
and b. Selectors where that styles get applied too.
I have two patterns here.
1. I just define class definitions in CSS file and let jquery addClass
on document.load()
2. I define CSS styles + element selectors in CSS file and use JQuery
only for handing events / possible add+remove class as needed.

Which model would be more elegant and extensible? Any links or
suggestions would be appreciated.
I want to keep things simple, even if it involved few extra lines of
code.

Reply via email to