Reply to Re: getting div to line up

Your name:

Reply:


Posted by Troy Piggins on 03/02/06 05:08

* Jim Moe wrote:
> Troy Piggins wrote:
>> I am puzzled by this, although from what I have read I understand
>> different browsers render differently, but when I view my home page that
>> I am creating it looks fine in firefox (my browser of choice) but in IE
>> the left hand menu jumps to the middle of the screen.
>
> I do not know why IE does this.
> I can suggest a workaround, though. Remove the position:absolute from
> #sidebar, add float:left, and place the sidebar div right after the
> header. It does what you wish in both FF and IE6.

Yes, that'll do. That's what I had originally (not the float though)
but I wanted to put the sidebar at the end, because I figured I'd be
updating content more than the menu and so wanted it closer to the
beginning of the file.

Never mind, I was probably getting too clever for myself.

>> A sub-problem of the above is the search menu becomes a little wider and
>> out of line with the other menus when viewed in IE.
>>
> Add a "size" attribute to limit the width of the <input>.

Yes, that fixed it. Thanks Jim.

--
Troy Piggins
Ubuntu 5.10 pkgs : kernel 2.6.12-9-386, postfix 2.2.4, procmail 3.22
Compiled from src : slrn 0.9.8.1/rt (score_color patch), mutt 1.5.11i
vim 6.4

[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

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