[thelist] Site Review Please - www.photokyo.com

Hassan Schroeder hassan at webtuitive.com
Fri Jun 27 10:11:33 CDT 2003


Christian Anderson wrote:

> I know there are a few obvious problems such as the
> background color showing up as just white on anything but IE on the PC, but
> I'll get to that one... (or can anyone suggest how with CSS?)

Uh, you could fix that with CSS *or* valid markup :-)

<snippet>
<style>
body {
      background: URL(img/back.png) fixed no-repeat 100% 100%;
}
</STYLE>

<body bgcolor=CCCCCC text=000000>
</snippet>

That last line would work if it were
	<body bgcolor="#cccccc" text="#000000">
but that's so 20th Century --

Since you're already using CSS to set a background image, why not
just add the color to it (and add the text color)?

  background: #cccccc url("img/back.png") fixed no-repeat 100% 100%;
  color: #000000;

ref: <http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background>

HTH!
-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                          dream.  code.





More information about the thelist mailing list