http://qs1969.pair.com?node_id=337406


in reply to CSS back into HTML

so that CSS files ... are not required anymore

Out of curiosity, why do you want to do this. From my readings and observations, having the CSS in a seperate file is a big plus. The CSS file will be cached by the browser. The caching can result in significant bandwidth savings. I would be interested in hearing the reasons for bringing it back into the HTML file.

Thanks.

-derby

Replies are listed 'Best First'.
Re: Re: CSS back into HTML
by waswas-fng (Curate) on Mar 17, 2004 at 17:09 UTC
    Another few advantages are centralized presentation definitions -- make a change in one place to update the entire site. importing CSS to the html source seems very very silly to me.


    -Waswas
      I'm not sure I'm interpretting you correctly, but if you're trying to put styling back into the HTML tags, you're not going to be able to keep the browser-specific stuff. Can you give us more information about what your end goal is? There's always more than one way to do it.