Solved

background image repeats on scrolling page...

Posted on 2003-11-24
3
277 Views
Last Modified: 2010-04-09
OK, I have this page...

http://www.new-hire.com/newhire/maybe.asp

How can I prevent the image in the <body> tag from repeating on the scrolling pages like the one above?

Thanks!
Dark Magneto
0
Comment
Question by:darkmagneto
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 29

Accepted Solution

by:
coreybryant earned 250 total points
ID: 9811693
It seems that you want the background image to repeat horizontally & not vertically?  You can also then cut down on the background image some.  Instead of using it in the BODY tag, put this in the <HEAD>:

<style type="text/css">
body
{
background-image: url("../img/subback.gif");
background-repeat: repeat-x
}
</style>

That will have the background image repeat horizontally & that it is.  http://www.w3schools.com/css/css_background.asp

-Corey
0
 
LVL 8

Expert Comment

by:xabi
ID: 9811710
add this in the head section:


<STYLE type="text/css">
       BODY {
         background: white url("../img/subback.gif");
         background-repeat: repeat-x;
       }
</STYLE>


and delete the background image from your body tag.

xabi
0
 
LVL 8

Expert Comment

by:xabi
ID: 9811715
sorry ... crossposting

xabi
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Find out what you should include to make the best professional email signature for your organization.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question