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

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

Learn More

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

appear malfunction showing my site opera, chrome are ok

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

more options

appear malfunction showing my site firefox, unlike opera, chrome are ok


www.poliscarhire.com go here get quote... after go to book ... booking review appear outside content, other browsers no problem... well? how fix?

appear malfunction showing my site firefox, unlike opera, chrome are ok www.poliscarhire.com go here get quote... after go to book ... booking review appear outside content, other browsers no problem... well? how fix?

Змінено lse123

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

more options

hello lse123, first a disclaimer: i'm in no way a web developer, so i don't know if the following advice will work under all circumstances or is the optimal way to proceed...

however when playing around with firefox' inbuilt web-developer tools (page inspector&style editor) it appears that when you add style="float: left;" at the end of the first table element in #mainContent in processorquote.php & booking-review.php the content is aligned as expected:

example:

< table width="100%" cellspacing="1" cellpadding="1" border="0" style="float: left;">
more options

There appears to be a shift to the right if the minimum text size is increased and the menu line doesn't fit anymore on one line.
Such issues are usually caused by a missing style="clear:both" rule in combination with floating content.
Adding a clearing DIV at the end of that #header DIV that contains the menu bar or an extra clearing DIV between the #header DIV and the following #sidebar1 DIV should fix this.

more options

style="clear:right"

Thks used this ^ to table in main content... with "both" rather "right" shifts below...

can remind me what clear do, or give url?

more options

If there isn't a clear rule then Firefox starts to render content right after previous (floating) content ends if there is sufficient room and in cases where a menu or content wraps unexpectedly because a larger font is used then following content also may not fit anymore and also shifts to the right or down.
If you take a close look then you can usually spot this because that content doesn't start at the begin of line, but right after the end of the previous line.

See:

Змінено cor-el