[BNM] Background image on html element

Jack Moxley jack.moxley at futureplatforms.com
Tue Apr 3 10:39:21 BST 2007


Always best to use css , and your better off styling the body element 
rather than the html element.

Matt Keogh wrote:
> Hi all
>
> I've tried to add a background image to the HTML element a few times but it
> always seems buggy in IE5 and IE5.5. - This seems a bit of a shame as all
> the browsers I test on are fine with it. 
>
> I can change the colour but the background image shows randomly - sometimes
> after a refresh and sometimes after a window re-size. I don't think it has
> anything to do with "hasLayout" as the HTML element should already have it
> and I've tried giving it dimensions.
>
> Just wandering if anyone else has found a way to do this or if styling the
> HTML element is a "no no".
>
> Thanks in advance
> Matt
>
> _______________________________________________________
> This email has been scanned for viruses by MessageLabs.
>   




More information about the BNMlist mailing list. Powered by Wessex Networks