?
Solved

background image repeats on scrolling page...

Posted on 2003-11-24
3
Medium Priority
?
278 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 1000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

741 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