1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can i color my text?¡

Discussion in 'Web Design' started by watsonovedades, Mar 27, 2014.

  1. watsonovedades

    watsonovedades Senior Member

    Joined:
    Mar 10, 2011
    Messages:
    922
    Likes Received:
    233
    Location:
    Mexico
    Hi BHW
    im building a website for a customer, its a price lists
    i want to add color red to the old price and green to the the promotional price
    i try to use <style> tag but my code gets broken

    This is my site so far
    http://grupowayseer.com/farmaciakino/

    you can see my failed attempt on the list

    any advice?

    i want the text on the same line

    THanks
     
  2. keadams26

    keadams26 Regular Member

    Joined:
    May 9, 2009
    Messages:
    462
    Likes Received:
    274
    Home Page:
    So you try <font color="red">This is some text!</font> and it gets broken?
     
  3. keadams26

    keadams26 Regular Member

    Joined:
    May 9, 2009
    Messages:
    462
    Likes Received:
    274
    Home Page:
    I see the <font color> tag worked. Pretty basic stuff... maybe you should bone up on your html .. check out http://www.w3schools.com/tags/ and get familiar with the tags...
     
  4. srb888

    srb888 Elite Member

    Joined:
    Jul 30, 2008
    Messages:
    3,260
    Likes Received:
    5,067
    Gender:
    Male
    Occupation:
    WebzSurfer
    Location:
    Sun, Mon, Tue, WTF, Sat!!! :)
    Also try this:
    <font style="color:white; padding:0 5px 0 5px; background-color:green; font-weight: bold;">$12.95</font>
     
    • Thanks Thanks x 1
  5. aqibarif74

    aqibarif74 Jr. VIP Jr. VIP Premium Member

    Joined:
    Jan 20, 2013
    Messages:
    1,846
    Likes Received:
    468
    Occupation:
    Founder of Aheadhost.com
    Home Page:
    Very Little Issue mate
    try The red color code #ff0000 ;)
     
  6. watsonovedades

    watsonovedades Senior Member

    Joined:
    Mar 10, 2011
    Messages:
    922
    Likes Received:
    233
    Location:
    Mexico
    thanks bruh it worked yes
    i forget the basic stuff

    Thanks
     
  7. Aztral1

    Aztral1 Newbie

    Joined:
    Feb 9, 2014
    Messages:
    21
    Likes Received:
    0
    uggg....you are developing a website?