Page 1 of 1
HTML colour (not php i know but you guys help me alot)
Posted: Fri Aug 28, 2009 8:46 am
by synical21
I know this isnt php code but its pretty basic html which im sure you can correct my little problem.
In my script i have
Code: Select all
<font color="#090">Jobs Failed:</font>
Which in this case is the colour green, in Firefox and Dreamweaver its green, but in IE it decides to be black. Why wouldnt IE understand that basic html

Re: HTML colour (not php i know but you guys help me alot)
Posted: Fri Aug 28, 2009 8:48 am
by papa
Try using 6 char hex code:
09000
Re: HTML colour (not php i know but you guys help me alot)
Posted: Fri Aug 28, 2009 8:48 am
by synical21
Thanks for fast reply trying now
EDIT: I tried it with 6 but no luck, but when i did change to 6 dreamweaver didnt pick it up as green either maybe the code was wrong ill check
Re: HTML colour (not php i know but you guys help me alot)
Posted: Fri Aug 28, 2009 8:52 am
by synical21
Fixed thank you, i googled 6 hex colour table and got this green "#008000" works like a charm.

Re: HTML colour (not php i know but you guys help me alot)
Posted: Fri Aug 28, 2009 8:52 am
by papa
A green webcolor från PS:
009900
Edit: Nice

Re: HTML colour (not php i know but you guys help me alot)
Posted: Mon Aug 31, 2009 2:36 pm
by pickle
Moved to HTML forum.
Re: HTML colour (not php i know but you guys help me alot)
Posted: Mon Aug 31, 2009 3:28 pm
by Darhazer
Yeah, 090 is 009900
In HTML/CSS, when you are dropping values, the values are populated from corresponding elements
Padding: 0 means 0,0,0,0
Padding: 0,1 means 0,1,0,1
Padding 0,1,2 means 0,1,2,1 // not 100% sure about this, but I think left padding is populated from the right's padding value
By the way, #asdf is green (you can check at asdf.com)
It's actually translated to #a0df