Click to See Complete Forum and Search --> : Want to know syntax


homer.j.simpson
02-23-2007, 04:53 PM
.para A {
color: rgb(0,255,0)
}
.
.
<body>
<p class="para">................</p>
<A href=".....">.....</A>
</body>

I have tried above syntax which i've seen in msn's css files but doesn't work. I'm quite new to css. Any idea why?

sticks464
02-23-2007, 05:03 PM
If you put the anchor inside the paragraph it will work
.para a {
color: rgb(0,255,0)
}

<body>
<p class="para">................
<a href="................."</a></p>
</body>

homer.j.simpson
02-23-2007, 07:02 PM
Thanks Stick