I would suggest using a seperate style sheet. Keeping styles where
they belong (style sheet) makes the whole application/web site more
flexible and I'm not just talking about screen styles.

--
Brandon Aaron


On 10/22/06, David <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> There is a thought that's flowing through my head for a few days. At
> work I did a autocomplete plugin. To style the suggestbox and the
> content I used a variable to fill the style attribute. Then it hit me
> many plugins use css to style their added elements.
>
> My question is, why use static css if it is useless when javascript
> isn't enabled? Isn't it better practice to include the css styles in the
> javascript code to keep the css files as clean as possible?
>
> I hope to get some feedback on this so i can make an article out of it.
>
> David
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to