Reply to Re: Webpage width problem

Your name:

Reply:


Posted by Marc Bradshaw on 07/01/05 20:02

Vladdy wrote:
>>> IE does funny things with floats. I would suggest using a more robust
>>> method for 3 column layout.
>>
>> Such as?
>>
> My personal favorite is the absolute positioning of the side columns
> with corresponding left and right margins for the content.

Okay, I'll have a play with that method.

>>> Also consider:
>>> - using font units for blocks that contain text i.e. the navigation
>>> block. Things start looking bad after one Ctrl+ in Gecko and break
>>> apart after two.
>>
>> Yeah, I noticed this. What do you mean by 'font units'? Are you
>> suggesting I use fixed font sizes (eg. pt or px) for the menu and such?
>
> Quite the opposite, use em or ex to specify the width of a block such as
> navigation.

Okay, I'm completely lost. You were referring to the menu on the left?
Are you saying I should use em or ex to specify the width of the left
column? What would this achieve?

>>> - specifying min and max width for the page body. When a page is too
>>> narrow, you header graphics look weird with the bloke's picture being
>>> overlapped by the blue square. When a page is too wide the reading
>>> the main content becomes a pain in the neck, literally.
>>
>> I wasn't aware you could do this. Presumably this is achieved with a
>> CSS property assigned to the <body>? If so, which one?
>
> Real browsers understand min-width and max-width CSS properties. You can
> achieve close enough behavior using proprietary expression() to
> calculate CSS value in sub-par HTML renderer aka IE

What's "expression()"?

> See if this helps:
> http://webdeveloper.klproductions.com/demos/layoutoptions.html

Thanks, I'll have a look at this over the weekend.

Thanks again for your help.

Marc

[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

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