You are here: Re: CSS 3 column layout problem « HTML « IT news, forums, messages
Re: CSS 3 column layout problem

Posted by Deryck on 08/18/06 14:57

mbstevens wrote:

>
> That is because any good template author would reject the idea
> of all three columns being a fixed width.

Out of curiousity, why?

>
> If you insist on making a bad page, however, you can modify one of the
> templates you describe so that it has a fixed width center of 400px.
>
> #centerdiv {
> ...
> ...
> ...
> width:400px;
> ...
> ...
> }


Thanks. I'd already tried that before posting though and I couldn't get
it to work. The left and right columns are positioned absolutely with
respect to the left and right hand sides of the screen. Your solution
will only work if the screen size is known in advance and everyone uses
the same screen size. I could position all 3 columns absolutely but then
the result would be positioned to the left (or right) of the screen
rather than centered.

Cheers

Deryck

 

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

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