static background

  • Thread starter frontpagecustoms.com
  • Start date
F

frontpagecustoms.com

what is the code to make a background image static AND what is the
recommended size?
 
K

Kevin Spencer

What do you mean by "static?"

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
F

frontpagecustoms.com

What do you mean by "static?"

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:http://www.miradyne.net

By static I mean the image repeats horizontally as the browser expands
and a centered table will appear to float over the background.
MySpace does this a lot.
 
K

Kevin Spencer

Well, there's no recommended size. That's up to you. As for making a
background repeat horizontally, that is done using CSS. Here's an example:
<style type="text/css">
body
{
background-image: url('../images/bodyBg.jpg');
background-repeat: repeat-x;
}
</style>
--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
F

frontpagecustoms.com

Well, there's no recommended size. That's up to you. As for making a
background repeat horizontally, that is done using CSS. Here's an example:
<style type="text/css">
body
{
background-image: url('../images/bodyBg.jpg');
background-repeat: repeat-x;}

</style>
--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:http://www.miradyne.net

thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top