You are here: Re: IE bug with floating <div>s « HTML « IT news, forums, messages
Re: IE bug with floating <div>s

Posted by Els on 08/29/05 16:11

Kim André Akerø wrote:

> rf wrote:
>
>> Kim André Akerø wrote:
>>
>>> For some reason, I can't get the middle column of this setup to work
>>> properly in IE (go figure).
[...]
>> I suspect you are trying to control too many things. Simply leave out
>> most of your css (line-height, the width of that center div) and let
>> the browser figure things out. It's quite capable of doing so.
>
> I've removed the width for the center div and the line-heights from
[...]
> And from what I could tell, the position of the center <div> is still
> way down on the page.

That is because not all widths have gone.
To prove this, add this line:
#contents {width: 903px;}
If the total page would be 903-897=6pixels wider, the middle column
fits.

So you're looking for 6 pixels too much width in the middle column.
You haven't looked at http://here.locusmeus.com/kim.html, have you?
It should give you some clues as to where the width is coming from.
Look at the page in both IE and another browser, to see how different
browsers respond to your code.

Oh, and Richard and Norman are right, you could easily do this page
without pixel fonts and pixel heights. In fact, it would be easier.

> I know, the text sizes suck, and I'm more or less forced to outfit a
> lot of the font-size in pixels, since it needs to fit within the images
> they're supposed to be layered on top of (read: used as background).

The background images that have text on them, are just coloured
blocks. You can repeat them when the font is enlarged.

> Personally, I would've gone for percentages, but that didn't appear to
> be the case of the guy who actually designed this thing.

Did he say 'make sure the font can't get enlarged' or are you assuming
that it shouldn't be cause otherwise the design wouldn't work?

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

 

Navigation:

[Reply to this 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

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