Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


HTML colour change



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
andy.blx



Joined: 20 Dec 2005
Posts: 3
Location: Essex

PostPosted: Tue Dec 20, 2005 4:18 pm    Post subject: HTML colour change Reply with quote

I am trying to copy an HTML code from a site but the text colour is Black and so is my website background how can I change the text colour to #3333cc to match my website? Question

the code can be found at: http://www.javascriptkit.com/script/script2/worldpop2.shtml
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
johneva
500+ Club


Joined: 29 Oct 2005
Posts: 561
Location: Stafford, England

PostPosted: Tue Dec 20, 2005 7:24 pm    Post subject: Re: HTML colour change Reply with quote

Hia

I think you should add it in this part here.

Current world population (estimated): <span id="worldpop" style="font-weight: bold"></span>.

so it would be.

Current world population (estimated): <span id="worldpop" style="font-weight: bold" "color: #3333cc" ></span>.

If that does not work one of the others will soon tell ya cos I am very new to computers myself.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
andy.blx



Joined: 20 Dec 2005
Posts: 3
Location: Essex

PostPosted: Tue Dec 20, 2005 7:33 pm    Post subject: Re: HTML colour change Reply with quote

Hi

thanks for the tip

I tried adding it but the text is still not visible so it must still be black it was worth a try though

Thank you again
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
webmaster
Site Admin


Joined: 17 Aug 2004
Posts: 3620
Location: Sweden

PostPosted: Tue Dec 20, 2005 8:39 pm    Post subject: Re: HTML colour change Reply with quote

johneva's solutions should just make the numbers in another color. This solution will make the whole row white:

Code:
<font color="white">Current world population (estimated): <span id="worldpop" style="font-weight: bold;"></span>.</font>
Back to top
View user's profile Send private message Visit poster's website
johneva
500+ Club


Joined: 29 Oct 2005
Posts: 561
Location: Stafford, England

PostPosted: Tue Dec 20, 2005 9:02 pm    Post subject: Re: HTML colour change Reply with quote

Doe yep silly me. Embarassed
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
andy.blx



Joined: 20 Dec 2005
Posts: 3
Location: Essex

PostPosted: Wed Dec 21, 2005 12:35 pm    Post subject: Re: HTML colour change Reply with quote

Brilliant thank you all very much
you can see the population counter in use now on my webby @ www.andybollocks.co.uk

Thank you again

Happy Christmas to you all
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap