The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Color w/ Inline CSS
Dr. Anthony Rodriguez
post Sep 8 2022, 07:17 AM
Post #1





Group: Members
Posts: 1
Joined: 8-September 22
Member No.: 28,548



Hi!

In the following code I would like to change the color of the word "FREE" to Red. How do I do it?

<p class="has-text-align-center has-custom-letterspacing" style="letter-spacing:2px;font-size:40px"><strong>Click <a href="http://AstrologyByDoctorT.com" target="_blank" rel="noreferrer noopener">HERE</a> for FREE Gift</strong></p>


Thank you!

Doctor T
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
pandy
post Sep 8 2022, 11:14 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,731
Joined: 9-August 06
Member No.: 6



You need something to hang the CSS on. Wrap "FREE" in a SPAN if nothing else fits.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 08:18 AM