Hey, guys !

There's an answer, that i use on my site http://famille.lhuillier.free.fr
You can see that live at this adress.

It's just a bit of CSS :

<style type="text/css">
body {
        font-family:Verdana, Arial, Helvetica, sans-serif;
        font-size:12px;
        color:#666;
        background:center no-repeat fixed #333333;
        background-image:url(images/fond_014.png);
        cursor:default;
        margin:0px;
}
</style>

It centers the background image horizontally and vertically.

You'll have to adapt to your needs...

A question : Why to put JS code where a simple CSS declaration can do
it fine ?

Best regards.
Michel L'HUILLIER

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to