Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2003
    Location
    Thailand
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How can i give each 'document.write. a different 'fgColor' ?

    hi all,

    Can someone tell me of how, i can give each 'document.write' its own 'fg.Color'?

    Beforehands thanks

    dutchie

  • #2
    me'
    me' is offline
    Senior Coder
    Join Date
    Nov 2002
    Location
    Warwickshire, England
    Posts
    1,229
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What are you writing?

    Try surrounding the code you're writing with this:

    <div style="color:#xxx">rest of written code here</div>

    Where xxx is the colour you want.
    David House - Perfect is achieved, not when there is nothing left to add, but when there is nothing left to take away. (Antoine de St. Exupery).
    W3Schools | XHTML Validator | CSS Validator | Colours | Typography | HTML&CSS FAQ | Go get Mozilla Now | I blog!


  •  

    Posting Permissions

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