Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-08 13:48:29

damini
New Member
Registered: 2007-10-01
Posts: 6

Change hyperlink Color

Hi There

I want to change my hyperlink text style just in one place of my page..At moment all hyperlink has color and is underlined and when i keep mouse over hyperlink, underline disappears…It is fine but just at one place I want to change its color and underline style. Please let me know how to do that..I tried to create new style as this

.mar { font-size: 1em; font-weight:bold; border-bottom:0px; color:red; }
.mar a { color: red; border-bottom:0px }

And in my article, it seems like this

<div class = “mar”>

<a href=“http://www.bodysmooth.co.uk/smartlipo-special-offer” target=”_blank”><marquee>Upro 15% Special Discount on Bookings in October 2007</marquee></a>
</div>

but it is not working…please let me know what is the problem

Thanks in advance

Offline

#2 2007-10-08 14:20:17

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Change hyperlink Color

assuming you want no underline, use text-decoration set to none.

ps. you might want to think about not using silly, fake html like marquee.

Offline

#3 2007-10-08 14:30:43

damini
New Member
Registered: 2007-10-01
Posts: 6

Re: Change hyperlink Color

Thanks for reply. But then in that case how can I create marquee. I am really very new to TextPattern and has very very little knowledge about it. So is there any other way to create marquee?

Offline

#4 2007-10-08 14:43:51

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Change hyperlink Color

styling has nothing to do with textpattern but with the way you code your css. Maybe this article might be of help to you.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB