06
Jul 2010
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
Category: CSS Styling
You can follow any responses to this entry through the RSS 2.0 feed.
Responses are currently closed, but you can trackback from your own site.
11 Responses

I make heavy use of content property in print style sheets
You are the best Chris. Love CSS Tricks
Hey Chris, this convertor might make using special characters a bit easier
Just drop in the character and hit convert!
Awesome. I luv CSS Tricks
You are just the css master!!
Thanks a lot to you and to all this useful commentators too!!
Once again I learn about an obscure corner of CSS I’d forgotten about – thanks.
However, I think content belongs to HTML, and the styling to CSS – I can imagine overuse of this making things very confusing. Imagine using tables in your HTML and content in your CSS…
Can you explain how you got to that point? I have Safari 5 and I tried the latest WebKit nightly and I couldn’t figure out how to actually target the pseudo element.
Do note that, if I recall correctly, that method will make the tooltip dependant on javascript, which kind of the point here was make it a CSS-tooltip.
(asuming the css will refer to the non-”title” attribute)
@Chris Coyier:
As shown in this screenshot (http://i.imgur.com/jFbdF.png) Safari 5′s Web Inspector does fully show and interacts with the Pseudo selectors.
Lets go back and review something real quick.
CSS is getting @var variables
CSS has almost basic if/then logic with @media queries
(if device width is less than 600px then…)
CSS is getting math calculations
(calc())
CSS can add nodes to the dom
(.email-address:before)
CSS can access dom node attributes
(content: attr(title) “: “;)
Am I the only one seeing good reason to create a locked down, simplified subset of real javascript specifically designed to handle the job of styling content?
Buy:Propecia.Maxaman.Cialis Soft Tabs.Viagra Super Active+.Zithromax.Viagra Professional.Super Active ED Pack.Viagra.Viagra Super Force.Cialis Super Active+.Viagra Soft Tabs.Tramadol.Levitra.Cialis Professional.Soma.Cialis.VPXL….