Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: CSS back into HTML

by derby (Abbot)
on Mar 17, 2004 at 16:51 UTC ( #337406=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://337406]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2020-12-01 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?