Rrawla Posted March 31, 2009 Report Share Posted March 31, 2009 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! Quote Link to comment Share on other sites More sharing options...
PicnicTutorials Posted March 31, 2009 Report Share Posted March 31, 2009 Hi body { color:red; } Quote Link to comment Share on other sites More sharing options...
Rrawla Posted March 31, 2009 Author Report Share Posted March 31, 2009 (edited) Can I use hex for that? (Guess I was looking for something more complicated and must have missed it) Thank you so much!! Edited March 31, 2009 by Rrawla Quote Link to comment Share on other sites More sharing options...
Susie Posted March 31, 2009 Report Share Posted March 31, 2009 (edited) 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 March 31, 2009 by Susie Quote Link to comment Share on other sites More sharing options...
PicnicTutorials Posted March 31, 2009 Report Share Posted March 31, 2009 Your welcome - hex - of course! Quote Link to comment Share on other sites More sharing options...
Guest arslan220 Posted April 3, 2009 Report Share Posted April 3, 2009 ya i think hex will be good for css. Quote Link to comment Share on other sites More sharing options...
LSW Posted April 3, 2009 Report Share Posted April 3, 2009 (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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.