chinman
asked on
Help with a background bitmap
I notice that Front Page takes my 256 x 256 bit map image and "tiles" it to fill the background. Is there a way to keep this from happening? In other words - I'd prefer it "stretch" the image if needed to fill the background.
Thanks,
Chin
Thanks,
Chin
I don't know of anyway to do this in frontpage. One way is to make sure your picture is actually larger than the page. This gets a bit messy however when you design for a low resolution and the users have high resolution.
I agree with Dassa although one thing to consider is that you can detect the user's screen resolution and show an appropriately sized image....
<Script Language="JavaScript">
<!--
if (screen.width > 800)
{
document.write ("<Body Background='Image1.gif'");
}
else
{
document.write ("<Body Background='Image2.gif'");
}
//-->
</Script>
Cheers
Dave
<Script Language="JavaScript">
<!--
if (screen.width > 800)
{
document.write ("<Body Background='Image1.gif'");
}
else
{
document.write ("<Body Background='Image2.gif'");
}
//-->
</Script>
Cheers
Dave
And dont forget to put the > on like I did
document.write ("<Body Background='Image1.gif'>") ;
document.write ("<Body Background='Image1.gif'>")
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.