By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,833 Members | 2,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,833 IT Pros & Developers. It's quick & easy.

css em include

P: n/a
tenho um index onde tenho o link pro arq css, como sao visualizados pelo
include todas as paginas aderem ao css linkado no index. so q eu preciso de
alguns links com outras cores no css, o q devo fazer?

Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Clarice Almeida Hughes wrote:
tenho um index onde tenho o link pro arq css, como sao visualizados pelo
include todas as paginas aderem ao css linkado no index. so q eu preciso de
alguns links com outras cores no css, o q devo fazer?


Ola Clarice,

Por favor escreve as tuas mensagens em ingles.
Wrong group, but you're portuguese just like me :)

Your css should have the attributes defined in different classes,
which you then use as needed.
index.css
---------
b { color: black; }
b.red { color: red; }
b.green { color: green; }
index.html
----------
<html>
<head>
<link rel="stylesheet" type="text/css" href="index.css" />
<title>css</title>
</head>
<body>
<b>black</b><br />
<b class="red">red</b><br />
<b class="green">green</b>
</body>
</html>

--
"Yes, I'm positive."
"Are you sure?"
"Help, somebody has stolen one of my electrons!"
Two atoms are talking:
Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.