Forum Samples, Tips and Tricks

Using a attribute for doctitle content();

fbrzvnrnd
Hi,

is there a way to use a attribute (as the "title" or "id" attribute) for the "doctitle content();" in css?
I'd like to use the content of a h2's attribute for the page header instead the h2 content.

Thnak you.


f.
mikeday
If you are using the string-set property to create a named string, you can use attr(title) as the value.
fbrzvnrnd
I forgot to say 'thank you' to this suggestion: thank you.
mikeday
You're welcome! :D