Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

background image stops repeating leaving a blank area in my top page banner

  • 4 відповіді
  • 1 має цю проблему
  • 3 перегляди
  • Остання відповідь від tjhaas

more options

I have a top banner comprised using three images. One to the left, one to the right and a third image that should tile between the left and right images.

In IE it works fine, in Firefox it stops tiling and leaves a small white area when viewed on very wide screens (mine is 1920 x 1080). It tiles fine on smaller width screens.

The website is www.shophutchinsonmn.com

I have a top banner comprised using three images. One to the left, one to the right and a third image that should tile between the left and right images. In IE it works fine, in Firefox it stops tiling and leaves a small white area when viewed on very wide screens (mine is 1920 x 1080). It tiles fine on smaller width screens. The website is www.shophutchinsonmn.com

Обране рішення

The cell with the gap does not have a background image. To confirm, try this:

(1) Display the Web Console above the page by pressing Ctrl+Shift+k

(2) Add borders to the table cells by pasting this code and pressing Enter:


document.querySelector("table").setAttribute("border","1");

(3) Resize the window between 1400 and 1450 to open/close the gap

(Note: viewed on a 1600x1050 monitor)

Читати цю відповідь у контексті 👍 0

Усі відповіді (4)

more options

Any particular reason for the non-breaking space added to the middle image?

  <td width="64%"align="right" valign="top" background="http://www.shophutchinsonmn.com/template/default/images/banner-background.gif">&nbsp;</td>
more options

Not that I am aware of, that is just the way it was set up in the template.

more options

Вибране рішення

The cell with the gap does not have a background image. To confirm, try this:

(1) Display the Web Console above the page by pressing Ctrl+Shift+k

(2) Add borders to the table cells by pasting this code and pressing Enter:


document.querySelector("table").setAttribute("border","1");

(3) Resize the window between 1400 and 1450 to open/close the gap

(Note: viewed on a 1600x1050 monitor)

Змінено jscher2000 - Support Volunteer

more options

Well that does the trick, I thought the gap was in the center cell . . . turns out it is in the right cell. Added the background image and the problem appears to be solved.

Thanks