SmartFAQ is developed by The SmartFactory (https://www.smartfactory.ca), a division of InBox Solutions (https://www.inboxsolutions.net)

How do I stop background images repeating or scrolling?
One way to set a page background image is to set the bgsrc attribute of the body element, like this: Body of page goes here The trouble is that if the page goes on long enough, or is wide enough, the image background.png will be repeated ("tiled") throughout the page. Also, if the user scrolls the page, your background image will also scroll. If you do not want either or both of these things to happen, you will need to use styles rather than the bgsrc attribute:
<body style="background-image: url(background.png); 
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;"
>
Body of page goes here
body>


The comments are owned by the author. We aren't responsible for their content.


Login

Who's Online

314 user(s) are online (1 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 314


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Did you know ?

On *NIX systems, you can use symbolic links (ln -s) to link your cache, templates_c, and uploads directories to folders that are outside of your web root.

Random question

How can i reset the administrator password?