Opened 17 years ago
Closed 17 years ago
#15 closed defect (fixed)
CSS does not set text color on Dojo front page.
Reported by: | alex | Owned by: | tom |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Website | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
An anonymous commenter on the Wiki said: NOTE: but the templates of the dojotoolkit homepage are also terrible and are probably not covered by this :P
The following is broken. It's missing #link {color: }, #visited {color:}, and even body {color: }.
body {
margin : 0; margin-top : 12px; padding : 0; text-align : center ; font-family : lucida grande, verdana, helvetica ; font-size : 87%; /* background-color : #ededde; */ background-color : white; background-repeat: repeat-x; background-image: url("img/bg-fade.png"); /* fades from #cccccc to white */
}
Maybe you did'nt notice, but the default colours of a web page are not defined, they can be white on black. So when you set the background, you should set the foreground as well. Otherwise, it may render hardly visible or completely invisible.
(In [973]) closes #15