Help - Search - Members - Calendar
Full Version: Html link code with color code + open in new window
HTMLHelp Forums > Web Authoring > General Web Design
marcjohnson
I am trying to add a simple link that will open in a new window with a certain color.
I achieved that :

<a href="http://www.whatever.com" target="_blank">whatever</a>

It's working

But I would like to add the color red to it. (style="color:red")

I tried that : <a href="http://www.whatever.com" target="_blank" style="color:red">whatever </a>

but it doesn't work

I can't get my hand on the right code.

Can u possibly help me ?

thank you.

Marc
Christian J
If the new page is hosted by you, just style the HTML of the new page. But if the new page is hosted by someone else you can't style it.
pandy
QUOTE(marcjohnson @ Dec 15 2013, 05:17 PM) *

But I would like to add the color red to it. (style="color:red")


To what? The background of the page in the new window? Or the text? Or something else?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.