[thelist] Site Check and background color issue

Mark Groen mark at markgroen.com
Thu Apr 25 11:58:01 CDT 2002


On 25 Apr 2002 at 12:29, Bill Bejeck wrote:

> Hi
>
> Could someone please check www.kingfarmrealty.com and see if the
> background color is green?  I  have tested it in IE5.5 NN4.5 and NN6.2
> and looks green to me.  My client insists that it is coming up white
> on his office computer. I used the javascript below to use the
> appropriate style sheet depending on the user's browser. (although the
> rest of the style sheet properties seem be working)  Other than that,
> I am not sure what the problem could be.

It comes up as this for the hex color on my monitor: #BBF4D5. You're using
the same background color in all the style sheets(?). Until someone figures
out what's wrong with the JavaScript you could just do a <body
bgcolor="#BBF4D5"> in the meantime as that's cross-browser.


> <script language=JavaScript>
>
> if(document.layers){
> var nn4ss='<link rel="stylesheet" type="text/css"
> href="mgreenStylenn4.css">';
> document.write(nn4ss);
> }
> else if(document.getElementById && document.all){
> var iess='<link rel="stylesheet" type="text/css"
> href="mgreenStyle.css">'; document.write(iess); }
>
> else if(document.getElementById && !document.all){
> var nn6ss='<link rel="stylesheet" type="text/css"
> href="mgreenStylenn6.css">';
> document.write(nn6ss);
> }
> </script>
>
> Thanks,
> Bill
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>





More information about the thelist mailing list