I'm trying to make a poor-man's CMS to avoid using stuff like Plone, Mambo, etc. (In other words, I'm trying to use Apache without extra crud on the server.)
You'll notice CMS's tend to show JPEGs, standard headers, standard footers, etc. on ALL HTML files displayed. This is pretty cool and was the motivation for my question. I agree that people can override system-wide CSS stuff but even then CMS's still manage to show some stuff in the browswer nevertheless. Chris On Mon, Oct 31, 2005 at 01:10:36PM -0800, Michael O'Keefe wrote: > Stewart Stremler wrote: > >begin quoting Michael O'Keefe as of Mon, Oct 31, 2005 at 12:37:23PM -0800: > >[snip] > > > >>Now if your CSS is not inline in your HTML (and is a seperate download) > >>then if you don't have it in the same "relative" path as your HTML as > >>you would find it on the filesystem (becoz files and directories can be > >>mapped to different locations in Apache's configuration files) then > >>you'll have to use a symlink farm so your browser can find them on the > >>filesystem, just the same. > > > > > >I was under the impression that CSS in the document was just a > >suggestion and that the user could override this suggestion and say "No, > >I want to use _that_ CSS over there instead." > > > >Separation of presentation from content is only useful if you can > >actually then *change* the presentation component. Otherwise, it's just > >using two data files instead of one. > > That's right. Most ppl seem to embed their CSS in their HTML, so to > "replace it" you'd have to take all the CSS definitions out and put them > in that other file, then tell your browser "don't use the embedded one, > use that one over there" > It makes it a little easier for you to modify the CSS if it is actually > another file DL'd by the browser, coz then you can wget it yourself and > modify as you see fit, rather than ripping it out of the HTML source > > > -- > Michael O'Keefe | [EMAIL PROTECTED] > Live on and Ride a 03 BMW F650GSDakar| [EMAIL PROTECTED] / | > I like less more or less less than |Work:+1 858 845 3514 / | > more. UNIX-live it,love it,fork() it |Fax :+1 858 845 2652 /_p_| > My views are MINE ALONE, blah, blah, |Home:+1 760 788 1296 \`O'| > blah, yackety yack - don't come back |Fax :+1 858 _/_\|_, > > > -- > [email protected] > http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list > -- _______________________________________ Christian Seberino, Ph.D. SPAWAR Systems Center San Diego Code 2872 49258 Mills Street, Room 158 San Diego, CA 92152-5385 U.S.A. Phone: (619) 553-9973 Fax : (619) 553-6521 Email: [EMAIL PROTECTED] _______________________________________ -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
