Jump to content

Text color?


Rrawla

Recommended Posts

I've looked everywhere for the answer and I can't find anything about defining just plain text color for every page.

 

I have an external css page to define the background, links etc. but I can't figure out how to change the text color from black except putting a class all through the page which kind of defeats the purpose of trying to only change it one time instead of 3 million.

 

Is there anyway to define a specific text color for the page besides using an html tag for text in the body or class?

 

Thanks for any help!

Link to comment
Share on other sites

Yes, to specify exact colors, you can use the hex number. It would look like this:

 

body {

color: #000000;

}

 

#000000 = black

 

Also, when you have 6 digits that are the same, you can use just the first 3 in the code. #000 is the same as #000000.

Edited by Susie
Link to comment
Share on other sites

(Guess I was looking for something more complicated and must have missed it)

 

ROFLMAO! Ohhhhh Join the club! That has been the bane of my existence as a programmer! I always expect things to be more complicated than they are so I miss the simple way of doing things. Check this and the old forum and you will find many cases where the person has expressed the same sentiment. I have jokes with Admin before that we need a forehead slapping smilie. I would be the first to use it. :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...