Reply to Re: IE7 - annoying and unexplainable horzontal scroll

Your name:

Reply:


Posted by Jon Slaughter on 04/25/07 08:57

"Andrey Tarasevich" <andreytarasevich@hotmail.com> wrote in message
news:oKudna3W8fH0lbLbnZ2dnUVZ_oernZ2d@comcast.com...
> Hello
>
> The following HTML code makes IE7 to display the horizontal scroll bar and
> permit a rather large amount of horizontal scrolling
>
> ====
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
>
> <html>
> <body style="font-style: italic">
> <table style="width: 100%"><tr><td>
> <div style="float: left">Prev</div>
> <div style="position: relative; float: right">Next</div>
> </td></tr></table>
> </body>
> </html>
> ====
>
> see http://home.comcast.net/~andrey-t/test.html
>
> The interesting part is that this behavior critically depends on the font
> style being 'italic' (???) and the position of the right-floated 'div'
> being 'relative'. Changing to non-italic font style disables scrolling.
> Same with position. Can anyone please offer any suggestions as for why
> exactly the original version causes scrolling in IE?
>
> BTW, a version with 'div' instead of a 'table' produces essentially the
> same result
>

Its IE... did you expect more?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация