LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 652 users online 225517 members 1587 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
XxBoDyLiCi0uSbabyxX
Hay yAll hit me up at XxBoDyLiCi0uSbabyxX@yahoo.com i...
Days Active: 1
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
6 online / 24 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

XML CSS
Replies: 1Last Post May 20 4:42pm by anonomouse
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( Link01 )


Time Lord

Patron
Reply
i am using css to define my XML and was wondering it it is possible to have the tags become like a title
so

<example>Hai</example>

does not become jut

hai

it becomes say

Example:hai

-------
Doctor who - Wibbly Wobbly Timey Wimey!
used to show time travel's effects.


1:11 pm on May 17, 2009 | Joined: Feb. 2006 | Days Active: 1,074
Join to learn more about Link01 Wales | Straight Male | Posts: 38,387 | Points: 48,973
LiveWire Humor
anonomouse


Dairy Product Addict
Reply
The only way I can think of doing that is to have "Example" as a picture and set that as a background image, while offsetting the text to the right.

Or, on second thought, you can use a pseudo class and the content property...
Code:
example:before {
background-color = "blue";
content: "insert text here";
}


-------
I once heard the voice of God.
It said "Vrrrrmmmmm." Unless it was just a lawn mower.


4:42 pm on May 20, 2009 | Joined: April 2007 | Days Active: 91
Join to learn more about anonomouse California, United States | Straight Male | Posts: 626 | Points: 1,695
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic