logo
Previous Thread
Next Thread
Print Thread
Joined: Jan 2011
Posts: 4
M
Newbie
OP Offline
Newbie
M
Joined: Jan 2011
Posts: 4
I want to display image background on my web page. And also want to background image fixed, so it does not move when using the scroll bar in the browser. [url=http://www.webling.com/]web apps[/url]

Last edited by Miltonbean; 01/19/11 09:11 AM.
Sponsored Post Advertisement
Joined: Mar 2011
Posts: 25
J
Newbie
Offline
Newbie
J
Joined: Mar 2011
Posts: 25
Maybe you should use the css to edit your website, have a try ,if you want to know details, you can contact me

Joined: May 2011
Posts: 179
Jellyfish
Offline
Jellyfish
Joined: May 2011
Posts: 179
<div style="background-image:url(/pix/smile.gif);
background-repeat:repeat;
background-attachment:fixed;
overflow:scroll;
width:200px;
height:100px;">
</div>

Joined: Jan 2012
Posts: 28
D
Newbie
Offline
Newbie
D
Joined: Jan 2012
Posts: 28
Agree with crystalbarba.

Joined: Apr 2021
Posts: 84
Likes: 3
R
Amoeba
Offline
Amoeba
R
Joined: Apr 2021
Posts: 84
Likes: 3
To set the background image of a webpage, use the CSS style. Under the CSS <style> tag, add the property background-image. The property sets a graphic such as jpg, png, gif, etc. HTML5 does not support the <body> background attribute, so CSS is used to set background image.

1 member likes this: Angie

Link Copied to Clipboard
Brand New Posts
Make It Sew Easier
by Cheryl - Sewing Editor - 03/27/24 04:34 PM
2024 - on this day in the past ...
by Mona - Astronomy - 03/27/24 01:31 PM
Planner Template Kit - Weekly Layout Template
by Digital Art and Animation - 03/26/24 07:39 PM
Planner Template Kit - Yearly Layout Template
by Digital Art and Animation - 03/26/24 07:37 PM
How to Use Digital Planner Template Kit
by Digital Art and Animation - 03/26/24 07:36 PM
Review - 20 Illustrator Color tips Helen Bradley
by Digital Art and Animation - 03/26/24 07:32 PM
March Equinox to June Solstice
by Mona - Astronomy - 03/26/24 12:27 PM
Hobotrader unleashes never seen opportunity with i
by Jamal molla - 03/26/24 11:55 AM
Psalm for the day
by Angie - 03/25/24 09:05 AM
Genealogy, Sort of
by Angie - 03/24/24 05:39 PM
Sponsor
Safety
We take forum safety very seriously here at BellaOnline. Please be sure to read through our Forum Guidelines. Let us know if you have any questions or comments!
Privacy
This forum uses cookies to ensure smooth navigation from page to page of a thread. If you choose to register and provide your email, that email is solely used to get your password to you and updates on any topics you choose to watch. Nothing else. Ask with any questions!


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2022 Minerva WebWorks LLC. All rights reserved.


Powered by UBB.threads™ PHP Forum Software 7.7.5