[WSG] Trimming the fat from CSS

2004-04-15 Thread Nick Lo
Does everyone else on the list do this? For the sake of 11k that is cached on the first page load it seems a little drastic. I do programming work as well as markup and the indentation/formatting of the code is very important in producing readable code. If it was only me looking at the CSS

Re: [WSG] Constructive Criticism please

2004-04-15 Thread Hugh Todd
theGrafixGuy said, You do not need the ; after the last attribute in each style I know this is technically true (browsers will accept it) but I understood that good coding practice is to put the semicolon even after the last attribute. Anyone else know anything about this? -Hugh Todd

RE: [WSG] Trimming the fat from CSS

2004-04-15 Thread Lindsay Evans
Any web server worth it's salt will gzip compress static files, which makes trimming all the whitespace a bit pointless. Ditto with any crazy-assed class naming scheme you come up with to make things smaller. I learnt most of what I know about HTML, CSS JS from viewing the source of pages that

Re: [WSG] Trimming the fat from CSS

2004-04-15 Thread Nick Lo
Yeah pretty well what I was thinking I mean in practice CSS files are often shared and the very process of using CSS based layouts v's tables already trims a huge load off the page size anyway. It just seemed almost scarily ...thorough... to be trimming the stylesheet in this way as well.

Re: [WSG] Trimming the fat from CSS

2004-04-15 Thread Leo J. O'Campo
Nick You know what they say... there's anal and then there's anal ;-). I've been programming most of my life and can never figure out these guys that do this. They'll shrink every K they can find white and comments too. But they usually are the same ones that make all the syntax errors and

Re: [WSG] Trimming the fat from CSS

2004-04-15 Thread Leo J. O'Campo
Jason An even better question is : What kind of irony is it when someone who joins an open standards group considers practicing such anti-open-standards technique? ;-) Leo On Thursday, April 15, 2004, at 02:34 AM, Jason Turnbull wrote: Nick Lo wrote: Does everyone else on the list do this?

RE: [WSG] Trimming the fat from CSS

2004-04-15 Thread theGrafixGuy
I happen to be one of those people and I can say that the practice is under utilized by the programming industry as a whole. And I am neither anal nor ANAL, it is simply the method of coding I like to use once I have a page developed to a point I no I will only be touching it up here and there.

RE: [WSG] Constructive Criticism please

2004-04-15 Thread theGrafixGuy
Show me an instance where the last semi-colon missing on the last style attribute broke something in ANY modern browser. Good coding practice? Phooey - its a wasteful practice. I suppose CSS shorthand is not good coding practice either. Brian -Original Message- From: Leo J. O'Campo

Re: [WSG] Trimming the fat from CSS

2004-04-15 Thread Leo J. O'Campo
On Thursday, April 15, 2004, at 03:20 AM, theGrafixGuy wrote: I HATE bloat You know Brian, for a person who hates bloat, you sure are full of it. ;-) lol Leo * The discussion list for http://webstandardsgroup.org/ See

RE: [WSG] Constructive Criticism please

2004-04-15 Thread theGrafixGuy
LOL - what good is paper in space - get rid of it! Use a PDA with LiIon batteries as they are a few ounces lighter than NiCAD or alkaline ;-) and replace the solid plastic pen/pointer with a ultralight hollow carbon fiber replacement weighing much less and costing 1000x as much - also replace the

Re: [WSG] Constructive Criticism please

2004-04-15 Thread Jackie Reid
Kay said What I would do in your situation is hide the css from Netscape 4 completely by using either the media=all attribute on your link tag, or @@import syntax. I actually dont really understand that stuff *cringe with embarrasment* I know i read up on it at some stage but as usual can't

Re: [WSG] Trimming the fat from CSS

2004-04-15 Thread Nick Lo
Hi Brian, You seem to be getting jumped on a bit for this and I'd say it's largely a matter of preference so a little pointless to go on at length about. However, you are inviting comment by saying bloat and that is all the stuff that makes code pretty and easily readable by inexperienced

RE: [WSG] Constructive Criticism please - NOW IN DISCUSSION

2004-04-15 Thread Lindsay Evans
Folks, Discussion of coding practices is all well good, but I think it's getting a bit off topic. If you'd like to continue the discussion, I've setup a thread in the discussion room for it: http://discuss.webstandardsgroup.org/archives/13.htm Please post any further comments there.

Re: [WSG] Constructive Criticism please

2004-04-15 Thread Kay Smoljak
Ben Smith said: To Kay: how do you eliminate the whitespace that CF processing adds? I could never figure out an easy way to do it reliably.. Well, I use Fusebox, so all my non-display code is tucked away into cfinclude files with cfsilent tags applied liberally. While I know that a few bytes

RE: [WSG] Trimming the fat from CSS

2004-04-15 Thread theGrafixGuy
I have been accused of that and worse ;-) You should hear what the wife says :-) Brian -Original Message- From: Leo J. O'Campo [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 12:31 AM To: [EMAIL PROTECTED] Subject: Re: [WSG] Trimming the fat from CSS On Thursday, April 15,

Re: [WSG] Trimming the fat from CSS

2004-04-15 Thread Jackie Reid
Wow.. this is fun... Im really glad i opened up this little can of worms, the list had really been a bit too quiet for my liking today. ;o) But to Brian... you made me think about the size of the css and I have done some of what you said but not all..and even if the code is not absolutely bare

Re: [WSG] Trimming the fat from CSS

2004-04-15 Thread Kay Smoljak
Lea de Groot said: On Thu, 15 Apr 2004 16:06:43 +1000, Nick Lo wrote: Does everyone else on the list do this? Mmmm.. not fanatically, but, well, there is a place for everything. The very fact that we are on this list means that our level of fanaticism is somewhat higher than the norm.

Re: [WSG] Trimming the fat from CSS

2004-04-15 Thread Chris Bentley
Hugh, I always put in the trailing semicolon and would ask that this practice be adopted by any team I work in even though it is not required. When I wasn't particular about putting it in, I found that when the CSS was later edited by either myself or other maintainers that inevitably a bug

[WSG] Drop down blues ....

2004-04-15 Thread Martin Stender
Hi all, I've almost done with a small site for a client. Of course, I had to choose xhtml 1.1, just to challenge myself, so that obviously imposes some restrictions. But I have a problem with IE 6 (yes, really ... :-), where the dropdown - done with an unordered list - initially works, then

[WSG] Form submission: CAPTCHA test and accessibility

2004-04-15 Thread Nick Lo
I was wondering if any of you had opinions/thoughts on the use of CAPTCHA tests (or whatever proper name is given to the little numbered images used to verify a form submitting user is human and not a spamming machine). They are obviously a reaction to the ever increasing amounts of spam

[WSG] Re: CAPTCHA test and accessibility

2004-04-15 Thread Andrew Sione Taumoefolau
Warning signs go off in my head whenever I encounted CAPTCHA tests on the web, and they scream: developer laziness! The user should only be explicitly involved in the anti-spam process when anti-flooding measures, spam-filters, Bayesian analysis, human editors (god forbid! :) and whatever other

Re: [WSG] Preformatted text troubles

2004-04-15 Thread Andrew Sione Taumoefolau
I was just wondering: is there was any way to instruct user agents to treat text as preformatted, but to also have that same text break lines to fill line boxes? I think this used to be achieved by using the wrap attribute of the pre tag (with wrap and nowrap as values, I think?), but I'm