Wrox Programmer Forums
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 11th, 2007, 02:00 AM
Registered User
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Repeating Banner in web page

This page http://www.ychange.com/thinkteambio.html was coded by someone in Dreamweaver several years ago and I am trying to add some text to it and the blue banner from the top repeats after about 100 lines. You need to scroll down about 100 lines to see the problem. Please tell me what is wrong. I think it has something to do with line 47 in the HTML code.

Old March 11th, 2007, 03:44 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

Please don't cross-post. Posting your message once is more than enough to get attention.

I think your problem lies in the background image of your page. You have a thin, but very long background image that repeats horizontally (to create the background of the header). However, when the page is really long, the same image is repeated vertically as well.

You can change the <body> tag to something like this:

<body .... your stuff style="background-image: url
  (images/back.jpg); background-repeat: repeat-x;"
   rest of your stuff ">

This way, the image will only be repeated horizontally.

Additionally, you could move the entire declaration for the body tag to a separate CSS file and include that instead.


Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Old March 11th, 2007, 01:32 PM
Registered User
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks Imar. After lots of tries I just inserted the code without the parens and it worked.

Similar Threads
Thread Thread Starter Forum Replies Last Post
intresting banner? sirup_segar Dreamweaver (all versions) 1 May 30th, 2007 04:25 AM
Repeating image in middle of a page ychange Javascript How-To 1 March 11th, 2007 03:45 AM
How to diplay web page inside another web page win cyberjoe C# 2 March 1st, 2007 05:35 AM
How can I print the Form1 banner on my report page furjaw Visual Basic 2005 Basics 0 April 25th, 2006 11:59 PM
large recordsets - asp page repeating goingmad Classic ASP Databases 0 October 12th, 2005 04:20 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.