From: Randall W. <rh...@ma...> - 2002-10-12 20:34:38
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I would not like to see a large number of nearly identical .css files. I do, however, have a suggestion concerning how to handle style sheets: 1) Have PHPWS parse the default style sheet. 2) Have PHPWS merge any browser-specific style sheet that may exist into the default style sheet, where the browser specific style sheet overrides the default. 3) Include the style sheet in the XHTML code using a <style></style> element, rather than linking it with a <link/> element. While embedding this increases the bandwidth used, not all browsers can merge multiple style sheets included in <link/> elements correctly. There is a fun problem with Gecko (Mozilla) based browsers: Since they do not all ID themselves as Mozilla/Netscape, does each Gecko browser require a separate style sheet, or do they wind up with a "default" style sheet that is weak so is not to break some other lowest-common-denominator browser? Browsers that had trouble with a relative URL in a style sheet may have been following correct standards: The CSS standards require that a relative URL in a style sheet be relative to the style sheet's URL, not to the HTML document's URL. Do we want to encourage PHPWS websites that include "best viewed with [some browser]" statements (like the 4.x browsers from major vendors did) or do we want to stick to supporting standards-based browsers? - -- Randall Wood rh...@ma... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (Darwin) iD4DBQE9pdrl/vw8n6FGbYcRAu/PAKCkAu1ZNyVYcktGhPB+v0dkFb94KACXTogz cUdEcqQG6jdn12brk4WQQQ== =IS2P -----END PGP SIGNATURE----- |