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,730
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
pandy
post Oct 12 2022, 01:15 PM
Post #3


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

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



We need to see what you've got to know what's wrong.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 13 2022, 02:46 AM
Post #4


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

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



I understood that. But we need to see your HTML and CSS to be able to figure out why the color doesn't change.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 13 2022, 07:21 AM
Post #5


.
********

Group: WDG Moderators
Posts: 9,653
Joined: 10-August 06
Member No.: 7



It was a spammer:

CODE
[quote name='Charlesguerin' date='Oct 13 2022, 05:57 AM' post='144282']
[quote name='Charlesguerin' post='144278' date='Oct 12 2022, 06:54 AM']
Hello, [url=https://www.myccpay.one/][color=#FFFFFF]myccpay[/color][/url]
I am also doing a same things but still not changing the color what to do now.
Anyone Help Appreciated.
[/quote]


I am Not chaining the color.
[/quote]

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 13 2022, 10:16 AM
Post #6


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

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



IPB Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Jason Knight
post Dec 25 2022, 06:31 AM
Post #7


Advanced Member
****

Group: Members
Posts: 101
Joined: 25-December 22
Member No.: 28,719



Late to the party but I'm wondering what makes a sentence fragment a grammatical paragraph, why the whole thing is getting "more emphasis", and why there's so much presentation in the markup like you're still writing HTML 3.2

But then I object to this
class="has-text-align-center has-custom-letterspacing"

On general principle. At that point one might as well go back to using FONT/CENTER tags, tables for layout, and all those deprecated presentational 1990's attributes everyone seems to so dearly miss.
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: 19th April 2024 - 12:29 AM