Forum Moderators: phranque

Message Too Old, No Replies

Text color changed in browser

         

dpd1

10:48 pm on Aug 29, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I wasn't really sure which sub for this, because I'm not sure what's doing it. But I'm stumped.

I have portions of text across a site that is a dark red '660000'. I have some style sheets controlling font and size for: paragraph, H1,H2 and so forth... Nothing for text color though. I recently noticed that the color of the red text in browsers, is darker than it used to be, and darker than how it shows in DW. In DW it still shows the same way it always has. So it's like the style sheet is doing something maybe? But I don't know how, because there's no color tags in it. The text in browsers is still red, but just too dark.

Any suggestions? Thanks.

bill

2:05 am on Aug 30, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Sometimes to track these CSS settings down I'll systematically change the color of different elements to something that really sticks out, like a fluorescent green. That allows me to determine where my settings might have affected the color of a particular page element.

Also, the Web Developer's Toolbar can help you track down these CSS settings by looking a specific sections of the code.

keyplyr

5:11 am on Aug 30, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



DW has its own browser that may display hex colors differently than a web browser. Web browsers also get updated periodically, so there may be a variation in rendering web page mark-ups. Monitor age and settings also have an effect.

However, don't forget the dynamic of style sheets: the cascade. There may be an earlier element affecting a div or p tag container where the colored text is.

You could create a test page and put the css in the head, testing as you go.

dpd1

7:31 pm on Aug 30, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks guys... It's an older version of DW too, so yeah... that might be it. I'll have to test to weed it out.