Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
text rollover (resolved)
im knew at css so i dont know all the terms and all so i’ll try my best to explain
i have <div id="readmore"> on my site and i would like that text to have a rollover color on the link….. i have tried adding things like:
#readmore a:hover{
color:red;
}
but it doesnt seem to work…… can i get some help with this? css is a little bugger :(
(Edit: updated so code displays properly. :) -Mary)
Last edited by blazin6543 (2006-06-27 21:54:53)
Offline
#2 2006-06-24 18:38:57
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: text rollover (resolved)
It’s because your markup is screwy. :) You’ve got:
<txp:permlink><div id="readmore">Read the rest...</div></txp:permlink>
When you want something like:
<p class="read-more"><txp:permlink>Read the rest…</txp:permlink></p>
p.read-more a:hover {
color: red;
}
:)
Offline
Re: text rollover (resolved)
ok i’ll try it out….. hey i try give me that ;) im knew at this css bs i just look at examples and try to figure it out :)
Offline
Pages: 1