Andy Budd said:

> So I'm interested to hear what you folks think. Do you hack or are you
> hack free? If you hack, what methods do you use, why do you use that
> method, and more importantly, why do you need it in the first place?

The most useful CSS 'hacks' I know of are the various filters developed by Tantek 
Celik. That way, my core style sheets stay hack-free and I can keep browser-specific 
hacks (like the box model hack) in separate style sheets. It's easier to maintain, and 
as time goes on and browser support gets better, the hacks become safely redundant.

My usual set up is a filter.css that's @import-ed in the page (excluding the geriatric 
browsers); filter.css then imports the main, hack-free style sheet and uses the mid 
pass filter to pass an ie5x.css file containing the box model hacks only to IE5/Win. 
Ingenious!

I'm considering the newest filter for IE5/Mac but, since the browser never shows up in 
my stats, I'm saved another level of hackery.

Owen

-----Original Message-----
From: Andy Budd [mailto:[EMAIL PROTECTED]
Sent: 30 July 2004 11:19
To: [EMAIL PROTECTED]
Subject: [WSG] Hacks


Whenever I trawl lists like css-discuss, I'm always surprised about the 
amount of hack related discussion there is.

People are always talking about the holy hack, the underscore hack or 
the star hack, about IE7, the high pass filter or the mid pass filter.

As somebody who is quite experienced with CSS you'd be forgiven for 
thinking that I'd know about all these hacks. However about the only 
hack I use (and have ever actually needed) is Taneks old school box 
model hack, and even this I use sparingly.

So I'm interested to hear what you folks think. Do you hack or are you 
hack free? If you hack, what methods do you use, why do you use that 
method, and more importantly, why do you need it in the first place?


Andy Budd

http://www.message.uk.com/

*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
CONFIDENTIALITY NOTICE
The information contained in this communication is confidential and may be legally 
privileged.  It is intended solely for the use of the individual or entity to whom it 
is addressed and others authorised to receive it.  If you are not the intended 
recipient you should not disclose, copy, distribute or take action on the contents of 
this information, except for the purpose of delivery to the addressee.  Any 
unauthorised use is strictly prohibited and may be unlawful.  If you have received 
this email in error please notify the sender by email immediately and delete the 
message from your computer.

ECOTEC Research & Consulting Limited
Registered in England No. 1650169 Registered Office:
Priestley House, 28-34 Albert Street, Birmingham, B4 7UD, UK
Tel: +44 (0)121 616 3600
http://www.ecotec.com
________________________________________________________________________
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************

Reply via email to