How the color of text using CSS instead of font tags? [was: W3C Validator]

Hi, I was hoping that someone could help me with a little problem I have with how I control the color in some of my text, the validator tells me to use CSS but tell me how, any help would be nice. Thanks, Jeff

ErrorLine 59, column 102: are the item is obsolete. Use CSS instead.

… <sup>per m&sup2;</sup></s>   <font color="red">Now only &pound;15.49

https://www.qualitycarpets.NET/jAlbums-carpet-Saxony/Saxon-King-Saxony.php

There are countless tutorials online covering it, and there are several ways to do this via CSS

for example http://webdesign.about.com/od/css/a/aa051801a.htm

A simple option using inline CSS:

> Now only £15.49

or, if the Red is semantically significant (i.e. significant),.

CSS

em {color: #f00 ;} }

HTML

<>> Now only £15.49

Alternatively, you can achieve the same results using built-in or external CSS.

Tags: Dreamweaver

Similar Questions

  • How the color of the text that is created by CanvasDrawText() chang

    How the color of the text that is created by CanvasDrawText() chang?

    SetCtrlAttribute (Panel, PANEL_CANVAS, ATTR_PEN_COLOR, VAL_WHITE);

  • How can I change the color of text selection when you edit a pdf file?

    I was fussing around with preferences in Adobe Acrobat Pro XI (Mac version) and off the selected text color when the text selection. I don't know what preference I changed and can't seem to find a second time to restore the color of text selection. Usually, in Adobe Acrobat Pro XI, when the selection of text (note: NOT the text stressing the function), AAP XI has a color to the selected text.  This preference restaurantrare the saltsummer color of the text when you use the selection tool i-beam appearing to the left of the hand tool?

    Screen Shot 2016-02-15 at 1.54.46 PM.png

    Now, it simply displays the text selected, as shown in the figure below.

    Screen Shot 2016-02-15 at 1.54.33 PM.png

    Once again, please, note that I don't watch highlight tool 3rd from the left in the picture below.

    Screen Shot 2016-02-15 at 1.52.34 PM.png

    My guess is it is something under Edit - Preferences - accessibility, possibly the "high contrast colors" option, or 'always use the system selection color. "

  • Hello! I am a beginner Photoshop - how I 'color above' text on a jpeg image - then match the color background - then retype the new text above? If someone can give me really basic step by step intstructions - I would be happy!  With our thanks!

    Hello! I am a beginner Photoshop - how I 'color above' text on a jpeg image - then match the color background - then retype the new text above? If someone can give me really basic step by step intstructions - I would be happy!  With our thanks!

    Hi Donnas,.

    Content-aware fill is your best friend in this case.

    Just make a selection around the word and go to edit-> Fill-> Content-Aware.

    This usually done a very good job.

    Then you can either return to it several times (maybe in smaller sections) with Content-Aware fill to clean it, or you can play with the Spot Healing Brush tool (J) or the tool clone stamp (s).

    Please see the following link for more information 3 ways to delete the text to a picture in Photoshop - wikiHow

    http://www.WikiHow.com/add-text-in-Photoshop

    Let us know if it helps.

    Concerning

    Sarika

  • Change the color of text for the hyperlink in the Blog module

    How to change the color of text for the hyperlink in the Blog module?  I tried to add the code:

    text-decoration: none;

    in the HTML code, but maybe I only am not inserted correctly.

    Any ideas?

    Thank you!

    Hi Casey,.

    Make sure also that you have nothing referring to the color attribute in your CSS.  For example on my test site screen.css control it is here an example of using Firebug to find this.

    If still stuck and specify the site and help further.

    Kind regards

    -Sidney

  • Pages: How the color of a cell or a row can be changed in Pages?

    Pages: How the color of a cell or a row can be changed in Pages?

    If you use v 5 Pages, then select the cell, and then select fill from the cell Format Panel. Click the triangle to the left of the fill to select different types of filling, or click the color to the right of the word correction fill to select a color

  • Hello. The card I had used to pay for my CC was hacked, then cancelled by my Bank. How can I reset my new credit card number? Thank you.

    Hello. The card I had used to pay for my CC was hacked, then cancelled by my Bank. How can I reset my new credit card number? Thank you.

    A few changes/Verify account https://forums.adobe.com/thread/1465499 links that can help

    -Credit card https://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting-cr creative - cloud.html

    You may also contact Adobe Monday

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">
    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)
    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • How do I can change favorite text colors, not the colors of text toolbar.

    I know how to change the color of the text of the toolbar, but still want to change the color of the text in the bookmarks.

    You can experiment with the following code in the userChrome.css file.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #personal-bookmarks .bookmark-item > .toolbarbutton-text {color:#000!important; background-color:-moz-dialog!important}
    

    The file userChrome.css (UI) customization and userContent.css (Web sites) are located in the chrome folder in the Firefox profile folder.

  • seems to pale, as dark instead of the dark gray text using the text tool

    Why the text entered using the text tool seems pale? The color is not a clear black, as in Microsoft Word or any other processor.

    Amir Lev wrote:

    I played with the options that people have suggested and finally managed them to draw text in 'black' and 'recording' and see the difference when "Proof colors" is selected. It seems that it is simply the way that InDesign draw text on screen, which is certainly less sharp than Microsoft Word (if I'm wrong, I'll be happy to know).

    Thank you all for helping me. This forum is great.

    You should NEVER use the 'Registration' color for what what is content in InDesign. No text, no box. Black Black Dungeon. If you create print then work in CMYK and use the [Black] in square brackets because it will be default overprint.

    That InDesign is less strong, I never have heart or seen, but how to crisp your policy comes, depends on your settings personal screen in Acrobat. Most never will send you an INDD open to your client or printer, but always a PDF exported, how it looks in InDesign to format PDF is not important. And you should avoid the use of transparency above the text, because this could rasterize text (and also of the vectors) which will not look so crisp as if the text (and vectors) may be vectors for the output.

  • How to apply the "Slate Pro Light" using CSS font?

    Hello

    Could you tell me how to apply the font of "Slate Pro Light" using CSS? I have not found a solution for the 'Light' slate Pro variation selection.

    Thank you.

    I usually use the definition of CSS of police-family at the following address on my html and body elements:

    font-family: "Slate Pro", Slate, "Myriad Pro", "BBAlpha Sans", Helvetica;
    

    Potentially adding "slate Pro Light" should do the trick. Alternatively, you could take advantage of the make-weight property when you need a lighter framework:

    font-weight: normal|bold|bolder|lighter|number|initial|inherit;
    

    In this case, lighter, might do the trick?

  • How can I change the color one another using "format.color = c?"

    Hello

    I saw AS3 code which is used to change the color. How to edit to change a different color, red, green or yellow.

    format. Color = c;

    Help, please.

    Change the value of c to another color.

  • How the colors are used?

    It would be great to see how the various color schemes are used, for example, if I use someones colors for a Web site design, it would be great to inform the designer of the regime and also other kuler users. Perhaps we could have a forum just for where links can be displayed?

    It's a good idea! For now, use the comments to connect work and theme...
    Saami

  • How partly change the color of text in OutputMessage?

    We could change color OutputMessage via the parameter "textColor". But it changes the entire message. Is it possible to paint a portion of a message for example in red and the other green? In other words, is it possible to change the color of a common string?

    Kind regards

    Max

    Hi Max,.

    There is only a single property for the text color, and it applies to the message the entire production.  I'm sure that there is no way to split the message in different colors.

  • How can I change the color of text mask?

    I'm trying to animate text in Adobe After Effects and I created a text mask. Default white is the color of the font. I can't change the color of the text. Can someone point me in the right direction? Thank you!

    You change the color of the solid on the basis of the parameters of the layers window or apply any colorizing effect you like.

    Mylenium

  • CP1525n: background color of text using PCL escape sequences

    Hi all

    I use the escape sequences PCL for printing the color of my text files.  I am able to print the plan text with color first.

    But now I want a background color for the different texts.

    Right now my code looks like this.

    < esc > E            Reset of the printer
    < esc > * r3U Simple colour: Palette RGB 3-plane
    < esc > * v1S foreground color (index = 1)
    Hello world

    Can someone help me with the escape sequence for the text background color. I use the simple color mode.

    Kind regards

    Hitesh

    A colored or shaded background (rather), you need to generate and set the background before writing the text.

    The background can be a raster-graphics image, or a filling of the rectangular areaor object HPGL/2, etc.

    Transparency of the Sourcesettings, transparency model and logical Operation (ROP) will affect how Source (what you are trying to add), Destination (which is already on the page) and Texture (combination of model and the current color ) are merged.

Maybe you are looking for

  • iPod Touch 5 - turns off during startup

    iPod Touch 5th generation - iOS 9 (9.3.1 I think). A few days ago my iPod Touch battery die and stop, so I plugged it to the top as usual, he went to the lock screen, then turns off. Since then, when I try to reactivate it, the logo Apple shows about

  • How can I see the photos that are not in an album?

    How can I see the photos that aren't in an album in the App "Photos"? I noticed that in the Album 'Pictures' are pictures I thought I deleted already. I would like to see all the photos in an album, so I can finally delete them.

  • Satellite A100-812 - drivers for Windows 7 64 bit?

    I have a Satellite A100-812 with Vista 32 bit. I want to do a clean install of Windows 7 64-bit (I have now 4 GB of RAM). I looked, and there is no update available BIOS after 2007. I searched drivers 64-bit Windows 7 and cannot find Windows 7 32-bit

  • How can I fix my XP do not go to Setup boot sequence

    Somehow I messed up my boot sequence and now whenever I start, he goes to the selection of the F2 to enter setup or F1 to continue.  It seems works continue, but of course, I have an error in something. My windows is XP Anyone have a suggestion on ho

  • Cannot install Windows Vista Service Pack 2. The following error message appears: 0X800707d1

    Hello Three years ago, I bought a Dell Inspiron 1525 laptop. Never met a problem until I tried to install Windows Vista Service Pack 2. I already followed each step instructions Support of Microsoft issues Service Pack for any result or solution. In