We help IT Professionals succeed at work.
Get Started

possible to shift background DIV down on the page?

Brad Bansner
Brad Bansner asked
Last Modified: 2012-06-27
My page:


I have a 838px x 200px background DIV, bordered in black temporarily for clarity, class is "background". I want to use this to continue the shadowed background that is further down on the page. But it needs to start at least 676 pixels down, to avoid overlapping the buttons and other graphics that are in the <body> tag. Is it possible to modify my code to make this happen? Thank you!
div.background {
		border-width: 1px;
		border-style: solid;
		z-index: 1
		position: absolute;
		background: #ffffff url("http://www.ludwickfh.com/v2/art/bg_scrolling.jpg") repeat-y center top;
		top: 676px;
		width: 838px;
		height: 200px;
		margin: 0px auto;
		padding: 12px 0px 0px 0px;
		text-align: left;

Open in new window

Watch Question
Web Developer
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE