/    Sign up×
Community /Pin to ProfileBookmark

Forgive me if you find this a supremely stupid question, BUT…

Is CSS used for anything other than HTML documents?

to post a comment
CSS

6 Comments(s)

Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYNov 23.2005 — yes, it can also be used with xml

http://www.w3.org/TR/CSS21/intro.html#
Copy linkTweet thisAlerts:
@Mr_Initial_ManauthorNov 25.2005 — I though XML was supposed to be styled using XSL
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYNov 25.2005 — yes, but you can style it with CSS too

http://www.w3.org/TR/CSS21/intro.html#q2
Copy linkTweet thisAlerts:
@felgallNov 25.2005 — Whether you use XSL or CSS to style XML depends on what you are trying to do. Unless you need significant transformations to the setup (such as outputting HTML) you may find that CSS can handle everything needed to style the XML and CSS is easier to read (most of the time) than XSL that does the same styling.
Copy linkTweet thisAlerts:
@Mr_Initial_ManauthorNov 25.2005 — So it's not wrong (or at least a hack) to use CSS with XML?
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYNov 25.2005 — no, it is not
×

Success!

Help @Mr_Initial_Man spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...