www.webdeveloper.com
Results 1 to 2 of 2

Thread: Need help creating font color and size for script

  1. #1
    Join Date
    Sep 2004
    Location
    In my closet
    Posts
    173

    Question Need help creating font color and size for script

    i need help makeing this code to have the color red and have bold font oh and i mean the text that apperas on the browser link when i say making it red and bold.
    Code:
    <BODY>
    
    <CENTER>
    
    
    
    <a href="" onMouseover="alert('Why are you putting your cursor here?');
    alert('I did not say you could!');
    alert('I think you should e-mail me and say your sorry!');
    alert('Yeah you better do it before i get mad!!!');
    document.bgColor='black';
    document.fgColor='White';
    window.location.href='mailto:travis_man120@hotmail.com?subject=I am sorry!';">Downloads</a>
    </CENTER>
    
    <p><center>
    
    </center><p
    Last edited by age13kid; 09-24-2004 at 08:55 PM.

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    http://www.w3schools.com/css/css_font.asp

    <span style="color:red; font-weight: bold;">This text will be red and bold</span>

    You can also use an id or class for this if you want to keep the style out of the span tag.
    Last edited by PeOfEo; 09-24-2004 at 09:18 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles