Discuss CSS Resources in the CSS Help forum on Dev Shed. CSS Resources Cascading Style Sheets (CSS) forum discussing all levels of CSS, including CSS1, CSS2 and CSS Positioning. CSS provides a robust way of applying standardized design concepts to your web pages.
Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.
__________________
Last edited by jabba_29 : February 7th, 2005 at 06:05 AM.
Posts: 3,009
Time spent in forums: 1 Month 4 Days 17 h 35 m 11 sec
Reputation Power: 1223
Quote:
Originally Posted by cyclomedia
not a resource as such but some inline filters, only tested on windows IE versions, however:
Instead of all those filter hacks that wouldn't validate it is better to use conditonal comments.
You can specify conditional comments to different versions of IE.
Posts: 127
Time spent in forums: 3 Days 11 h 41 m 43 sec
Reputation Power: 9
Quote:
Originally Posted by Akh
Instead of all those filter hacks that wouldn't validate it is better to use conditonal comments.
You can specify conditional comments to different versions of IE.
The problem with conditional comments is that they are not really pure CSS code, but markup comments only readable by Microsoft browsers, so they must be OUT of your style (.css) files and INTO your html files, loosing therefore the capability to be cached by the browser, one of the best advantages of CSS coding. Microsoft browsers will have to refresh styles, so your page display will be slower.
Through this point of view, hacks are better than propietary conditional statements.
Regards,
Carlos
PS: Sorry for deviating the thread. To apologize let me paste some good CSS links
Posts: 3,009
Time spent in forums: 1 Month 4 Days 17 h 35 m 11 sec
Reputation Power: 1223
Quote:
Originally Posted by clm2206
The problem with conditional comments is that they are not really pure CSS code, but markup comments only readable by Microsoft browsers, so they must be OUT of your style (.css) files and INTO your html files, loosing therefore the capability to be cached by the browser, one of the best advantages of CSS coding. Microsoft browsers will have to refresh styles, so your page display will be slower.
Through this point of view, hacks are better than propietary conditional statements.
The best is to avoid hacks but sometimes you have to use them.
Remember faulty css-code also takes time to render.
And you are more prone to odd behavior when adding more hacks
You still get the benefit of caching, and you get a seperate css file for IE. By removing the filterhacks from the cssfiles you make them more readable and easier to maintain.
Posts: 127
Time spent in forums: 3 Days 11 h 41 m 43 sec
Reputation Power: 9
Quote:
Originally Posted by Akh
The best is to avoid hacks but sometimes you have to use them.
Remember faulty css-code also takes time to render.
And you are more prone to odd behavior when adding more hacks
You still get the benefit of caching, and you get a seperate css file for IE. By removing the filterhacks from the cssfiles you make them more readable and easier to maintain.
"All matter is merely energy condensed to a slow vibration. We are all one consciousness experiencing itself - subjectively. There is no such thing as death, life is only a dream. We are the imaginations of ourselves."
- Bill Hicks
"Truth is hidden in the subtle nature of the heart of everything, although it is invisible. One cannot see it from inside and neither from the surface. One can only live and experience it."
- Heart Sutra