On 22.09.2011 22:01, "G.Sørtun" wrote:
Example-page: http://www.gunlaug.com/index.html

Note that I have wrapped the "before:" and "after:" styles in a ...

@media screen {}

...where I initially set all "before:" and "after:" to "display: none" to hide these styles from a few semi-old browsers that support "before:" and "after:" but don't position CSS content properly.

I then re-set these particular styles to "display: block" in a...

@media screen and (min-width: 0) {}

...since I have found through testing that browsers that support that particular mediaquery also do an acceptable job on positioning CSS content.

It is all in the CSS support and sequence, and mine is just one way to achieve the intended "hide and seek" for generated content across browsers and browser-versions.

regards
        Georg
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to