The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> 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
pandy
post Sep 8 2022, 11:14 AM
Post #2


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

Group: WDG Moderators
Posts: 20,216
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

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

 



- Lo-Fi Version Time is now: 4th October 2022 - 08:46 AM