I am learning CSS tricks (I know the star hack) but where can I find out
about Vicki's 'conditional comments' and Kornel's *>{} ?? Where is this
stuff documented?
http://positioniseverything.net/explorer.html
is a great resource for IE bugs and hacks.
Conditional Comments: http://www.quirksmode.org/css/condcom.html
For CSS hacks I've mentioned I'll write documentation here.
Best IMO is:
* html any_selector_here {}
because it is perfectly valid CSS that doesn't match anything in HTML.
Only IE (both win and mac) thinks that there is some element around HTML.
You can often find in my code:
#somediv {float: right;}
* html #somediv {height: 1%;}
/* see "Holy Hack" on positioniseverything.net */
Second one is used to hide CSS2/3 code from CSS1 browsers.
If you use advanced styles that may break page if not interpreted fully,
hide them like this:
*> h3 {display: run-in; margin-right: 2ex;}
--
regards, Kornel Lesiński
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************