Welcome to Gaia! ::

Reply CSS/Graphic/Profile help/resources (With tutorials, FAQs and general tips and hints)
Adding titles to you friends (CSS2 declaration)

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

Rising King of Shojo

PostPosted: Tue Apr 18, 2006 4:06 pm


.message p a[href$="user_ID"]:after {content: 'Your Message';color:#8997A1;}

Replace user_ID with your friends User ID and "Your Message" with what you want appended after there name.

This only works in CSS 2 compliant browsers. Sorry no IE until the next version.

OR

.message p a[href$="user_ID"]:after {content: 'Your Message';color:#8997A1;}

appends a title only when they hover over their name.

Working example in my profile.
PostPosted: Fri Apr 21, 2006 11:18 am


That looks really cool, haven't seen that idea before. May I ask what the p means in .message p a?

Thank-you for sharing! biggrin

You Rule Supreme


Rising King of Shojo

PostPosted: Mon Apr 24, 2006 1:01 pm


jobyjoby
That looks really cool, haven't seen that idea before. May I ask what the p means in .message p a?

Thank-you for sharing! biggrin


It is a paragraph tag.

And the a is an anchor (link).
Reply
CSS/Graphic/Profile help/resources (With tutorials, FAQs and general tips and hints)

 
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum